/* ============================================================
   FanLink Login Page
============================================================ */

:root {
    --fl-primary: #ff4b0b;
    --fl-primary-dark: #e93d00;
    --fl-primary-soft: #fff1eb;

    --fl-heading: #101114;
    --fl-text: #5f636d;
    --fl-muted: #8a8f99;

    --fl-border: #dfe2e7;
    --fl-border-focus: #ff6a35;

    --fl-white: #ffffff;
    --fl-success: #20a956;
    --fl-danger: #d92d20;

    --fl-shadow-sm: 0 8px 22px rgba(31, 35, 41, 0.09);
    --fl-shadow-md: 0 18px 46px rgba(31, 35, 41, 0.13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
}

body.fl-login-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--fl-heading);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.fl-login-page img {
    display: block;
    max-width: 100%;
}

.fl-login-page a {
    color: inherit;
    text-decoration: none;
}

.fl-login-page button,
.fl-login-page input {
    font: inherit;
}

/* ============================================================
   Page Layout
============================================================ */

.fl-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 61%) minmax(420px, 39%);
    min-height: 100vh;
}

/* ============================================================
   Visual Panel
============================================================ */

.fl-login-visual {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    padding: 42px 52px 36px;
    background:
        radial-gradient(
            circle at 46% 40%,
            rgba(255, 255, 255, 0.96) 0,
            rgba(255, 255, 255, 0.45) 32%,
            transparent 58%
        ),
        linear-gradient(135deg, #fff7f2 0%, #fffaf7 55%, #fff3ed 100%);
    border-right: 1px solid #e5e7eb;
}

.fl-login-visual__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fl-login-visual__glow--one {
    top: -150px;
    left: -120px;
    width: 430px;
    height: 430px;
    background: rgba(255, 255, 255, 0.55);
}

.fl-login-visual__glow--two {
    top: 110px;
    right: 130px;
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 46, 0.05);
}

.fl-login-brand {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
}

.fl-login-brand img {
    width: 158px;
    height: auto;
}

/* ============================================================
   Collage
============================================================ */

.fl-login-collage {
    position: relative;
    width: min(790px, 94%);
    height: clamp(500px, 61vh, 650px);
    margin: 12px auto 0;
}

.fl-dot-grid {
    position: absolute;
    top: 98px;
    left: 2px;
    width: 94px;
    height: 94px;
    opacity: 0.42;
    background-image: radial-gradient(
        circle,
        rgba(255, 75, 11, 0.6) 1.4px,
        transparent 1.5px
    );
    background-size: 11px 11px;
}

.fl-photo-card {
    position: absolute;
    z-index: 3;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 7px solid #ffffff;
    border-radius: 14px;
    box-shadow: var(--fl-shadow-md);
}

.fl-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.fl-photo-card--main {
    top: 55px;
    left: 40%;
    width: 25%;
    height: 45%;
    z-index: 6;
}

.fl-photo-card--network {
    top: 135px;
    left: 3%;
    width: 32%;
    height: 32%;
}

.fl-photo-card--history {
    top: 155px;
    right: 3%;
    width: 27%;
    height: 31%;
}

/* ============================================================
   Bottom Image Row
============================================================ */

/* Left image */
.fl-photo-card--city {
    top: 65%;
    left: 5%;
    width: 30%;
    height: 28%;
}

/* Small middle image */
.fl-photo-card--community-small {
    top: 69%;
    left: 39%;
    width: 22%;
    height: 21%;
    z-index: 5;
}

/* Right image */
.fl-photo-card--family {
    top: 65%;
    right: 5%;
    left: auto;
    width: 30%;
    height: 28%;
}

.fl-photo-card--community-small img {
    object-position: center center;
}

.fl-connect-line {
    position: absolute;
    z-index: 1;
    display: block;
    border-color: var(--fl-primary);
    border-style: solid;
    opacity: 0.9;
}

.fl-connect-line::after {
    position: absolute;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--fl-primary);
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.fl-connect-line--one {
    top: 60px;
    left: 28%;
    width: 50%;
    height: 68px;
    border-width: 2px 2px 0 0;
    border-radius: 0 28px 0 0;
}

.fl-connect-line--one::after {
    right: -4px;
    bottom: -4px;
}

.fl-connect-line--two {
    top: 210px;
    left: 0;
    width: 19%;
    height: 180px;
    border-width: 2px 0 0 2px;
    border-radius: 28px 0 0;
}

.fl-connect-line--two::after {
    left: -4px;
    bottom: -4px;
}

.fl-connect-line--three {
    top: 320px;
    right: -2%;
    width: 27%;
    height: 170px;
    border-width: 2px 2px 0 0;
    border-radius: 0 28px 0 0;
}

.fl-connect-line--three::after {
    right: -4px;
    bottom: -4px;
}

.fl-connect-line--four {
    top: 75%;
    right: -2%;
    width: 30%;
    height: 70px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 28px;
}

.fl-connect-line--four::after {
    right: -4px;
    bottom: -4px;
}

/* ============================================================
   Floating Details
============================================================ */

.fl-floating-avatar {
    position: absolute;
    z-index: 12;
    width: 64px;
    height: 64px;
    padding: 4px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: var(--fl-shadow-sm);
}

.fl-floating-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.fl-floating-avatar--top {
    top: 22px;
    left: 22%;
}

.fl-floating-avatar--left {
    top: 63%;
    left: -4%;
}

.fl-floating-avatar--bottom {
    right: -5%;
    bottom: 7%;
}

.fl-online-dot {
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 16px;
    height: 16px;
    background: var(--fl-success);
    border: 3px solid #ffffff;
    border-radius: 50%;
}

.fl-globe-badge {
    position: absolute;
    top: 65%;
    right: -5%;
    z-index: 12;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #17191d;
    font-size: 25px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: var(--fl-shadow-sm);
}

.fl-story-badge {
    position: absolute;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: var(--fl-shadow-sm);
}

.fl-story-badge__icon {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #ffffff;
    background: var(--fl-primary);
    border-radius: 9px;
}

.fl-story-badge strong,
.fl-story-badge small {
    display: block;
}

.fl-story-badge strong {
    margin-bottom: 2px;
    color: var(--fl-heading);
    font-size: 11px;
    font-weight: 700;
}

.fl-story-badge small {
    color: var(--fl-text);
    font-size: 9px;
}

.fl-story-badge--network {
    top: 51%;
    left: 7%;
}

.fl-story-badge--memories {
    top: 53%;
    right: 5%;
}

.fl-story-badge--heritage {
    top: 89%;
    left: 9%;
}

.fl-story-badge--family {
    top: 89%;
    right: 9%;
    left: auto;
}

/* ============================================================
   Visual Message
============================================================ */

.fl-login-message {
    position: relative;
    z-index: 20;
    margin-top: 12px;
    text-align: center;
}

.fl-login-message h1 {
    margin: 0;
    color: var(--fl-heading);
    font-size: clamp(34px, 3.5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.fl-login-message h1 span {
    color: var(--fl-primary);
}

.fl-login-message p {
    margin: 18px 0 0;
    color: var(--fl-text);
    font-size: clamp(14px, 1.15vw, 19px);
}

/* ============================================================
   Form Panel
============================================================ */

.fl-login-panel {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(36px, 5vw, 84px) 112px;
    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(247, 248, 250, 0.2),
            rgba(255, 255, 255, 0.96) 65%
        ),
        #ffffff;
}

.fl-login-panel__inner {
    width: min(100%, 455px);
    margin: auto;
}

.fl-login-mobile-brand {
    display: none;
    width: 150px;
    margin-bottom: 38px;
}

.fl-login-heading {
    margin-bottom: 36px;
}

.fl-login-heading h2 {
    margin: 0;
    color: var(--fl-heading);
    font-size: clamp(30px, 2.3vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.fl-login-heading p {
    margin: 12px 0 0;
    color: var(--fl-text);
    font-size: 14px;
}

/* ============================================================
   Alerts
============================================================ */

.fl-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    font-size: 13px;
    border: 1px solid;
    border-radius: 10px;
}

.fl-alert i {
    margin-top: 1px;
}

.fl-alert strong,
.fl-alert span {
    display: block;
}

.fl-alert strong {
    margin-bottom: 2px;
}

.fl-alert--success {
    color: #08783e;
    background: #ecfdf3;
    border-color: #abefc6;
}

.fl-alert--danger {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

/* ============================================================
   Form
============================================================ */

.fl-form-group {
    margin-bottom: 23px;
}

.fl-form-group label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--fl-heading);
    font-size: 14px;
    font-weight: 500;
}

.fl-input-wrap {
    position: relative;
}

.fl-input-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 52px 0 46px;
    color: var(--fl-heading);
    font-size: 15px;
    outline: none;
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 10px;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.fl-input-wrap input::placeholder {
    color: #9a9da5;
}

.fl-input-wrap input:hover {
    border-color: #c9cdd4;
}

.fl-input-wrap input:focus {
    border-color: var(--fl-border-focus);
    box-shadow: 0 0 0 4px rgba(255, 75, 11, 0.1);
}

.fl-input-wrap input.is-invalid {
    border-color: var(--fl-danger);
}

.fl-input-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    color: #858a94;
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.fl-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #555b65;
    font-size: 19px;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
}

.fl-password-toggle:hover {
    color: var(--fl-primary);
    background: var(--fl-primary-soft);
}

.fl-field-error {
    display: block;
    margin-top: 7px;
    color: var(--fl-danger);
    font-size: 12px;
}

.fl-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: -2px 0 26px;
}

.fl-form-options > a {
    color: var(--fl-primary-dark);
    font-size: 13px;
    font-weight: 500;
}

.fl-form-options > a:hover {
    text-decoration: underline;
}

.fl-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fl-text);
    font-size: 13px;
    cursor: pointer;
}

.fl-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--fl-primary);
}

.fl-login-button,
.fl-create-account {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.fl-login-button {
    color: #ffffff;
    cursor: pointer;
    background: var(--fl-primary);
    border: 1px solid var(--fl-primary);
    box-shadow: 0 9px 22px rgba(255, 75, 11, 0.2);
}

.fl-login-button:hover {
    background: var(--fl-primary-dark);
    border-color: var(--fl-primary-dark);
    box-shadow: 0 11px 26px rgba(255, 75, 11, 0.27);
    transform: translateY(-1px);
}

.fl-login-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0;
    color: var(--fl-text);
    font-size: 13px;
}

.fl-login-divider::before,
.fl-login-divider::after {
    height: 1px;
    content: "";
    background: var(--fl-border);
    flex: 1;
}

.fl-create-account {
    color: var(--fl-primary);
    background: #ffffff;
    border: 1px solid var(--fl-primary);
}

.fl-create-account:hover {
    color: #ffffff;
    background: var(--fl-primary);
}

/* ============================================================
   Footer
============================================================ */

.fl-login-footer {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    color: var(--fl-text);
    text-align: center;
}

.fl-login-footer nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 13px;
}

.fl-login-footer a:hover {
    color: var(--fl-primary);
}

.fl-login-footer p {
    margin: 0;
    font-size: 13px;
}

/* ============================================================
   Responsive - Medium Desktop
============================================================ */

@media (max-width: 1399.98px) {
    .fl-login-visual {
        padding: 32px 36px 28px;
    }

    .fl-login-collage {
        width: min(690px, 96%);
        height: clamp(470px, 60vh, 580px);
    }

    .fl-photo-card--network {
        height: 31%;
    }

    .fl-photo-card--history {
        right: 3%;
        height: 30%;
    }

    .fl-globe-badge {
        right: 2%;
    }

    .fl-story-badge {
        transform: scale(0.9);
    }

    .fl-login-message h1 {
        font-size: clamp(32px, 3.3vw, 48px);
    }

    .fl-login-panel {
        padding-right: 48px;
        padding-left: 48px;
    }
}

/* ============================================================
   Responsive - Tablet
============================================================ */

@media (max-width: 991.98px) {
    .fl-login-shell {
        display: block;
    }

    .fl-login-visual {
        min-height: auto;
        padding: 28px 28px 46px;
        border-right: 0;
        border-bottom: 1px solid #e8e9ec;
    }

    .fl-login-brand {
        margin-bottom: 12px;
    }

    .fl-login-collage {
        width: min(700px, 100%);
        height: 480px;
    }

    .fl-login-message {
        margin-top: 18px;
    }

    .fl-login-panel {
        min-height: auto;
        padding: 64px 28px 150px;
    }

    .fl-login-mobile-brand {
        display: none;
    }
}

/* ============================================================
   Responsive - Mobile
============================================================ */

@media (max-width: 767.98px) {
    .fl-login-visual {
        display: none;
    }
    .fl-login-visual {
        padding: 22px 20px 30px;
    }

    .fl-login-brand img {
        width: 132px;
    }

    .fl-login-collage {
        height: 350px;
        margin-top: 10px;
    }

    .fl-photo-card {
        border-width: 4px;
        border-radius: 10px;
    }

    .fl-photo-card--main {
        top: 28px;
        left: 31%;
        width: 40%;
        height: 57%;
    }

    .fl-photo-card--network {
        top: 90px;
        left: 0;
        width: 31%;
        height: 31%;
    }

    .fl-photo-card--history {
        top: 104px;
        right: 0;
        width: 28%;
        height: 31%;
    }

    .fl-photo-card--city {
        top: 61%;
        left: 2%;
        width: 42%;
        height: 26%;
    }

    .fl-photo-card--family {
        top: 61%;
        left: 46%;
        width: 45%;
        height: 28%;
    }

    .fl-floating-avatar {
        width: 44px;
        height: 44px;
        padding: 3px;
    }

    .fl-floating-avatar--top {
        top: 9px;
        left: 18%;
    }

    .fl-floating-avatar--left,
    .fl-floating-avatar--bottom,
    .fl-globe-badge,
    .fl-story-badge,
    .fl-connect-line,
    .fl-dot-grid {
        display: none;
    }

    .fl-login-message h1 {
        font-size: clamp(29px, 9vw, 42px);
    }

    .fl-login-message p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.6;
    }

    .fl-login-panel {
        padding: 48px 20px 145px;
    }

    .fl-login-panel__inner {
        max-width: 500px;
    }

    .fl-login-heading {
        margin-bottom: 28px;
        text-align: center;
    }

    .fl-login-heading h2 {
        font-size: 29px;
    }

    .fl-login-mobile-brand {
        display: inline-flex;
        width: 138px;
        display: table;
        margin: 0 auto 50px auto;
    }
}

/* ============================================================
   Responsive - Small Mobile
============================================================ */

@media (max-width: 479.98px) {
    .fl-login-visual {
        display: none;
    }

    .fl-login-panel {
        min-height: 100vh;
        justify-content: flex-start;
        padding: 32px 18px 130px;
    }

    .fl-login-mobile-brand {
        display: inline-flex;
        width: 138px;
        display: table;
        margin: 0 auto 50px auto;
    }

    .fl-login-heading h2 {
        font-size: 28px;
    }

    .fl-login-heading p {
        font-size: 13px;
        line-height: 1.6;
    }

    .fl-input-wrap input {
        height: 54px;
    }

    .fl-form-options {
        align-items: flex-start;
    }

    .fl-login-button,
    .fl-create-account {
        min-height: 54px;
    }

    .fl-login-footer {
        bottom: 24px;
    }

    .fl-login-footer nav {
        gap: 14px;
        font-size: 11px;
    }

    .fl-login-footer p {
        font-size: 11px;
    }
}

@media (min-width: 992px) {
    .fl-login-brand img {
        width: 125px;
    }

    .fl-login-collage {
        margin-top: -8px;
    }
}

/* ============================================================
   FanLink Register Page
============================================================ */

.fl-register-page {
    overflow-x: hidden;
}

.fl-register-page select {
    font: inherit;
}

.fl-register-page .fl-login-shell {
    align-items: stretch;
}

.fl-register-page .fl-login-visual {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 720px;
}

.fl-register-panel {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 48px;
    padding-bottom: 42px;
}

.fl-register-panel__inner {
    width: 100%;
    max-width: 570px;
    margin: auto;
}

.fl-register-page .fl-login-heading {
    margin-bottom: 28px;
}

.fl-register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fl-register-form .fl-form-group {
    margin: 0;
}

.fl-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fl-register-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fl-register-fieldset legend {
    width: auto;
    margin: 0 0 9px;
    padding: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.fl-birthday-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.25fr 1fr;
    gap: 12px;
}

.fl-select-wrap {
    position: relative;
}

.fl-select-wrap::after {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #667085;
    border-bottom: 1.5px solid #667085;
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.fl-select-wrap select {
    width: 100%;
    height: 58px;
    padding: 0 42px 0 16px;
    color: #172033;
    background-color: #eef4fd;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.fl-select-wrap select:hover {
    border-color: #c3cedd;
}

.fl-select-wrap select:focus {
    background-color: #fff;
    border-color: #ff4b16;
    box-shadow: 0 0 0 3px rgba(255, 75, 22, 0.12);
}

.fl-select-wrap select.is-invalid {
    border-color: #dc3545;
}

.fl-select-wrap--full select {
    padding-left: 49px;
}

.fl-select-wrap--full .fl-input-icon {
    z-index: 2;
}

.fl-optional-label {
    margin-left: 5px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 500;
}

.fl-register-terms {
    margin: -2px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

.fl-register-terms a {
    color: #ff4012;
    font-weight: 600;
}

.fl-register-page .fl-login-divider {
    margin-top: 24px;
    margin-bottom: 24px;
}

.fl-register-page .fl-login-footer {
    position: static;
    width: 100%;
    margin-top: 42px;
    transform: none;
}

/* Register page - laptop screens */

@media (min-width: 992px) and (max-height: 850px) {
    .fl-register-panel {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .fl-register-page .fl-login-heading {
        margin-bottom: 22px;
    }

    .fl-register-page .fl-login-heading h2 {
        font-size: 34px;
    }

    .fl-register-form {
        gap: 14px;
    }

    .fl-register-page .fl-input-wrap input,
    .fl-register-page .fl-select-wrap select {
        height: 53px;
    }

    .fl-register-page .fl-login-footer {
        margin-top: 30px;
    }
}

/* Register page - tablet */

@media (max-width: 991.98px) {
    .fl-register-page .fl-login-visual {
        position: relative;
        height: auto;
        min-height: 0;
    }

    .fl-register-panel {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .fl-register-panel__inner {
        max-width: 620px;
    }
}

/* Register page - mobile */

@media (max-width: 767.98px) {
    .fl-register-page .fl-login-visual {
        display: none;
    }

    .fl-register-panel {
        min-height: 100vh;
        padding: 30px 20px 36px;
    }

    .fl-register-panel__inner {
        max-width: 500px;
    }

    .fl-register-page .fl-login-mobile-brand {
        display: table;
        width: 126px;
        margin: 0 auto 36px;
    }

    .fl-register-page .fl-login-heading {
        margin-bottom: 26px;
        text-align: center;
    }

    .fl-register-page .fl-login-heading h2 {
        font-size: 28px;
    }

    .fl-register-page .fl-login-footer {
        margin-top: 36px;
    }
}

/* Register page - small mobile */

@media (max-width: 575.98px) {
    .fl-register-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fl-birthday-grid {
        grid-template-columns: 0.75fr 1.2fr 1fr;
        gap: 8px;
    }

    .fl-select-wrap select {
        height: 54px;
        padding-right: 31px;
        padding-left: 11px;
        font-size: 13px;
    }

    .fl-select-wrap::after {
        right: 12px;
        width: 7px;
        height: 7px;
    }

    .fl-select-wrap--full select {
        padding-left: 49px;
        font-size: 14px;
    }
}

/* Very narrow phones */

@media (max-width: 359.98px) {
    .fl-birthday-grid {
        grid-template-columns: 1fr;
    }
}

.fl-alert--warning {
    color: #8a5700;
    background-color: #fff8e6;
    border: 1px solid #f5d98b;
}

.fl-alert--warning > i {
    color: #e69b00;
}
/* ============================================================
   FanLink - Registration Step 2 / Profile Setup
============================================================ */

.fl-profile-step {
    margin-bottom: 24px;
}

.fl-profile-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.fl-profile-step__label {
    color: #ff4e16;
    font-size: 12px;
    font-weight: 700;
}

.fl-profile-step__status {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 500;
}

.fl-profile-step__track {
    position: relative;
    height: 4px;
    overflow: hidden;
    border-radius: 100px;
    background: #f0f2f5;
}

.fl-profile-step__track span {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    border-radius: inherit;
    background: #ff4e16;
}

/* Cover upload */
.fl-cover-upload {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px dashed #d0d5dd;
    border-radius: 14px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.fl-cover-upload:hover {
    border-color: #ff4e16;
    background: #fff9f6;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.fl-cover-upload__image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fl-cover-upload__image.is-visible {
    display: block;
}

.fl-cover-upload__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.fl-cover-upload__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #fff1eb;
    color: #ff4e16;
    font-size: 20px;
}

.fl-cover-upload__placeholder strong {
    margin-bottom: 4px;
    color: #101828;
    font-size: 14px;
    font-weight: 700;
}

.fl-cover-upload__placeholder small {
    color: #98a2b3;
    font-size: 12px;
}

.fl-cover-upload__action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.fl-cover-upload:has(.fl-cover-upload__image.is-visible)
    .fl-cover-upload__action {
    display: inline-flex;
}

/* Avatar upload */
.fl-avatar-upload-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.fl-avatar-upload {
    position: relative;
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    cursor: pointer;
}

.fl-avatar-upload__image,
.fl-avatar-upload__placeholder {
    width: 104px;
    height: 104px;
    border-radius: 50%;
}

.fl-avatar-upload__image {
    display: none;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 1px #e4e7ec,
        0 8px 24px rgba(16, 24, 40, 0.08);
}

.fl-avatar-upload__image.is-visible {
    display: block;
}

.fl-avatar-upload__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e7ec;
    background: #f2f4f7;
    color: #98a2b3;
    font-size: 42px;
}

.fl-avatar-upload__camera {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff4e16;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 78, 22, 0.25);
}

.fl-avatar-upload-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.fl-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 38px;
    padding: 0 14px;

    margin-bottom: 8px;

    cursor: pointer;

    border: 1px solid #ff4e16;
    border-radius: 9px;

    background: #fff7f3;
    color: #ff4e16;

    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.fl-upload-button:hover {
    background: #ff4e16;
    border-color: #ff4e16;
    color: #ffffff;
}

.fl-avatar-upload-info p {
    max-width: 300px;
    margin: 0;

    color: #98a2b3;

    font-size: 12px;
    line-height: 1.5;
}

/* Skip */
.fl-profile-skip-form {
    margin-top: 12px;
    text-align: center;
}

.fl-profile-skip {
    padding: 7px 14px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.fl-profile-skip:hover {
    color: #ff4e16;
}

/* Mobile */
@media (max-width: 575.98px) {
    .fl-cover-upload {
        height: 160px;
    }

    .fl-avatar-upload-row {
        align-items: flex-start;
        gap: 15px;
    }

    .fl-avatar-upload,
    .fl-avatar-upload__image,
    .fl-avatar-upload__placeholder {
        width: 86px;
        height: 86px;
    }

    .fl-avatar-upload {
        flex-basis: 86px;
    }

    .fl-avatar-upload__placeholder {
        font-size: 34px;
    }

    .fl-avatar-upload__camera {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ============================================================
   Profile Setup Fixes
============================================================ */

.fl-hidden-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ------------------------------------------------------------
   Cover
------------------------------------------------------------ */

.fl-cover-upload {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px dashed #d0d5dd;
    border-radius: 14px;
    background: #f8fafc;
    transition: 0.2s ease;
}

.fl-cover-upload:hover {
    border-color: #ff4e16;
    background: #fffaf7;
}

.fl-cover-upload__image {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fl-cover-upload__image.is-visible {
    display: block;
}

.fl-cover-upload__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.fl-cover-upload__placeholder.is-hidden {
    display: none;
}

.fl-cover-upload__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #fff0e9;
    color: #ff4e16;
    font-size: 19px;
}

.fl-cover-upload__placeholder strong {
    margin-bottom: 4px;
    color: #101828;
    font-size: 14px;
    font-weight: 700;
}

.fl-cover-upload__placeholder small {
    color: #98a2b3;
    font-size: 12px;
}

.fl-cover-upload__action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.fl-cover-upload__action.is-visible {
    display: inline-flex;
}

/* ------------------------------------------------------------
   Profile photo
------------------------------------------------------------ */

.fl-avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fl-avatar-upload {
    position: relative;
    display: block;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    cursor: pointer;
}

.fl-avatar-upload__image,
.fl-avatar-upload__placeholder {
    position: absolute;
    inset: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

.fl-avatar-upload__image {
    z-index: 2;
    display: none;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 1px #e4e7ec,
        0 6px 18px rgba(16, 24, 40, 0.08);
}

.fl-avatar-upload__image.is-visible {
    display: block;
}

.fl-avatar-upload__placeholder {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e7ec;
    background: #f2f4f7;
    color: #98a2b3;
    font-size: 38px;
}

.fl-avatar-upload__placeholder.is-hidden {
    display: none;
}

.fl-avatar-upload__camera {
    position: absolute;
    right: -2px;
    bottom: 1px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff4e16;
    color: #fff;
    font-size: 13px;
}

.fl-avatar-upload-info {
    flex: 1;
    min-width: 0;
}

.fl-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    margin-bottom: 7px;
    cursor: pointer;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.fl-upload-button:hover {
    border-color: #ff4e16;
    color: #ff4e16;
}

.fl-avatar-upload-info p {
    max-width: 300px;
    margin: 0;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.55;
}

/* Mobile */

@media (max-width: 575.98px) {
    .fl-cover-upload {
        height: 155px;
    }

    .fl-avatar-upload {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
    }

    .fl-avatar-upload__image,
    .fl-avatar-upload__placeholder {
        width: 82px;
        height: 82px;
    }

    .fl-avatar-upload__placeholder {
        font-size: 32px;
    }

    .fl-avatar-upload-row {
        gap: 14px;
    }
}

/* ============================================================
   PROFILE CROP MODAL
============================================================ */

body.fl-crop-open {
    overflow: hidden !important;
}

.fl-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.fl-crop-modal.is-open {
    display: flex;
}

.fl-crop-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(4px);
}

.fl-crop-modal__dialog {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 48px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;
    border-radius: 18px;

    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

/* Header */

.fl-crop-modal__header {
    flex-shrink: 0;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px 16px;

    border-bottom: 1px solid #eaecf0;
}

.fl-crop-modal__header h3 {
    margin: 0 0 5px;

    color: #101828;

    font-size: 18px;
    font-weight: 700;
}

.fl-crop-modal__header p {
    margin: 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.5;
}

.fl-crop-modal__close {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f2f4f7;
    color: #475467;

    cursor: pointer;

    font-size: 15px;
}

.fl-crop-modal__close:hover {
    background: #eaecf0;
    color: #101828;
}

/* Crop body */

.fl-crop-modal__body {
    padding: 20px 22px;

    overflow: hidden;
}

.fl-crop-stage {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    background: #101828;
    border-radius: 14px;
}

.fl-crop-stage > img {
    display: block;

    max-width: 100%;
}

/* Cropper */

.fl-crop-stage .cropper-container {
    width: 100% !important;
    height: 100% !important;
}

.fl-crop-modal .cropper-view-box {
    outline: 2px solid #ffffff;
    outline-color: rgba(255, 255, 255, 0.95);
}

.fl-crop-modal .cropper-line {
    background-color: #ffffff;
}

.fl-crop-modal .cropper-point {
    display: none;
}

/* Zoom */

.fl-crop-modal__toolbar {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 0 22px 18px;

    color: #667085;

    font-size: 12px;
    font-weight: 600;
}

.fl-crop-tool {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #d0d5dd;
    border-radius: 9px;

    background: #ffffff;
    color: #344054;

    cursor: pointer;
}

.fl-crop-tool:hover {
    border-color: #ff4e16;
    color: #ff4e16;
}

/* Footer */

.fl-crop-modal__footer {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    padding: 16px 22px 20px;

    border-top: 1px solid #eaecf0;
}

.fl-crop-cancel {
    min-height: 44px;

    padding: 0 18px;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    background: #ffffff;
    color: #344054;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

.fl-crop-cancel:hover {
    background: #f9fafb;
}

.fl-crop-apply {
    width: auto !important;
    min-width: 150px;
    min-height: 44px;

    margin: 0 !important;

    padding: 0 20px !important;
}

/* Mobile */

@media (max-width: 575.98px) {
    .fl-crop-modal {
        padding: 12px;
    }

    .fl-crop-modal__dialog {
        max-height: calc(100vh - 24px);
        border-radius: 15px;
    }

    .fl-crop-stage {
        height: 300px;
    }

    .fl-crop-modal__header {
        padding: 17px 18px 14px;
    }

    .fl-crop-modal__body {
        padding: 16px 18px;
    }

    .fl-crop-modal__toolbar {
        padding: 0 18px 15px;
    }

    .fl-crop-modal__footer {
        display: grid;
        grid-template-columns: 1fr 1fr;

        padding: 14px 18px 18px;
    }

    .fl-crop-cancel,
    .fl-crop-apply {
        width: 100% !important;
    }
}

.fl-crop-modal__dialog--cover {
    max-width: 760px;
}

.fl-cover-crop-stage {
    position: relative;

    width: 100%;
    height: 340px;

    overflow: hidden;

    border-radius: 14px;

    background: #101828;
}

.fl-cover-crop-stage > img {
    display: block;
    max-width: 100%;
}

.fl-cover-crop-stage .cropper-container {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 767.98px) {
    .fl-crop-modal__dialog--cover {
        max-width: 100%;
    }

    .fl-cover-crop-stage {
        height: 280px;
    }
}

/* ============================================================
   Profile photo upload - final alignment
============================================================ */

.fl-avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fl-avatar-upload-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

/* Choose / Change photo */
.fl-upload-button {
    display: inline-flex;
    width: auto;
    min-width: 0;
    min-height: 38px;

    align-items: center;
    justify-content: center;
    gap: 7px;

    margin: 0 0 7px;
    padding: 10px 14px;

    color: #344054;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 9px;

    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background-color 0.18s ease;
}

.fl-upload-button i {
    color: #667085;
    font-size: 14px;
    transition: color 0.18s ease;
}

/* Hover - DON'T fill orange */
.fl-upload-button:hover {
    color: #ff4e16;
    background: #fff7f3;
    border-color: #ff4e16;
}

.fl-upload-button:hover i {
    color: #ff4e16;
}

.fl-avatar-upload-info p {
    max-width: 310px;
    margin: 0;

    color: #98a2b3;
    font-size: 12px;
    line-height: 1.55;
}
