/* ==========================================================================
   99Pandit — Register page (premium, minimal, single-card design)
   Mirrors login.css's design language.
   ========================================================================== */

.np-login-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 140px 16px 80px;
    background: linear-gradient(180deg, var(--np-cream) 0%, var(--np-white) 55%);
}

.np-login-card {
    width: 100%;
    max-width: 440px;
    background: var(--np-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(62, 39, 35, 0.12), 0 2px 8px rgba(62, 39, 35, 0.06);
    padding: 40px 32px 32px;
    text-align: center;
}

.np-login-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 18px;
}

.np-login-title {
    font-family: var(--np-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--np-text-dark);
    margin: 0 0 6px;
}

.np-login-subtitle {
    font-size: 14.5px;
    color: var(--np-text-mid);
    margin: 0 0 22px;
}

/* ---- Trust badge row ---- */
.np-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--np-saffron-bg);
    border: 1px solid var(--np-border-saffron);
    border-radius: 12px;
    padding: 10px 8px;
    margin-bottom: 26px;
}

.np-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--np-text-dark);
    white-space: nowrap;
}

.np-trust-item i {
    color: var(--np-saffron);
    font-size: 13px;
}

.np-trust-sep {
    width: 1px;
    height: 16px;
    background: var(--np-border-saffron);
    flex-shrink: 0;
}

/* ---- Form ---- */
.np-step,
.np-login-form {
    text-align: left;
}

.np-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--np-text-dark);
    margin-bottom: 8px;
}

.np-field-label-spaced {
    margin-top: 16px;
}

.np-text-input {
    width: 100%;
    border: 1.5px solid #e5ded9;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--np-text-dark);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.np-text-input:focus {
    border-color: var(--np-saffron);
    box-shadow: 0 0 0 3px var(--np-saffron-bg);
}

.np-phone-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e5ded9;
    border-radius: 12px;
    overflow: visible;
    transition: border-color .2s ease, box-shadow .2s ease;
    position: relative;
}

.np-phone-group:focus-within {
    border-color: var(--np-saffron);
    box-shadow: 0 0 0 3px var(--np-saffron-bg);
}

.np-phone-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    padding: 12px 14px;
    color: var(--np-text-dark);
    border-radius: 0 12px 12px 0;
    min-width: 0;
}

/* ---- Country select ---- */
.np-country-select {
    position: relative;
    flex-shrink: 0;
    border-right: 1.5px solid #e5ded9;
}

.np-country-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 10px;
    background: #faf7f4;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--np-text-dark);
}

.np-country-trigger i {
    font-size: 10px;
    color: var(--np-text-light);
    transition: transform .2s ease;
}

.np-country-trigger.active i {
    transform: rotate(180deg);
}

.np-country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 260px;
    max-height: 280px;
    background: var(--np-white);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    z-index: 20;
    overflow: hidden;
    flex-direction: column;
}

.np-country-dropdown.open {
    display: flex;
}

.np-country-search {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 14px;
    font-size: 13.5px;
    outline: none;
    width: 100%;
}

.np-country-options {
    overflow-y: auto;
    max-height: 220px;
}

.np-country-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13.5px;
    cursor: pointer;
    color: var(--np-text-dark);
}

.np-country-option:hover,
.np-country-option.selected {
    background: var(--np-saffron-bg);
}

.np-country-option-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-country-option-code {
    color: var(--np-text-mid);
    font-size: 12.5px;
}

.np-no-results {
    display: none;
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--np-text-light);
}

.np-no-results.show {
    display: block;
}

.np-error {
    display: none;
    font-size: 12.5px;
    color: #d64545;
    margin-top: 6px;
}

.np-form-error {
    text-align: center;
    margin-bottom: 10px;
}

/* ---- Submit button (pill-shaped, flat saffron) ---- */
.np-submit-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 13px 16px;
    margin-top: 22px;
    background: var(--np-saffron);
    color: var(--np-white);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.np-submit-btn:hover {
    background: var(--np-saffron-dark);
    box-shadow: var(--np-shadow-saffron);
    transform: translateY(-1px);
}

.np-submit-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.np-register-text {
    text-align: center;
    font-size: 13.5px;
    color: var(--np-text-mid);
    margin: 22px 0 0;
}

.np-register-text a {
    color: var(--np-saffron);
    font-weight: 600;
}

/* ---- OTP step (inline, no popup) ---- */
.np-otp-sent-row {
    font-size: 13.5px;
    color: var(--np-text-mid);
    margin: 0 0 6px;
    text-align: center;
}

.np-otp-sent-row strong {
    color: var(--np-text-dark);
}

.np-otp-channel-msg {
    font-size: 12.5px;
    color: var(--np-text-light);
    text-align: center;
    margin-bottom: 18px;
}

.np-change-link {
    border: none;
    background: none;
    padding: 0;
    margin-left: 4px;
    color: var(--np-saffron);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
}

.np-otp-boxes {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.np-otp-box {
    width: 44px;
    height: 52px;
    border: 1.5px solid #e5ded9;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--np-text-dark);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.np-otp-box:focus {
    border-color: var(--np-saffron);
    box-shadow: 0 0 0 3px var(--np-saffron-bg);
}

.np-resend-row {
    text-align: center;
    font-size: 13px;
    color: var(--np-text-mid);
    margin: 18px 0 0;
}

.np-resend-row .np-change-link:disabled {
    color: var(--np-text-light);
    cursor: not-allowed;
}

/* ---- Verify button (pill-shaped, with icon) ---- */
.np-verify-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 14px 16px;
    margin-top: 22px;
    background: var(--np-saffron);
    color: var(--np-white);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.np-verify-btn i {
    font-size: 17px;
}

.np-verify-btn:hover {
    background: var(--np-saffron-dark);
    box-shadow: var(--np-shadow-saffron);
    transform: translateY(-1px);
}

.np-verify-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    /* This page's card fills most of the viewport height, so the site-wide
       translate pill (fixed, right:8px, top:40%) would otherwise sit on
       top of the card content — anchor it in the gap above the card
       (between the fixed navbar and the card's top edge) instead, since
       that gap's height doesn't depend on how tall the card's content is. */
    .side-translate-pill {
        top: 78px !important;
        bottom: auto !important;
        transform: none !important;
    }

    .np-login-page {
        padding: 110px 12px 60px;
    }

    .np-login-card {
        padding: 32px 20px 26px;
    }

    .np-trust-row {
        gap: 6px;
        padding: 9px 6px;
    }

    .np-trust-item span {
        font-size: 11px;
    }

    .np-country-dropdown {
        width: 240px;
    }
}

@media (max-width: 360px) {
    .np-otp-box {
        width: 38px;
        height: 46px;
        font-size: 18px;
    }
}
