/* TruLabs Hydration Personality — Breeze microsite theme
   Matches the booth screens, keyboard and share email: white ground, black type and pills,
   and the five fruit colours (lemon, orange, lime, strawberry, peach) as accents.
   No hosted assets needed: the fruit glows, colour stripe and rule are drawn in CSS.
   Upload the TruLabs logo (black wordmark version) through the event's normal logo setting. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&display=swap');

:root {
    --tl-ink: #000000;
    --tl-paper: #ffffff;
    --tl-mist: #f1f2f4;
    --tl-muted: #6b6f76;
    --tl-line: #e2e4e8;
    --tl-lemon: #ffd21f;
    --tl-orange: #ff9a1f;
    --tl-lime: #a4d233;
    --tl-berry: #e8323c;
    --tl-peach: #ffb46b;
    --tl-stripe: linear-gradient(90deg,
        var(--tl-lemon) 0 20%, var(--tl-orange) 20% 40%, var(--tl-lime) 40% 60%,
        var(--tl-berry) 60% 80%, var(--tl-peach) 80% 100%);
    --tl-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Page: white ground with soft fruit-colour glows in the corners ---------- */
html body {
    background-color: var(--tl-paper) !important;
    background-image:
        radial-gradient(420px 420px at 0 0, rgba(255, 210, 31, .30), rgba(255, 210, 31, 0) 70%),
        radial-gradient(420px 420px at 100% 0, rgba(255, 154, 31, .26), rgba(255, 154, 31, 0) 70%),
        radial-gradient(380px 380px at 0 55%, rgba(164, 210, 51, .20), rgba(164, 210, 51, 0) 70%),
        radial-gradient(420px 420px at 100% 62%, rgba(232, 50, 60, .16), rgba(232, 50, 60, 0) 70%),
        radial-gradient(460px 460px at 0 100%, rgba(255, 180, 107, .28), rgba(255, 180, 107, 0) 70%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    color: var(--tl-ink) !important;
    font-family: var(--tl-sans) !important;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

body .session-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* five-colour stripe across the very top, same as the email */
body .session-page::before {
    content: '';
    display: block;
    width: 100%;
    height: 8px;
    flex: none;
    background: var(--tl-stripe);
}

/* ---------- Header: logo, title, short black rule ---------- */
body .header {
    width: 100%;
    text-align: center;
    padding: 36px 20px 0;
    box-sizing: border-box;
    background: transparent !important;
}

body .gallery-header {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .logo-wrapper img,
body .event-logo {
    max-height: 72px !important;
    max-width: 64vw;
    height: auto;
    width: auto;
}

body .event-title h1,
body .event-title h1 a,
body .event-title h2,
body .event-title a {
    color: var(--tl-ink) !important;
    margin: 0;
    text-decoration: none;
}

/* event title — heavy caps, like "HYDRATION PERSONALITY?" on the ready screen */
body .event-title h1,
body .event-title h1 a {
    font-family: var(--tl-sans) !important;
    font-weight: 800 !important;
    font-size: 38px !important;
    line-height: 1.05;
    letter-spacing: -.005em;
    text-transform: uppercase;
}
body .event-title h1 { margin-top: 26px; }

/* subtitle / date — light tracked caps, like "SAME ELECTROLYTES. DIFFERENT VIBES." */
body .event-title h2 {
    font-family: var(--tl-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: .34em;
    text-transform: uppercase;
    margin-top: 14px;
    padding-left: .34em; /* optically re-centre tracked caps */
}

body .event-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--tl-ink);
    margin: 22px auto 26px;
}

/* ---------- Photo / video cards ---------- */
body .card {
    width: calc(100% - 40px);
    max-width: 520px;
    margin: 0 auto 28px;
    background: var(--tl-paper) !important;
    border: 1px solid var(--tl-line) !important;
    border-radius: 24px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .10);
}

body .card-body figure {
    margin: 0;
}

body .card-body img.preview,
body .card-body video,
body .card-body .plyr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

body .plyr {
    --plyr-color-main: var(--tl-ink);
}

/* ---------- Share + download row ---------- */
body .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px 4px;
    background: transparent !important;
    border: 0 !important;
}

body .social-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

body .card-footer .button,
body .fa-pinterest,
body .fa-linkedin,
body .fa-facebook-f,
body .fa-x-twitter,
body .fa-copy,
body .fa-arrow-up-from-bracket {
    color: var(--tl-muted) !important;
    cursor: pointer;
    transition: color .15s ease;
}

body .card-footer .button:hover {
    color: var(--tl-ink) !important;
}

/* download = the one filled control, the same black as the booth buttons */
body .action-buttons form {
    margin: 0;
}

body .action-buttons button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--tl-ink);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    margin-right: 4px;
    transition: transform .08s ease, box-shadow .15s ease;
}

body .action-buttons button .button,
body .action-buttons .fa-download {
    color: var(--tl-paper) !important;
}

body .action-buttons button:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .38);
}

body .action-buttons button:active {
    transform: scale(.95);
}

/* black pill, like "TAP TO START" */
body .virtual-booth-actions .btn {
    background-color: var(--tl-ink) !important;
    border-color: var(--tl-ink) !important;
    color: var(--tl-paper) !important;
    font-family: var(--tl-sans);
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    border-radius: 999px;
    padding-left: 32px;
    padding-right: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

/* ---------- Footer: tagline over the five-colour stripe ---------- */
body .footer {
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: transparent !important;
}

body .footer-content,
body .footer-content a {
    font-family: var(--tl-sans) !important;
    color: var(--tl-muted) !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

body .footer-content::before {
    content: 'Hydration for real life.';
    display: block;
    color: var(--tl-ink);
    letter-spacing: .34em;
    margin-bottom: 8px;
}

body .footer::after {
    content: '';
    display: block;
    height: 8px;
    margin-top: 18px;
    background: var(--tl-stripe);
}

/* ---------- Toast ---------- */
#toast-container > .toast-success {
    background-color: var(--tl-ink);
    background-image: none;
    color: var(--tl-paper);
    border-left: 4px solid var(--tl-lime);
    font-family: var(--tl-sans);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
    opacity: 1;
}
