/* Modern Payment Gateway Styles */
:root {
    --primary-color: #2c3e50;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-bg: #ecf0f1;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.payment-header img {
    max-width: 200px;
    margin-bottom: 15px;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.payment-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-header p {
    font-size: 14px;
    opacity: 0.9;
}

.payment-body {
    padding: 40px;
}

.amount-display {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.amount-label {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.amount-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 24px;
    font-weight: 400;
}

.info-group {
    margin-bottom: 20px;
}

.info-label {
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.booking-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.booking-details h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #7f8c8d;
}

.detail-value {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-payment {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-payment:active {
    transform: translateY(0);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.status-message {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.status-success {
    background: #d4edda;
    border: 2px solid var(--success-color);
    color: #155724;
}

.status-error {
    background: #f8d7da;
    border: 2px solid var(--danger-color);
    color: #721c24;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.status-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-description {
    font-size: 16px;
    margin-bottom: 5px;
}

.transaction-id {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.footer p {
    font-size: 12px;
    color: #7f8c8d;
    margin: 5px 0;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    align-items: center;
}

.security-badges img {
    max-height: 40px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

@media (max-width: 768px) {
    .payment-body {
        padding: 20px;
    }

    .amount-value {
        font-size: 32px;
    }

    .payment-header h1 {
        font-size: 20px;
    }
}

/* Animation for buttons */
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.shake-on-hover:hover {
    animation: shake 0.5s ease-in-out;
}
