  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            min-height: 100vh;
            color: #2d3748;
            line-height: 1.6;
        }

        .enrollment-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            /* color: white; */
        }

        .page-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .page-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .form-row.three-columns {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            /* space between columns */
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-row.two-columns {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            /* spacing between columns */
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .enrollment-container {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 2rem;
            align-items: start;
        }

        @media (max-width: 1024px) {
            .enrollment-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

        .form-card,
        .summary-card {
            background: white;
            border-radius: 16px;
            transform: translateY(-2px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .tju h3,
        span s,
        span {
            color: #000;
        }

        .submit-text {
            font-weight: 600;
            color: #fff;
        }

        .card-header h4,
        .card-header h5 {
            color: #fff;
        }

        .form-card:hover,
        .summary-card:hover {
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            background: linear-gradient(135deg, #ff3239ff 0%, #030858ff 100%);
            color: white;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .card-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        }

        .card-header h4,
        .card-header h5 {
            position: relative;
            z-index: 1;
            margin: 0;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-body {
            padding: 2rem;
        }

        .form-section {
            margin-bottom: 1rem;
        }

        .form-section-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #ffceb0;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .form-control,
        .form-select {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: white;
        }

        .form-control:focus,
        .form-select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-1px);
        }

        .radio-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .radio-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .radio-item:hover {
            border-color: #667eea;
            background: #f8faff;
        }

        .radio-item input[type="radio"] {
            accent-color: #667eea;
        }

        .radio-item.active {
            border-color: #667eea;
            background: #f8faff;
            color: #667eea;
        }

        .payment-section {
            background: #f0fdf4;
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid #dcfce7;
        }

        .notice-card {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 1px solid #f59e0b;
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }

        .notice-card h6 {
            color: #92400e;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .notice-card ul {
            color: #78350f;
            padding-left: 1rem;
        }

        .notice-card li {
            margin-bottom: 0.5rem;
        }

        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #ff3239ff 0%, #030858ff 100%);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        }

        .price-summary {
            position: sticky;
            top: 2rem;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
        }

        .price-row.total {
            border-top: 2px solid #e2e8f0;
            padding-top: 1rem;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .installment-plan {
            background: #f0f9ff;
            border: 1px solid #0ea5e9;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1rem;
        }

        .installment-plan h6 {
            color: #0369a1;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .installment-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e0f2fe;
        }

        .installment-item:last-child {
            border-bottom: none;
        }

        .pay-now-highlight {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            margin-top: 1rem;
            font-weight: 600;
        }

        .payment-details {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        .qr-placeholder {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            border: 2px solid #cbd5e1;
            border-radius: 12px;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #64748b;
        }

        .bank-details {
            background: white;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .amount-highlight {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            font-weight: 600;
            margin-top: 1rem;
        }

        .hidden {
            display: none !important;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .course-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #667eea;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .progress-indicator {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        .upload-area {
            border: 1px dashed #667eea;
            border-radius: 10px;
            padding: 20px;
            background: #f8faff;
            text-align: center;
            max-width: 100%;
            margin: 10px auto;
            cursor: pointer;
            transition: background 0.3s, border-color 0.3s;
            position: relative;
        }

        /* Hover & drag effect */
        .upload-area:hover,
        .upload-area.dragover {
            background: #eef2ff;
            border-color: #4c51bf;
        }

        .upload-area i {
            font-size: 30px;
            color: #667eea;
            margin-bottom: 10px;
            display: block;
        }

        .upload-area h6 {
            font-size: 16px;
            font-weight: 600;
            margin: 0;
            color: #333;
            display: inline-block;
        }

        .upload-area p {
            display: inline-block;
            margin-left: 5px;
            font-size: 14px;
            color: #666;
        }

        .upload-area button {
            background: #667eea;
            color: white;
            border: none;
            padding: 0.5rem 1.2rem;
            border-radius: 6px;
            margin-left: 10px;
            cursor: pointer;
            font-size: 14px;
        }

        /* Hide default input */
        .upload-area input[type="file"] {
            display: none;
        }

        /* ✅ Responsive for mobile */
        @media (max-width: 600px) {
            .upload-area {
                padding: 15px;
            }

            .upload-area h6,
            .upload-area p {
                display: block;
                margin: 5px 0;
            }

            .upload-area button {
                margin-top: 10px;
                width: 100%;
            }
        }

        /* Installment Schedule Box */
        .installment-schedule-info {
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 20px;
            background: #f9fafc;
            margin: 15px 0;
        }

        .installment-schedule-info h6 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
        }

        .installment-schedule-info h6 i {
            color: #667eea;
            margin-right: 8px;
            font-size: 18px;
        }

        /* Payment details aligned properly */
        .next-payment-info p {
            display: flex;
            justify-content: space-between;
            /* ✅ Opposite alignment */
            align-items: center;
            margin: 8px 0;
            font-size: 14px;
            color: #444;
        }

        .next-payment-info strong {
            color: #333;
            font-weight: 600;
        }

        /* ✅ Responsive */
        @media (max-width: 600px) {
            .next-payment-info p {
                flex-direction: column;
                align-items: flex-start;
            }
        }


        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            flex: 1;
        }

        .progress-step::after {
            content: '';
            position: absolute;
            top: 15px;
            left: 50%;
            right: -50%;
            height: 2px;
            background: #e2e8f0;
            z-index: -1;
        }

        .progress-step:last-child::after {
            display: none;
        }

        .progress-step.active::after {
            background: #667eea;
        }

        .step-number {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
        }

        .progress-step.active .step-number {
            background: #667eea;
            color: white;
        }

        .step-label {
            font-size: 0.8rem;
            text-align: center;
            color: #64748b;
        }

        .progress-step.active .step-label {
            color: #667eea;
            font-weight: 500;
        }

        /* --- Modal Styles --- */
        .modal-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-container:not(.hidden) {
            opacity: 1;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
        }

        .modal-content {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 500px;
            z-index: 1001;
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        .modal-container:not(.hidden) .modal-content {
            transform: scale(1);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .modal-header h4 {
            margin: 0;
            color: #374151;
        }

        .modal-close-btn {
            background: none;
            border: none;
            font-size: 2rem;
            color: #9ca3af;
            cursor: pointer;
            line-height: 1;
        }

        .modal-close-btn:hover {
            color: #374151;
        }

        .modal-body {
            padding: 1.5rem;
        }

        .modal-footer {
            padding: 1rem 1.5rem;
            background-color: #f8fafc;
            border-top: 1px solid #e2e8f0;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        .amount-to-pay-modal {
            background-color: #eef2ff;
            color: #4338ca;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            font-size: 1.1rem;
            font-weight: bold;
            border: 1px solid #c7d2fe;
        }