/* ================================
   ROOT VARIABLES (REGISTER STYLE)
================================ */
:root {
    --primary: #1a73e8;
    --secondary: #f5f7fb;
    --text-dark: #1f2937;
    --border-light: #e5e7eb;
    --radius-lg: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.4s ease;
    --font: 'Roboto', sans-serif;
}

/* ================================
   BASE RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================
   MAIN LAYOUT
================================ */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* ================================
   FORM CONTAINER
================================ */
.form-container {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.25rem 3rem;
}

/* ================================
   STEP INDICATOR
================================ */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 3px solid #ccc;
}

.step.active {
    color: var(--primary);
    border-color: var(--primary);
}

/* ================================
   FORM STEPS
================================ */
.form-step {
    display: none;
    flex-direction: column;
    min-height: 320px;
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition);
}

.form-step.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* ================================
   HEADINGS
================================ */
.enquiry-section h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.enquiry-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

/* ================================
   SINGLE ROW INPUTS
================================ */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-row label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.form-row input,
.form-row select,
.form-row textarea {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    outline: none;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ================================
   SEND OTP BUTTON
================================ */
.otp-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.send-otp-btn {
    background: var(--primary);
    color: #fff;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: 0.25s ease;
}

.send-otp-btn:hover {
    opacity: 0.9;
}

/* ================================
   OTP INPUT DESIGN (4 DIGIT)
================================ */
.otp-container {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.otp-input {
    width: 56px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    outline: none;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ================================
   LICENCE CARD BUTTONS
================================ */
.licence-choice {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.licence-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.licence-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ================================
   NAV BUTTONS
================================ */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    gap: 1rem;
}

button {
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.next-btn,
.submit-btn {
    background: var(--primary);
    color: #fff;
}

.back-btn {
    background: #ccc;
    color: #000;
}

/* ================================
   TRUST NOTE
================================ */
.personal-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #f0f9ff;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: #0369a1;
    text-align: center;
}

.email-hint {
    font-size: 0.7rem;
    color: #6b7280;
    margin-left: 6px;
}

.email-note {
    font-size: 0.75rem;
    color: #64748b;
}

.otp-card {
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border: 1px solid var(--border-light);
}

.otp-title {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.otp-sub {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 1rem;
}

.otp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

#resendOtpBtn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}

#resendOtpBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.verify-note {
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: #475569;
}

.verify-choice {
    display: flex;
    gap: 1.25rem;
}

.verify-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    cursor: pointer;
}

.required {
    color: #dc2626;
    font-weight: 900;
    margin-left: 2px;
}

/* ================================
   FORM INTRO
================================ */
.form-intro {
    text-align: center;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

/* ================================
   VERIFY METHOD - CARD DESIGN
================================ */
.verify-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.verify-card {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.verify-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.12);
}

.verify-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
}

.verify-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
}

.verify-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.verify-desc {
    font-size: 0.75rem;
    color: #64748b;
}

/* ================================
   RESPONSIVE VERIFY CARDS
================================ */
@media (max-width: 480px) {
    .verify-cards {
        grid-template-columns: 1fr;
    }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    .step-indicator {
        display: none;
    }

    .form-container {
        padding: 1.75rem 1.5rem;
    }

    .licence-choice {
        grid-template-columns: 1fr;
    }

    .otp-container {
        justify-content: center;
    }

    .otp-input {
        width: 52px;
        height: 52px;
    }
}