﻿/* --- REGISTRATION FORM - FULLSCREEN UI (STATIC COLORS) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.registration-page-fullscreen {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    color: #1f2937;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 6rem 2rem;
    min-height: 100vh;
}

.form-container {
    width: 100%;
    max-width: 1300px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 3rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .form-header h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #1f2937;
    }

    .form-header p {
        color: #6b7280;
        font-size: 1rem;
    }

.success-alert {
    background-color: #dcfce7;
    color: #166534;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid #166534;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

legend {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    width: 100%;
    border-bottom: 1px solid #d1d5db;
    display: flex;
    align-items: center;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #2563eb;
    color: #fff;
    font-size: 1rem;
    margin-right: 0.75rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.cols-1 {
    grid-template-columns: 1fr;
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 0.9rem;
        font-weight: 500;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

input[type="text"], input[type="email"], input[type="date"], select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    input:focus, select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }

    input[disabled], select[disabled] {
        background-color: #f3f4f6;
        cursor: not-allowed;
    }

.validation-error {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 0.75rem;
}

    .checkbox-group input[type="checkbox"] {
        width: 1em;
        height: 1em;
        margin-right: 0.5rem;
    }

    .checkbox-group label {
        margin-bottom: 0;
        font-size: 0.9rem;
        font-weight: 400;
    }

.submission-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #d1d5db;
}

.captcha {
    width: 100%;
    max-width: 320px;
}

    .captcha label {
        font-weight: 600;
        color: #1f2937;
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }

/* Canvas Styling */
#captchaCanvas {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
}

.captcha-form {
    display: flex;
    margin-top: 0.5rem;
}

    .captcha-form input {
        flex-grow: 1;
        border-radius: 8px 0 0 8px;
        border-right: none;
    }

.captcha-refresh {
    width: 45px;
    border: 1px solid #d1d5db;
    outline: none;
    background: #fff;
    border-radius: 0 8px 8px 0;
    color: #1f2937;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .captcha-refresh:hover {
        background-color: #f3f4f6;
    }

.submit-button {
    background-color: #2563eb;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .submit-button:hover {
        background-color: #3b82f6;
        transform: translateY(-3px);
    }

    .submit-button:disabled {
        background-color: #9ca3af;
        box-shadow: none;
        cursor: not-allowed;
        transform: translateY(0);
    }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .registration-page {
        padding: 2rem 1rem;
    }

    .form-container {
        padding: 2rem;
    }

    .form-grid.cols-2, .form-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .form-header h1 {
        font-size: 1.8rem;
    }
}
