html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-size: 0.95rem;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* =========================================================
   VIEWFEST 2027 THEME
   ========================================================= */

:root {
    --vf-purple: #9861B4;
    --vf-mauve: #C272B1;
    --vf-pink: #EE75C2;
    --vf-blue: #7DB2D8;
    --vf-light-blue: #9FDAE7;
    --vf-aqua: #82F3F0;
    --vf-text: #382b40;
    --vf-white: #ffffff;
    --vf-card-background: rgba(255, 255, 255, 0.94);
    --vf-border-radius: 24px;
}


/* =========================================================
   VIEWFEST WELCOME PAGE
   ========================================================= */

.viewfest-welcome {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient( 145deg, var(--vf-purple) 0%, var(--vf-mauve) 35%, var(--vf-pink) 55%, var(--vf-blue) 78%, var(--vf-light-blue) 100% );
}

.viewfest-welcome-card {
    width: 100%;
    max-width: 980px;
    background: var(--vf-card-background);
    border-radius: var(--vf-border-radius);
    padding: 45px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.viewfest-eyebrow {
    color: var(--vf-purple);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}


/* =========================================================
   PAGE HEADLINES
   ========================================================= */

.viewfest-welcome-card h1 {
    color: var(--vf-purple);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.viewfest-welcome-card h2 {
    color: var(--vf-mauve);
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 24px;
}


/* =========================================================
   EVENT DETAILS
   ========================================================= */

.viewfest-event-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--vf-text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}


/* =========================================================
   PAGE TEXT
   ========================================================= */

.viewfest-welcome-card p {
    color: var(--vf-text);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 auto 22px auto;
    text-align: left;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.viewfest-primary-button {
    display: inline-block;
    border: none;
    border-radius: 999px;
    padding: 12px 34px;
    background: var(--vf-purple);
    color: var(--vf-white);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

    .viewfest-primary-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(152, 97, 180, 0.3);
        color: var(--vf-white);
    }


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.viewfest-secondary-button {
    display: inline-block;
    border: 1px solid var(--vf-purple);
    border-radius: 999px;
    padding: 11px 28px;
    background: white;
    color: var(--vf-purple);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

    .viewfest-secondary-button:hover {
        background: #f7f3f9;
        color: var(--vf-purple);
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .viewfest-welcome {
        padding: 20px 12px;
    }

    .viewfest-welcome-card {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .viewfest-event-details {
        flex-direction: column;
        gap: 4px;
    }

        .viewfest-event-details span {
            display: none;
        }

    .viewfest-primary-button,
    .viewfest-secondary-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}


/* =========================================================
   FORM CONTROLS
   ========================================================= */

.viewfest-form-group {
    max-width: 620px;
    margin: 25px auto;
    text-align: left;
}

    .viewfest-form-group label {
        display: block;
        margin-bottom: 7px;
        font-weight: 700;
        color: var(--vf-text);
    }

.viewfest-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #ffffff;
}


/* =========================================================
   GENERAL FORM TYPOGRAPHY
   ========================================================= */

.viewfest-welcome-card input,
.viewfest-welcome-card select,
.viewfest-welcome-card textarea {
    font-size: 0.95rem;
}

.viewfest-welcome-card small {
    font-size: 0.82rem;
}


/* =========================================================
   NAVIGATION BUTTON ALIGNMENT
   ========================================================= */

.viewfest-welcome-card > div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 28px;
}


/* =========================================================
   INFORMATION PAGE SPACING
   ========================================================= */

.viewfest-welcome-card .viewfest-eyebrow {
    margin-bottom: 10px;
}


/* ============================================================
   VIEWFEST ACKNOWLEDGMENT 5-SECOND REVIEW PROGRESS BAR
   ============================================================ */

.ack-review-progress {
    margin: 18px 0 24px 0;
    padding: 18px 20px;
    background: #f8f9fc;
    border: 1px solid #e3e6ef;
    border-radius: 14px;
}

.ack-review-progress-text {
    margin-bottom: 12px;
    font-size: 0.98rem;
    font-weight: 650;
    color: #444b5f;
}

.ack-review-progress-track {
    width: 100%;
    height: 12px;
    background: #e3e6ec;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ack-review-progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4b63d3, #7d55c7, #d85b92);
    transition: width 0.85s linear;
}

.ack-review-countdown {
    margin-top: 9px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #686f80;
}

    .ack-review-countdown.ready {
        color: #247247;
    }

#acknowledgmentContinue:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

#acknowledgmentCheckbox:disabled {
    cursor: not-allowed;
}
