/* ==========================================================================
   Evara London — authentication pages
   Centred card on the dark ground, per the design. Replaces Shofy's
   split banner layout entirely.
   ========================================================================== */

.ev-auth {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: clamp(48px, 7vw, 110px) 0;
    background: var(--ev-navy);
}

.ev-auth__card {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    border: 1px solid rgba(163, 152, 115, .34);
    background: rgba(11, 23, 49, .38);
    padding: clamp(28px, 4vw, 52px);
}

.ev-auth__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.ev-auth__title {
    margin: 0;
    font-family: var(--ev-font-display);
    font-weight: 400;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: .05em;
    color: var(--ev-white);
}

.ev-auth__form { display: flex; flex-direction: column; gap: 18px; }
.ev-auth__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 520px) { .ev-auth__pair { grid-template-columns: 1fr; } }

.ev-auth .ev-field { margin: 0; }

.ev-auth .ev-label {
    display: block;
    font-family: var(--ev-font-body);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ev-gold);
    margin-bottom: 8px;
}

.ev-label__hint { color: rgba(255, 255, 255, .4); letter-spacing: .1em; }

.ev-auth .ev-input {
    width: 100%;
    background: rgba(5, 13, 31, .6);
    border: 1px solid rgba(163, 152, 115, .35);
    border-radius: 0;
    color: var(--ev-cream);
    padding: 14px 16px;
    font-family: var(--ev-font-body);
    font-size: 14px;
}

.ev-auth .ev-input:focus { outline: none; border-color: var(--ev-gold); }
.ev-auth .ev-input::placeholder { color: rgba(253, 224, 191, .35); }

.ev-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: -4px;
}

.ev-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ev-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, .74);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.ev-auth__remember input { accent-color: var(--ev-gold); width: 15px; height: 15px; }

.ev-auth__link {
    font-family: var(--ev-font-body);
    font-size: 13px;
    color: var(--ev-gold);
    border-bottom: 1px solid transparent;
}

.ev-auth__link:hover { color: var(--ev-gold-bright); border-bottom-color: currentColor; }

.ev-auth .ev-btn--block { margin-top: 6px; }

.ev-auth__foot {
    margin: clamp(22px, 3vw, 32px) 0 0;
    text-align: center;
    font-family: var(--ev-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.ev-auth__errors,
.ev-auth__notice {
    border: 1px solid rgba(163, 152, 115, .45);
    background: rgba(5, 13, 31, .6);
    padding: 14px 16px;
    margin-bottom: 22px;
    font-size: 13px;
}

.ev-auth__errors p { margin: 0 0 6px; color: #e0a3a0; }
.ev-auth__errors p:last-child { margin-bottom: 0; }
.ev-auth__notice { color: var(--ev-gold); }

/* social login buttons the plugin injects */
.ev-auth__social { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

.ev-auth__social a,
.ev-auth__social .btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(163, 152, 115, .45) !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--ev-cream) !important;
    padding: 13px 20px !important;
    font-size: 12px !important;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ev-auth__social a:hover { border-color: var(--ev-gold) !important; color: var(--ev-gold-bright) !important; }


/* ==========================================================================
   Split auth layout (image | form), tabs and the OTP step
   ========================================================================== */

.ev-auth__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1100px;
    margin-inline: auto;
    border: 1px solid rgba(163, 152, 115, .3);
    background: rgba(11, 23, 49, .35);
    overflow: hidden;
}

@media (max-width: 900px) {
    .ev-auth__split { grid-template-columns: 1fr; }
    .ev-auth__aside { display: none; }
}

.ev-auth__aside { position: relative; min-height: 560px; overflow: hidden; }

.ev-auth__aside img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.ev-auth__quote {
    position: absolute;
    left: 0; right: 0; bottom: 26px;
    margin: 0;
    padding: 0 28px;
    font-family: var(--ev-font-accent);
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 2px 12px rgba(5, 13, 31, .8);
}

.ev-auth__panel { padding: clamp(28px, 4vw, 54px); }
.ev-auth__panel .ev-auth__head { align-items: flex-start; text-align: left; gap: 8px; margin-bottom: 26px; }
.ev-auth__panel .ev-auth__title { font-size: clamp(26px, 3vw, 38px); }

/* the split layout replaces the standalone card */
.ev-auth__split .ev-auth__card { border: 0; background: none; padding: 0; max-width: none; }

/* ---------- tabs ---------- */

.ev-auth__tabs { display: flex; gap: 26px; border-bottom: 1px solid rgba(163, 152, 115, .28); margin-bottom: 24px; }

.ev-auth__tab {
    background: none;
    border: 0;
    padding: 0 0 12px;
    cursor: pointer;
    font-family: var(--ev-font-body);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
}

.ev-auth__tab.is-active { color: var(--ev-gold-bright); border-bottom-color: var(--ev-gold-bright); }

.ev-auth__form { display: none; flex-direction: column; gap: 18px; }
.ev-auth__form.is-active { display: flex; }

/* ---------- OTP ---------- */

.ev-otp__code {
    letter-spacing: .5em;
    text-align: center;
    font-size: 22px !important;
    font-family: var(--ev-font-body) !important;
}

.ev-otp__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}

.ev-otp__meta button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
}

.ev-otp__meta button[disabled] { color: rgba(255, 255, 255, .3); cursor: default; border-bottom-color: transparent; }

.ev-otp__message {
    margin: 14px 0 0;
    font-size: 13px;
    font-family: var(--ev-font-accent);
    color: var(--ev-gold);
    min-height: 20px;
}

.ev-otp__message.is-error { color: #e0a3a0; }

/* ---------- or divider ---------- */

.ev-auth__or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    color: rgba(255, 255, 255, .4);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.ev-auth__or::before,
.ev-auth__or::after { content: ''; flex: 1; height: 1px; background: rgba(163, 152, 115, .3); }

/* registration: the verify gate */
.ev-register__gate { border: 1px solid rgba(163, 152, 115, .3); padding: 20px; margin-bottom: 20px; background: rgba(5, 13, 31, .4); }
.ev-register__gate.is-verified { border-color: rgba(163, 152, 115, .6); }
.ev-register__gate-title { font-family: var(--ev-font-body); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ev-gold); margin: 0 0 14px; }
.ev-register__verified { color: var(--ev-gold-bright); font-size: 13px; display: flex; align-items: center; gap: 8px; }

/* short explanatory line above a form — used on the forgot-password panel */
.ev-auth__lede {
    margin: 0 0 4px;
    font-family: var(--ev-font-body);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   Auth panel — quote, lede and the three points

   The image sits behind at low opacity so the words stay first; the panel used
   to be either an empty box or a photograph with one line floating on it.
   ========================================================================== */

.ev-auth__aside { position: relative; overflow: hidden; }
.ev-auth__aside img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .34;
}
.ev-auth__aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 13, 31, .72), rgba(5, 13, 31, .93));
}

.ev-auth__aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    height: 100%;
    padding: clamp(30px, 4vw, 60px);
}

.ev-auth__aside .ev-auth__quote {
    margin: 0;
    font-family: var(--ev-font-accent);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: 1.5;
    color: var(--ev-cream);
    text-wrap: pretty;
}
.ev-auth__aside-lede {
    margin: 0;
    font-family: var(--ev-font-body);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, .6);
    max-width: 40ch;
}

.ev-auth__points {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ev-auth__points li { display: flex; gap: 14px; align-items: flex-start; }

.ev-auth__point-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(163, 152, 115, .5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ev-gold-bright);
}
.ev-auth__point-icon svg { width: 17px; height: 17px; }

.ev-auth__point-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev-auth__point-text strong {
    font-family: var(--ev-font-display);
    font-weight: 400;
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ev-white);
}
.ev-auth__point-text span {
    font-family: var(--ev-font-body);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 767px) {
    .ev-auth__aside { min-height: 260px; }
    .ev-auth__points { display: none; }   /* the form is what matters on a phone */
}

/* ==========================================================================
   International phone field

   The country button and the number sit in one bordered row so they read as a
   single control rather than two fields that happen to be adjacent: the border
   is on the wrapper, and the inputs inside give theirs up.
   ========================================================================== */

.ev-phone {
    position: relative;
}

.ev-phone__control {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(212, 175, 122, 0.28);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease;
}

.ev-phone__control:focus-within {
    border-color: rgba(212, 175, 122, 0.65);
}

.ev-phone__country {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 12px;
    background: none;
    border: 0;
    border-right: 1px solid rgba(212, 175, 122, 0.22);
    color: #f3e7d4;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
}

.ev-phone__country:hover {
    background: rgba(212, 175, 122, 0.08);
}

/* Windows has no flag glyphs and falls back to the two ISO letters, which are
   drawn much wider than a flag — the min-width keeps the dial code from
   shifting sideways between platforms. */
.ev-phone__flag {
    font-size: 17px;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.ev-phone__dial {
    font-variant-numeric: tabular-nums;
}

.ev-phone__caret {
    opacity: 0.55;
}

/* The number input gives up the border it would have as a plain .ev-input. */
.ev-phone__number.ev-input {
    flex: 1 1 auto;
    border: 0;
    background: none;
    min-width: 0;
}

.ev-phone__number.ev-input:focus {
    outline: none;
    box-shadow: none;
}

/* ---------- the dropdown ---------- */

.ev-phone__menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    width: min(340px, 100%);
    background: #0d1a34;
    border: 1px solid rgba(212, 175, 122, 0.3);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.ev-phone__menu[hidden] {
    display: none;
}

.ev-phone__searchwrap {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid rgba(212, 175, 122, 0.18);
}

.ev-phone__searchicon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(243, 231, 212, 0.5);
    pointer-events: none;
}

.ev-phone__search {
    width: 100%;
    padding: 9px 10px 9px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 122, 0.22);
    color: #f3e7d4;
    font-family: inherit;
    font-size: 13.5px;
}

.ev-phone__search:focus {
    outline: none;
    border-color: rgba(212, 175, 122, 0.6);
}

.ev-phone__search::placeholder {
    color: rgba(243, 231, 212, 0.42);
}

.ev-phone__list {
    max-height: 264px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
}

.ev-phone__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: rgba(243, 231, 212, 0.86);
    font-size: 13.5px;
    cursor: pointer;
}

.ev-phone__option:hover,
.ev-phone__option.is-selected {
    background: rgba(212, 175, 122, 0.14);
    color: #f7ecd9;
}

.ev-phone__oflag {
    font-size: 16px;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.ev-phone__oname {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ev-phone__odial {
    flex: 0 0 auto;
    color: rgba(212, 175, 122, 0.85);
    font-variant-numeric: tabular-nums;
}

.ev-phone__empty {
    padding: 14px 12px;
    color: rgba(243, 231, 212, 0.5);
    font-size: 13px;
    text-align: center;
}

/* A narrow scrollbar in the house colours rather than the browser default. */
.ev-phone__list::-webkit-scrollbar {
    width: 8px;
}

.ev-phone__list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 122, 0.3);
}
