/*
 * Integrated Course Fee Payment - Modern Corporate Design
 * P.S. Senior Secondary School
 */

:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Accent Colors */
    --accent-500: #8b5cf6;
    --accent-600: #7c3aed;

    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Status Colors */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;

    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;

    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;

    /* Design Tokens */
    --background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: #ffffff;
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --border-color: var(--gray-200);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 20px 0 30px;
}

.header .logo h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .header-title h2 {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.card-header {
    padding: 28px 28px 20px;
    background: linear-gradient(to bottom, var(--gray-50), white);
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 6px;
}

.card-body {
    padding: 28px;
}

.card-footer {
    padding: 16px 28px;
    background: var(--gray-50);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Student Info Badge */
.student-info {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.student-info p {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin: 0;
}

.student-info strong {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:hover {
    border-color: var(--gray-300);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-100);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

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

.btn-primary:disabled {
    background: var(--gray-300);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-link {
    background: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    box-shadow: none;
}

.btn-link::before {
    display: none;
}

.btn-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
    transform: none;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert::before {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-error {
    background: var(--error-50);
    color: var(--error-600);
    border: 1px solid var(--error-100);
}

.alert-error::before {
    content: '⚠';
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-100);
}

.alert-info::before {
    content: 'ℹ';
}

.alert-success {
    background: var(--success-50);
    color: var(--success-700);
    border: 1px solid var(--success-100);
}

.alert-success::before {
    content: '✓';
}

/* Fee Info Box */
.fee-info {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--gray-50) 100%);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--primary-100);
}

.fee-info h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--primary-700);
}

.fee-info ul {
    list-style: none;
    font-size: 0.875rem;
}

.fee-info li {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-color);
}

.fee-info li:last-child {
    border-bottom: none;
}

.fee-info li ul {
    margin-top: 8px;
    padding-left: 0;
}

.fee-info li ul li {
    padding: 4px 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.options-header {
    margin-bottom: 8px;
    text-align: center;
}

.options-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.options-header p {
    font-size: 0.875rem;
    color: var(--success-600);
    margin-top: 4px;
    font-weight: 500;
}

.payment-option {
    position: relative;
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
}

.payment-option:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.payment-option.recommended {
    border-color: var(--primary-500);
    background: linear-gradient(to bottom, var(--primary-50), white);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.payment-option.recommended:hover {
    box-shadow: 0 0 0 4px var(--primary-100), var(--shadow-lg);
}

.payment-option .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.option-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.option-header .amount {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.option-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.installment-note {
    margin-bottom: 16px;
    padding: 8px 12px;
    background: var(--warning-50);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--warning-500);
}

.installment-note small {
    color: var(--warning-600);
    font-size: 0.8125rem;
    font-weight: 500;
}

.btn-pay {
    width: 100%;
}

/* Payment Complete */
.payment-complete {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    }
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.payment-complete h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-600);
    margin-bottom: 8px;
}

.payment-complete > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.payment-history {
    margin-top: 24px;
    text-align: left;
}

.payment-history h5 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-secondary);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
}

.table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    border-top: 1px solid var(--border-color);
    background: white;
}

.table tbody tr:hover td {
    background: var(--gray-50);
}

.table code {
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    color: var(--text-secondary);
}

.total-row td {
    background: var(--gray-100) !important;
    font-weight: 700;
}

/* Partial Payment Notice */
.partial-payment-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, var(--warning-50) 0%, var(--warning-100) 100%);
    border: 1px solid var(--warning-500);
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
}

.partial-payment-notice p {
    font-size: 0.9rem;
    color: var(--warning-600);
    font-weight: 500;
    margin: 0;
}

/* Receipt Styles */
.receipt-student-info {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.receipt-info-table {
    width: 100%;
    font-size: 0.9rem;
}

.receipt-info-table td {
    padding: 8px 0;
}

.receipt-info-table td:first-child {
    width: 140px;
    color: var(--text-secondary);
    font-weight: 500;
}

.print-actions {
    margin-bottom: 24px;
}

.payment-history-mini {
    padding: 16px;
    background: var(--success-50);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--success-500);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.pending-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--warning-100);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--warning-600);
}

/* Success Page */
.success-card .success-header {
    background: linear-gradient(135deg, var(--success-50) 0%, white 100%);
    text-align: center;
    padding: 40px 28px;
}

.success-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
    color: white;
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.receipt {
    margin-bottom: 24px;
}

.receipt h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.receipt-table {
    width: 100%;
    font-size: 0.9rem;
}

.receipt-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.receipt-table td:first-child {
    color: var(--text-secondary);
    width: 40%;
}

.receipt-note {
    padding: 18px;
    background: var(--primary-50);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    border-left: 4px solid var(--primary-500);
}

.receipt-note p {
    margin-bottom: 4px;
    color: var(--primary-700);
}

.pending-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: var(--warning-50);
    border: 1px solid var(--warning-500);
    border-radius: var(--border-radius-sm);
    margin: 20px 0;
}

.pending-notice p {
    font-size: 0.9rem;
    color: var(--warning-600);
    font-weight: 500;
}

/* Failure Page */
.failure-card .failure-header {
    background: linear-gradient(135deg, var(--error-50) 0%, white 100%);
    text-align: center;
    padding: 40px 28px;
}

.failure-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--error-500) 0%, var(--error-600) 100%);
    color: white;
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.error-message {
    padding: 18px;
    background: var(--error-50);
    border: 1px solid var(--error-100);
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    text-align: center;
}

.error-message p {
    color: var(--error-600);
    font-weight: 500;
}

.help-section {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
}

.help-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.help-section ul {
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.help-section li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.help-section li:last-child {
    border-bottom: none;
}

.help-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-buttons .btn {
    flex: 1;
    min-width: 140px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    margin-top: auto;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.footer p {
    margin-bottom: 4px;
}

.footer .copyright {
    margin-top: 8px;
    color: rgba(255,255,255,0.5);
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Print-specific classes */
.print-only {
    display: none;
}

.no-print {
    display: block;
}

.printable-receipt {
    margin-top: 20px;
}

/* Print Styles */
@media print {
    /* Reset everything */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body {
        background: white !important;
        padding: 0;
        margin: 0;
    }

    body::before {
        display: none;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    /* Hide non-print elements */
    .header,
    .footer,
    .no-print,
    .btn,
    .card-footer,
    .success-icon,
    .payment-complete > h4,
    .payment-complete > p {
        display: none !important;
    }

    /* Show print-only elements */
    .print-only {
        display: block !important;
    }

    .card {
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .card-header {
        display: none;
    }

    .card-body {
        padding: 0;
    }

    /* Receipt Header */
    .receipt-header {
        text-align: center;
        padding: 30px 0;
        border-bottom: 3px solid #000;
        margin-bottom: 30px;
    }

    .receipt-header h2 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: #000;
    }

    .receipt-header h3 {
        font-size: 1.125rem;
        font-weight: 400;
        color: #333;
    }

    /* Receipt Student Info */
    .receipt-student-info {
        margin-bottom: 30px;
        padding: 20px;
        border: 2px solid #000;
        background: #f9f9f9 !important;
    }

    .receipt-info-table td {
        padding: 10px 0;
        font-size: 1rem;
    }

    /* Payment Table */
    .payment-history {
        margin-bottom: 30px;
    }

    .payment-history h5 {
        font-size: 1.125rem;
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 2px solid #000;
        color: #000;
    }

    .table {
        border: 2px solid #000;
        border-radius: 0;
    }

    .table th,
    .table td {
        border: 1px solid #000;
        padding: 12px;
        font-size: 0.95rem;
    }

    .table th {
        background: #e0e0e0 !important;
        font-weight: 700;
    }

    .table code {
        background: none;
        font-family: monospace;
        font-size: 0.875rem;
    }

    .total-row td {
        background: #e0e0e0 !important;
        font-weight: 700;
        font-size: 1rem;
    }

    /* Receipt Footer */
    .receipt-footer {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 2px dashed #999;
        text-align: center;
        font-size: 0.875rem;
        color: #666;
    }

    .receipt-footer p {
        margin-bottom: 6px;
    }

    .printable-receipt {
        display: block !important;
    }

    .pending-note {
        background: #fff3cd !important;
        border: 1px solid #ffc107;
        padding: 15px;
        margin-top: 20px;
    }

    /* Page settings */
    @page {
        margin: 20mm;
        size: A4;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 16px 12px;
    }

    .header {
        padding: 16px 0 24px;
    }

    .card {
        border-radius: var(--border-radius);
    }

    .card-header,
    .card-body {
        padding: 20px;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .student-info {
        flex-direction: column;
        gap: 12px;
    }

    .option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .option-header .amount {
        font-size: 1.25rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .table {
        font-size: 0.8125rem;
    }

    .table th,
    .table td {
        padding: 10px 8px;
    }
}

/* Animation for cards */
.card {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Hover effects for interactive elements */
.payment-option {
    cursor: pointer;
}

.payment-option:active {
    transform: scale(0.98);
}
