/* ========================================
   ENROLLMENT PAGE - MINIMALISTIC DESIGN
======================================== */

/* CSS Variables for Enrollment Page */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --dark: #1e293b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

.enrollment-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #1e40af 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.enrollment-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.enrollment-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(30px);
    }
}

.enrollment-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 3rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   PROGRESS INDICATOR
======================================== */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.progress-step.completed .step-number {
    background: var(--secondary);
    color: var(--white);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-300);
    margin: 0 1rem;
    max-width: 120px;
    align-self: flex-start;
    margin-top: 24px;
}

/* ========================================
   FORM STEPS
======================================== */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

/* Form Row Spacing */
.form-step .row.g-4 {
    row-gap: 1.5rem !important;
}

.step-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
    line-height: 1.3;
}

.step-description {
    color: var(--gray-700);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ========================================
   FORM ELEMENTS
======================================== */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    height: 58px;
    transition: all 0.2s ease;
    background: white;
}

/* Default state - centered text */
.form-floating > .form-control {
    padding: 1rem;
    line-height: 1.5;
}

/* Focused or filled state - adjust padding for label */
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Select always has label shown above */
.form-floating > .form-select {
    padding: 1.625rem 1rem 0.625rem 1rem;
}

/* Date inputs always have label shown above */
.form-floating > input[type="date"].form-control {
    padding: 1.625rem 1rem 0.625rem 1rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    pointer-events: none;
    border: 2px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--primary);
}

.form-floating > .form-select ~ label,
.form-floating > input[type="date"].form-control ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-select:focus ~ label,
.form-floating > input[type="date"].form-control:focus ~ label {
    color: var(--primary);
}

.form-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
}

/* Password Strength */
.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-fill.weak {
    width: 33%;
    background: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background: #f59e0b;
}

.strength-fill.strong {
    width: 100%;
    background: var(--secondary);
}

.strength-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ========================================
   ONSITE FIELDS
======================================== */
.onsite-container {
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.onsite-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/* Schedule Filters */
.schedule-filters {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Schedule List */
.schedule-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.schedule-list::-webkit-scrollbar {
    width: 6px;
}

.schedule-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.schedule-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    opacity: 0.3;
    border-radius: 10px;
}

.schedule-list::-webkit-scrollbar-thumb:hover {
    opacity: 0.5;
}

/* Schedule Card */
.schedule-card {
    background: white;
    border: 3px solid rgba(37, 99, 235, 0.25);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 
                0 1px 4px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.schedule-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22),
                0 3px 10px rgba(37, 99, 235, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.schedule-card.selected {
    border-color: var(--primary);
    border-width: 4px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3),
                0 4px 12px rgba(37, 99, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.schedule-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.schedule-location {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.3;
}

.schedule-location i {
    color: var(--primary);
    font-size: 1.1rem;
}

.schedule-seats {
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.schedule-seats.limited {
    background: var(--warning);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.schedule-seats.full {
    background: var(--danger);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Schedule Info Row */
.schedule-info-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.schedule-info-item i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.info-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.info-value {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

/* Schedule Divider */
.schedule-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    margin: 1rem 0;
}

.schedule-details {
    margin-bottom: 0.75rem;
}

.schedule-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.5rem 0;
}

.schedule-detail i {
    color: var(--primary);
    width: 20px;
    font-size: 1rem;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    border: 2px solid rgba(16, 185, 129, 0.15);
    margin-top: 1rem;
}

.schedule-time-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

.schedule-time-item i {
    color: var(--secondary);
    font-size: 1rem;
}

.schedule-time-item strong {
    color: var(--gray-600);
    font-weight: 500;
    margin-right: 0.25rem;
}

/* Selected Schedule Display */
.selected-schedule {
    animation: slideDown 0.3s ease;
}

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

.selected-schedule .alert {
    margin: 0;
    font-size: 0.95rem;
}

/* No Schedules Message */
.no-schedules {
    animation: fadeIn 0.5s ease;
}

.no-schedules i {
    opacity: 0.3;
}

/* ========================================
   ACKNOWLEDGEMENT SECTION
======================================== */
.acknowledgement-section {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.acknowledgement-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.acknowledgement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 10px;
    transition: background 0.2s ease;
    border: 2px solid transparent;
}

.acknowledgement-item:hover {
    background: rgba(37, 99, 235, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
}

.acknowledgement-item:last-child {
    margin-bottom: 0;
}

.acknowledgement-item .form-check-input {
    margin-top: 0.25rem;
    width: 1.4rem;
    height: 1.4rem;
    border: 2.5px solid var(--gray-400);
    flex-shrink: 0;
    cursor: pointer;
}

.acknowledgement-item .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.acknowledgement-item .form-check-label {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
    cursor: pointer;
}

.acknowledgement-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.acknowledgement-item a:hover {
    text-decoration: underline;
}

/* ========================================
   PAYMENT SUMMARY
======================================== */
.payment-summary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.payment-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    font-size: 1rem;
    color: var(--dark);
}

.summary-divider {
    height: 2px;
    background: rgba(37, 99, 235, 0.15);
    margin: 0.75rem 0;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}

/* ========================================
   PAYMENT METHOD
======================================== */
.payment-method {
    margin-bottom: 2rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.payment-option {
    position: relative;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    background: var(--white);
    transition: all 0.2s ease;
}

.payment-option input[type="radio"]:checked + .option-content {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.option-content i {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.payment-option input[type="radio"]:checked + .option-content i {
    color: var(--primary);
}

.option-content span {
    font-weight: 500;
    color: var(--gray-700);
}

/* ========================================
   FORM NAVIGATION
======================================== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
    margin-top: 3rem;
}

/* Exclude navbar buttons from form button styling */
.enrollment-container .btn,
.form-navigation .btn,
.schedule-card .btn,
.payment-summary .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
}

.enrollment-container .btn:focus,
.form-navigation .btn:focus,
.schedule-card .btn:focus,
.payment-summary .btn:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.enrollment-container .btn-primary,
.form-navigation .btn-primary,
.schedule-card .btn-primary,
.payment-summary .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.enrollment-container .btn-primary:hover,
.form-navigation .btn-primary:hover,
.schedule-card .btn-primary:hover,
.payment-summary .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.enrollment-container .btn-secondary,
.form-navigation .btn-secondary,
.schedule-card .btn-secondary,
.payment-summary .btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.enrollment-container .btn-secondary:hover,
.form-navigation .btn-secondary:hover,
.schedule-card .btn-secondary:hover,
.payment-summary .btn-secondary:hover {
    background: var(--gray-300);
}

.enrollment-container .btn-success,
.form-navigation .btn-success,
.schedule-card .btn-success,
.payment-summary .btn-success {
    background: var(--secondary);
    color: var(--white);
}

.enrollment-container .btn-success:hover,
.form-navigation .btn-success:hover,
.schedule-card .btn-success:hover,
.payment-summary .btn-success:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   SUCCESS MODAL
======================================== */
.success-icon {
    font-size: 4rem;
    color: var(--secondary);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .enrollment-card {
        padding: 2rem 1.5rem;
    }

    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-line {
        width: 2px;
        height: 30px;
        max-width: none;
        margin: 0;
        align-self: center;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.875rem;
    }

    .step-title {
        font-size: 1.65rem;
    }

    .step-description {
        font-size: 0.95rem;
    }

    .schedule-info-row {
        grid-template-columns: 1fr;
    }

    .schedule-time {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .schedule-location {
        font-size: 1.05rem;
    }
    
    .schedule-seats {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .form-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .enrollment-container {
        padding: 1rem 0;
    }

    .enrollment-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        font-size: 0.95rem;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
.enrollment-container .form-control:focus,
.enrollment-container .form-select:focus,
.enrollment-container .form-check-input:focus,
.enrollment-container .btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth transitions - Scoped to enrollment container only */
.enrollment-container *,
.enrollment-card *,
.form-step *,
.schedule-card * {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

/* ========================================
   SINGPASS QR REGISTRATION
======================================== */
.singpass-registration {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.qr-container {
    margin-bottom: 2.5rem;
}

.qr-code {
    display: inline-block;
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--gray-200);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    position: relative;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-300);
}

.qr-placeholder i {
    font-size: 3rem;
    color: var(--gray-400);
    position: relative;
    z-index: 2;
}

.qr-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 6px;
}

.qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary);
    background: var(--white);
}

.qr-corner.tl {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.qr-corner.tr {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 8px 0 0;
}

.qr-corner.bl {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 8px;
}

.qr-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.8;
}

.qr-status {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-text {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.registration-instructions {
    margin-bottom: 2rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.step-number-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.instruction-step .step-content {
    text-align: left;
    flex: 1;
}

.instruction-step h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.instruction-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.registration-actions {
    margin-bottom: 2rem;
}

.registration-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.registration-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.singpass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.singpass-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* SingPass Button Style */
.btn-singpass {
    background: linear-gradient(135deg, #c8102e 0%, #a6192e 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    transition: all 0.3s ease;
}

.btn-singpass:hover {
    background: linear-gradient(135deg, #a6192e 0%, #8b1526 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
    color: var(--white);
}

.btn-singpass i {
    margin-right: 0.5rem;
}

/* Responsive adjustments for SingPass registration */
@media (max-width: 768px) {
    .qr-placeholder {
        width: 160px;
        height: 160px;
    }

    .qr-placeholder i {
        font-size: 2.5rem;
    }

    .instruction-step {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .step-number-circle {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ========================================
   VALIDATION ALERTS
======================================== */
#validationAlert {
    margin-bottom: 1.5rem;
    border: none;
    border-left: 4px solid var(--warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideInDown 0.3s ease-out;
}

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

#validationAlert i {
    color: var(--warning);
}

#validationAlert .btn-close {
    font-size: 0.8rem;
}

