/**
 * Bricks Payment Status - Frontend Styles
 */

/* Main container */
.bricks-payment-status-wrapper {
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.bricks-payment-status-icon {
    margin-bottom: 15px;
}

.bricks-payment-status-icon i {
    font-size: 48px;
    display: inline-block;
}

/* Icon colors by status */
.status-initialization .bricks-payment-status-icon i {
    color: #3498db; /* Blue */
}

.status-pending .bricks-payment-status-icon i {
    color: #f39c12; /* Yellow/Orange */
}

.status-success .bricks-payment-status-icon i {
    color: #2ecc71; /* Green */
}

.status-failure .bricks-payment-status-icon i {
    color: #e74c3c; /* Red */
}

/* Spinning animation */
.bricks-payment-status-icon.spin-icon i {
    animation: bricks-payment-status-spin 2s infinite linear;
}

@keyframes bricks-payment-status-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Heading styling */
.bricks-payment-status-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333333;
}

/* Message styling */
.bricks-payment-status-message {
    font-size: 16px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Status specific styling */
.status-initialization {
    border-left: 4px solid #3498db;
}

.status-pending {
    border-left: 4px solid #f39c12;
}

.status-success {
    border-left: 4px solid #2ecc71;
}

.status-failure {
    border-left: 4px solid #e74c3c;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .bricks-payment-status-icon i {
        font-size: 36px;
    }
    
    .bricks-payment-status-heading {
        font-size: 20px;
    }
    
    .bricks-payment-status-message {
        font-size: 14px;
    }
}
