/* ============================================================
   FLEXYPASS — CUSTOMER LAYOUT STYLESHEET
   ------------------------------------------------------------
   Used by _CustomerLayout.cshtml and its pages only
   (Views/Customer: Login, Cancelled, Expire, Invalid).
   Subset of css/site.css — reset, design tokens, base elements,
   buttons, text input, and the layout's own card/page styles.
   ============================================================ */

/* ------------------------------------------------------------
   1. RESET & DESIGN TOKENS
   ------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal: #1C83ED;
    --teal-dark: #1567c4;
    --teal-soft: #e8f2fe;
    --teal-ink: #0e3a6b;
    --gold: #6EAEEF;
    --gold-dark: #3f8fe0;
    --gold-soft: #e8f2fe;
    --star: #f5a623;
    --cta: #f97316;
    --cta-dark: #e05e06;
    --ink: #0e2a47;
    --ink-2: #3a4d63;
    --ink-3: #6b7a8c;
    --ink-4: #9aa6b4;
    --bg: #ffffff;
    --bg-2: #f4f8fd;
    --bg-3: #eaf1fb;
    --line: #e6edf5;
    --line-2: #d8e2ee;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --shadow-sm: 0 2px 12px rgba(16,42,60,.06);
    --shadow: 0 14px 44px rgba(16,42,60,.12);
    --shadow-lg: 0 30px 80px rgba(16,42,60,.20);
    --r: 14px;
    --r-sm: 12px;
    --r-lg: 22px;
    --r-xl: 30px;
    --pill: 999px;
    --r-btn: 12px; /* unified button radius */
    --font: "Helvetica Neue",Helvetica,Arial,"Liberation Sans",sans-serif;
    --hilite-bg: #fffaf2;
    --hilite-bd: #f3e2c6;
    --tag-bg: #fff0e0;
    --tag-fg: #b15c00;
}

/* ------------------------------------------------------------
   2. BASE ELEMENTS
   ------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.02em;
    font-weight: 800;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(36px,5vw,60px);
}

h2 {
    font-size: clamp(24px,3vw,34px);
}

h3 {
    font-size: clamp(18px,1.8vw,22px);
}

p {
    margin: 0 0 14px;
}

@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ------------------------------------------------------------
   3. BUTTONS
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--r-btn);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

    .btn:focus-visible {
        outline: 3px solid var(--cta);
        outline-offset: 2px;
    }

.btn--cta {
    background: var(--cta);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(249,115,22,.35);
}

    .btn--cta:hover {
        background: var(--cta-dark);
        transform: translateY(-2px);
        color: #fff !important;
        text-decoration: none;
    }

.btn--lg {
    padding: 14px 28px;
    font-size: 15.5px;
}

/* ------------------------------------------------------------
   4. TEXT INPUT
   ------------------------------------------------------------ */
.bc-input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 42px;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    box-sizing: border-box;
}

    .bc-input::placeholder {
        color: var(--ink-3);
        font-weight: 600;
    }

    .bc-input:focus {
        outline: none;
        border-color: var(--teal);
    }

.bc-input-error {
    border-color: #e5484d !important;
}

    .bc-input-error::placeholder {
        color: #e5484d;
    }

/* ------------------------------------------------------------
   5. CUSTOMER LAYOUT CARD
   ------------------------------------------------------------ */
.cp-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    padding: 24px;
}

.cp-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
}

.cp-logo {
    text-align: center;
    margin-bottom: 18px;
}

    .cp-logo img {
        width: 320px;
        margin: 0 auto;
    }

.cp-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
}

.cp-text {
    text-align: center;
    color: var(--ink-2);
    font-size: 15px;
    margin: 0;
}

.cp-error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #b3261e;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.cp-field {
    margin-bottom: 18px;
}

.cp-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    margin-bottom: 6px;
}

.cp-submit {
    width: 100%;
}
