﻿/* ==========================================================================
   Olympiacos theme.

   Layered on top of the core bundle, which is linked before this file — so
   equal-specificity rules here win by link order and do not need
   `!important` to do it. Site chrome (header / nav / drawer) is a separate
   sheet: olympiacos-chrome.css.
   ========================================================================== */

/* Olympiacos maps 600-weight AvertaPE onto the semibold face. more.com
   leaves 600 to the browser's synthetic bold, so this stays brand-scoped. */
@font-face {
    font-family: 'AvertaPE';
    src: url('/fonts/AvertaPE/regular.woff2') format('woff2'),
         url('/fonts/AvertaPE/regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvertaPE';
    src: url('/fonts/AvertaPE/semibold.woff2') format('woff2'),
         url('/fonts/AvertaPE/semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* ── Brand tokens ───────────────────────────────────────────────────────────
   Replaces the block that restated `.primary_button` in red with
   `!important`, and the two focus-colour overrides that did the same for
   the field focus ring. Core reads these; nothing else needs saying. */
:root {
    --brand-primary: #DC0D15;
    --brand-primary-hover: #b80b12;
    --brand-primary-active: #8a0008;
    --brand-focus-ring: #696781;
}

/* ── Olympiacos registration: country select ────────────────────────────────
   Still prefixed because the markup is. The generic `.select-*` twin lives
   in core/pickers.css; the two collapse in Phase 5 when the picker JS moves
   to core and the markup switches to the generic class names. The only
   difference is `background-color: transparent`, which this copy omits. */
.olympiacos-select-wrapper {
    position: relative;
}

.olympiacos-select-wrapper .olympiacos-select-label {
    position: absolute;
    top: 0;
    left: 12px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #696781;
    background: #FDFEFE;
    padding: 0 2px;
    pointer-events: none;
    line-height: 1;
}

.olympiacos-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px !important;
    cursor: pointer;
}

.olympiacos-select-arrow {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* The `.olympiacos-dob-wrapper` block that sat here was byte-identical to
   core's `.dob-wrapper`; it is grouped into core/pickers.css instead. Only
   the caret override below is genuinely Olympiacos, and it stays. */

/* The `.olympiacos-terms-back*` block that sat here is gone. Its `__link` rules
   never matched — that anchor is a `.back_button` — and the wrapper's 24px was
   byte-identical to core's `.terms-back`, which the profile page now uses so
   every brand gets the spacing rather than only this one. */

/* ── Olympiacos login card overrides ────────────────────────── */
.back_button_txt {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0D0C1C !important;
}

.back_button_txt:hover {
    text-decoration: underline;
}

.back_button:hover {
    filter: brightness(0);
}

.flex-itemSubtitle {
    color: var(--Colors-grey-grey-900, #646567);
    text-align: center !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.flex-item_terms-main {
    display: flex;
    flex-direction: column;
}

/* ── Co-branding: OLYMPIACOS FC | more.com ──────────────────── */
.olympiacos-cobranding {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-top: 44px;
    padding-bottom: 40px;
}

.olympiacos-logos {
    padding-top: 10px;
    padding-bottom: 10px;
}

.olympiacos-cobranding__sep {
    display: block;
    width: 1px;
    background-color: #0D0C1C;
    align-self: stretch;
    margin-right: 15px;
    margin-left: 15px;
}

@media (max-width: 468px) {
    .olympiacos-cobranding {
        padding-top: 32px;
        padding-bottom: 0;
    }
}

@media (max-width: 460px) {
    .innerLogo {
        display: none;
    }
}

/* ── OlympiacosTerms page ───────────────────────────────────── */

/* Hand-drawn rather than native: appearance:none is what lets the error state
   (.checkbox_error, field.css) recolor a real, correctly-rounded border. A native
   checkbox ignores author border/background/border-radius outright, which is also
   why it used to rely on accent-color alone for its checked fill. Shared by both
   Login's and CompleteProfile's consent partials (Pao's own pao.css draws its own
   black/white variant). */
.terms-checkbox {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    flex-shrink: 0;
    margin: 0;
    margin-top: 1px;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--field-border);
    border-radius: 3px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.terms-checkbox:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.terms-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5px;
    width: 4px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Now that these have a real border to recolor, turn it red directly rather than
   falling back to field.css's box-shadow ring — same treatment as Pao's checkbox. */
.terms-checkbox.checkbox_error {
    box-shadow: none;
    border-color: var(--error-color);
}

/* ════════════════════════════════════════════════════════════════════════
   Theme overrides applied on top of the core bundle. Structural layout for
   these classes lives in css/core/* — this section only changes colours,
   fonts and focus styles to match the Olympiacos theme.
   ════════════════════════════════════════════════════════════════════════ */

/* Subtitle + back link typography */
.terms-back__link,
.terms-back__link:visited,
.terms-back__link:active {
    font-family: 'AvertaPE', Arial, sans-serif;
}

.back_button {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0D0C1C !important;
}

.flex-item_terms-main a {
    color: #0D0C1C !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.terms-item__text a {
    color: black;
}

.terms-item__text a:hover {
    color: #DC0D15;
}

.terms-required-star {
    color: #DC0D15;
}

.main-login-wrapper {
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    width: 100%;
    max-width: 295px;
    margin-left: auto;
    margin-right: auto;
}

.main-login-wrapper .flex-item,
.main-login-wrapper .flex-item_button,
.main-login-wrapper .flex-item_terms-main,
.main-login-wrapper .thirdp_container,
.main-login-wrapper ._or_container,
.main-login-wrapper .input_container,
.main-login-wrapper .input_wrapper,
.main-login-wrapper .primary_button {
    width: 100%;
    box-sizing: border-box;
}

.main-login-wrapper .welcome-header {
    font-family: 'AvertaPE_Semibold', 'AvertaPE', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0D0C1C;
    text-align: center;
    line-height: 25px;
    width: 320px;
    max-width: 320px;
    margin-left: -3px;
    margin-right: -3px;
    justify-content: center;
    white-space: nowrap;
    margin-bottom: 4px;
}

@media (max-width: 460px) {
    .main-login-wrapper .welcome-header {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        white-space: nowrap;
    }

    .main-login-wrapper {
        max-width: unset;
    }
}

.main-login-wrapper .flex-itemSubtitle {
    font-family: 'AvertaPE', sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 20px !important;
    color: #646567;
    text-align: center;
}

.main-login-wrapper .flex-itemSubtitle + .flex-item {
    padding-top: 0;
}

.main-login-wrapper .flex-item_terms-main {
    padding-top: 16px;
}

.main-login-wrapper .flex-item_terms-main {
    gap: 2px;
}


.input_ctrl,
.phone-input-wrap .phone-number {
    color: #0D0C1C;
    caret-color: #0D0C1C;
    -webkit-text-fill-color: #0D0C1C;
}

.olympiacos-dob-wrapper .date-picker input {
    caret-color: #0D0C1C;
    -webkit-text-fill-color: #0D0C1C;
}

/* Focus colour comes from --brand-focus-ring above; these two are the
   controls core styles with a literal border rather than the token. */
.phone-input-wrap .phone-number:focus {
    border-color: #696781 !important;
}

.flag-btn:focus {
    outline: none;
    border-color: #696781;
}

.flag-emoji {
    width: 18px;
    height: 18px;
    padding: 3px 1.5px;
}

.flag-emoji .fi,
.prefix-row__flag .fi {
    width: 18px !important;
    height: 18px !important;
}

.chevron {
    padding: 9px 6px;
    box-sizing: content-box;
}

.Resend_Link,
.Resend_Link:hover {
    color: #DC0D15 !important;
}

/* ── Reset password page ─────────────────────────────────────────────────── */
.flex-container_rs {
    padding-top: 0;
}

.flex-container_rs .content_rs {
    border-radius: 8px;
    padding-top: 24px;
    padding-bottom: 40px;
}

.flex-container_rs .content_rs:has(#Success_sec:not(.hide_tab)) {
    padding-top: 32px;
}

/* Pill-shaped submit button */
.flex-container_rs .primary_button {
    border-radius: 24px !important;
}

/* Success section */
.flex-container_rs .content_rs .basic_text {
    color: #646567;
    text-align: center;
}

.flex-container_rs .flex-itemResend {
    text-align: center;
    padding-bottom: 0;
}

#sign_up_SignUp .flex-container {
    height: auto;
    min-height: 100%;
    padding-bottom: 40px;
}

@media (min-width: 461px) {
    .frow {
        width: 452px;
    }
}

.prefix-dropdown__search-wrap img {
    filter: invert(1);
}

.terms-page {
    padding-top: 32px;
}