/* offer105 — standalone styles (brand vars from TEMPLATESUB.css) */

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5rem;
    /*color: var(--main-text-color, #333);*/
    overflow-x: hidden;
}

#registration.offer105,
.offer105-profile,
.offer105-funnel-modal {
    --offer105-radius: 12px;
    --offer105-radius-lg: 16px;
    --offer105-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-family: var(--offer105-font);
}

/*
 * Block template/custom.css title fonts (often h1–h4 with !important + rotate).
 * Keep offer105 typography independent of TEMPLATESUB display fonts.
 */
body.offer105-body .offer105-profile :is(h1, h2, h3, h4, h5),
body.offer105-body .offer105-hero-name,
body.offer105-body .offer105-section-title,
body.offer105-body .offer105-related-name,
#registration.offer105 :is(h1, h2, h3, h4, h5),
#registration.offer105 .modal-title,
#registration.offer105 .offer105-step-title,
.offer105-funnel-modal :is(h1, h2, h3, h4, h5),
.offer105-funnel-modal .modal-title,
.offer105-funnel-modal .offer105-step-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-style: normal !important;
    font-stretch: normal !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
}

body.offer105-body .offer105-profile h1.offer105-hero-name,
body.offer105-body .offer105-hero-name {
    font-size: 1.75rem !important;
}

body.offer105-body .offer105-profile h2.offer105-section-title,
body.offer105-body h2.offer105-section-title {
    font-size: 1.25rem !important;
    /*color: var(--body-text-color, var(--main-text-color, #2a2a2a));*/
}

body.offer105-body .offer105-related-name {
    font-size: 0.92rem !important;
}

#registration.offer105 h5.modal-title,
.offer105-funnel-modal h5.modal-title,
#registration.offer105 .modal-title,
.offer105-funnel-modal .modal-title {
    font-size: 1.1rem !important;
}

#registration.offer105 h5.offer105-step-title,
.offer105-funnel-modal h5.offer105-step-title,
#registration.offer105 .offer105-step-title,
.offer105-funnel-modal .offer105-step-title {
    font-size: 1.25rem !important;
}

@media (min-width: 768px) {
    body.offer105-body .offer105-profile h1.offer105-hero-name,
    body.offer105-body .offer105-hero-name {
        font-size: 1.75rem !important;
    }
}

.bold {
    font-weight: bold;
}

.btn {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--offer105-radius, 12px);
    letter-spacing: 0.01em;
}

.btn-brand {
    background-color: var(--btn-primary-bg-color);
    color: var(--btn-primary-text-color);
    box-shadow: 0 2px 10px color-mix(in srgb, var(--btn-primary-bg-color) 30%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:focus-visible,
.btn-brand:active {
    background-color: var(--btn-primary-hover-bg-color);
    color: var(--btn-primary-hover-text-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--btn-primary-bg-color) 38%, transparent);
    outline: none;
}

#registration.offer105 .btn-secondary {
    border-radius: var(--offer105-radius, 12px);
    font-weight: 600;
}

/* Focus must never differ from normal/hover for offer105 buttons */
body.offer105-body .btn:focus,
body.offer105-body .btn:focus-visible,
body.offer105-body .btn:active,
body.offer105-body button:focus,
body.offer105-body button:focus-visible,
body.offer105-body button:active,
#registration.offer105 .btn:focus,
#registration.offer105 .btn:focus-visible,
#registration.offer105 .btn:active,
#registration.offer105 button:focus,
#registration.offer105 button:focus-visible,
#registration.offer105 button:active,
.offer105-funnel-modal .btn:focus,
.offer105-funnel-modal .btn:focus-visible,
.offer105-funnel-modal .btn:active,
.offer105-funnel-modal button:focus,
.offer105-funnel-modal button:focus-visible,
.offer105-funnel-modal button:active {
    outline: none !important;
}

#registration.offer105 .btn-secondary:focus,
#registration.offer105 .btn-secondary:focus-visible,
#registration.offer105 .btn-secondary:active,
#registration.offer105 .btn_previous:focus,
#registration.offer105 .btn_previous:focus-visible,
#registration.offer105 .btn_previous:active,
.offer105-funnel-modal .btn-secondary:focus,
.offer105-funnel-modal .btn-secondary:focus-visible,
.offer105-funnel-modal .btn-secondary:active {
    outline: none !important;
    box-shadow: none !important;
}

#registration.offer105 .btn-brand:focus,
#registration.offer105 .btn-brand:focus-visible,
#registration.offer105 .btn-brand:active,
.offer105-funnel-modal .btn-brand:focus,
.offer105-funnel-modal .btn-brand:focus-visible,
.offer105-funnel-modal .btn-brand:active {
    background-color: var(--btn-primary-hover-bg-color) !important;
    color: var(--btn-primary-hover-text-color) !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--btn-primary-bg-color) 38%, transparent) !important;
}

#registration.offer105 .btn-social:focus,
#registration.offer105 .btn-social:focus-visible,
#registration.offer105 .btn-social:active {
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Legacy full-page step chrome unused in modal flow */
.step {
    display: none;
}

.spinner-border {
    color: var(--btn-primary-bg-color);
}

.btn .spinner-border {
    color: var(--btn-primary-text-color);
}

/* --- Registration shell --- */

#registration.offer105 {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Background layers (crossfade between steps) --- */

.offer105-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.offer105-bg-layer {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.offer105-bg-layer.is-active {
    opacity: 1;
}

@media (min-width: 768px) {
    .offer105-bg {
        right: 50%;
    }

    .offer105-bg-layer {
        -webkit-mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 28%,
            rgb(0 0 0 / 0.88) 44%,
            rgb(0 0 0 / 0.62) 58%,
            rgb(0 0 0 / 0.38) 72%,
            rgb(0 0 0 / 0.16) 86%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 28%,
            rgb(0 0 0 / 0.88) 44%,
            rgb(0 0 0 / 0.62) 58%,
            rgb(0 0 0 / 0.38) 72%,
            rgb(0 0 0 / 0.16) 86%,
            transparent 100%
        );
    }
}

@media (max-width: 767px) {
    .offer105-bg-layer {
        background-size: cover;
        background-position: center top;
    }
}

/* --- Page layout --- */

#registration.offer105 #Page1 {
    position: relative;
    z-index: 1;
}

#registration.offer105 .offer105-form-col {
    position: relative;
    z-index: 2;
}

#Page1 .logo-area {
    text-align: center;
    position: relative;
    padding-top: 0 !important;
}

#Page1 .logo-area img {
    padding: 24px 0 32px;
    width: 100%;
    max-width: 280px;
}

.offer105-step-loader,
.offer105-step-loader.is-active,
.offer105-step-loader span {
    display: none !important;
}

#registration.offer105 #Page1 .logo-area.offer105-logo-pending {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}

#registration.offer105 #Page1 .logo-area:not(.offer105-logo-pending) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s;
}

#Page1 .logo-area p {
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.5rem;
    font-size: 20px;
}

/* Card chrome removed in offer105: form content lives directly in the funnel modal */


/* Step title styles live with .offer105-step-head below */

#registration.offer105 .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

#registration.offer105 .form-control,
#registration.offer105 .form-select {
    border-radius: var(--offer105-radius, 12px);
    border: 1.5px solid #e5e7eb;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1d21;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#registration.offer105 .form-control:focus,
#registration.offer105 .form-select:focus {
    border-color: var(--btn-primary-bg-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary-bg-color) 18%, transparent);
}

#registration.offer105 .offer105-step-body p,
#registration.offer105 .question {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4b5563;
}

#Page1 .btn {
    width: 100%;
}

@media (min-width: 768px) {
    #registration.offer105 #Page1 .row.justify-content-md-center {
        min-height: 100vh;
        align-items: center;
        padding-top: 64px;
        padding-bottom: 32px;
    }

    #registration.offer105 #Page1 .logo-area p {
        max-width: 400px;
        margin: 0 0 24px;
        line-height: 2rem;
        font-size: 28px;
    }

    #registration.offer105 #Page1 .logo-area img {
        filter: none;
    }
}

@media (max-width: 767px) {
    #registration.offer105 #Page1 .logo-area img {
        padding-bottom: 16px;
    }

    #registration.offer105 .form-label,
    #registration.offer105 .offer105-step-body p,
    #registration.offer105 .question,
    #registration.offer105 .form-check-label,
    #registration.offer105 #Page1,
    #registration.offer105 .offer105-step-title,
    #registration.offer105 .form-control,
    #registration.offer105 .form-select,
    #registration.offer105 #togglePassword,
    #registration.offer105 .social-email-confirmed,
    #registration.offer105 fieldset .alert,
    #registration.offer105 #location-container,
    #registration.offer105 #f9 .form-check,
    #registration.offer105 #f11 p {
        color: #1a1d21;
    }

    #registration.offer105 .form-select:has(option[value=""]:checked) {
        color: #1a1d21;
    }

    #registration.offer105 .form-check-label a,
    #registration.offer105 .social-email-confirmed a {
        color: var(--btn-primary-bg-color);
    }
}

/* --- Speech bubble (photo area) --- */

.offer105-bubble {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.offer105-bubble.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

@media (min-width: 768px) {
    .offer105-bubble {
        right: 50%;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.offer105-bubble-card {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: scale(0.82) translateY(12px);
}

.offer105-bubble.is-visible .offer105-bubble-card.is-replay {
    animation: offer105-bubble-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes offer105-bubble-pop {
    0% {
        opacity: 0;
        transform: scale(0.82) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.offer105-bubble-card::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 9px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.04));
}

.offer105-bubble-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1d21;
    text-align: center;
    letter-spacing: -0.01em;
}

#registration.offer105 .flag {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 64px;
    border-radius: 4px;
    opacity: 0.8;
    z-index: 3;
}

/* --- Form elements --- */

fieldset .alert {
    margin-top: 16px;
}

fieldset .alert .bold {
    margin-left: 8px;
}

fieldset .alert .bi {
    margin-right: 8px;
}

.error {
    color: red;
    margin-top: 8px;
}

.question span {
    color: red;
}

fieldset .btn:not(:last-child) {
    margin-bottom: 8px;
}

#f3 .col-6:first-child {
    padding-right: 6px;
}

#f3 .col-6:last-child {
    padding-left: 6px;
}

#f5 .col-4:nth-child(2) {
    padding: 0;
}

#f6 .btn-brand {
    margin-top: 16px;
}

#f6 hr {
    margin: 1.25rem 0;
}

#f6 .badge {
    position: relative;
    top: -1px;
    left: 2px;
    color: #055160;
    background-color: #cff4fc !important;
}

#f6 .alert-info .bi {
    margin-right: 8px;
}

#f9 .form-check {
    font-size: 12px;
    line-height: 16px;
    padding-left: 2.5rem;
}

#f9 .form-check .form-check-input {
    float: left;
    margin-left: -1.5rem;
    width: 1rem;
    height: 1rem;
}

#f11 p {
    position: relative;
    top: -32px;
    left: 44px;
    margin-bottom: -16px;
}

#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #212529;
}

.review_eye {
    cursor: pointer;
    margin-left: 6px;
    opacity: 0.6;
}

/* --- Location suggest (in-flow so long lists stay usable in the modal) --- */

#registration.offer105 .stad {
    position: relative;
}

#registration.offer105 .offer105-location-wrap,
#registration.offer105 #relative {
    position: static;
}

#registration.offer105 #location-container,
#registration.offer105 .offer105-location-dropdown {
    position: relative;
    left: auto;
    top: auto;
    z-index: 5;
    width: 100%;
    max-height: min(240px, 42vh);
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: #333;
    background: #fff;
}

#registration.offer105 #location-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#registration.offer105 #location-container ul li {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    min-height: 44px;
    line-height: 1.35;
    padding: 12px 14px;
    font-size: 0.9rem;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 1px solid #f3f4f6;
}

#registration.offer105 #location-container ul li:last-child {
    border-bottom: none;
}

#registration.offer105 #location-container ul li:hover {
    background-color: color-mix(in srgb, var(--btn-primary-bg-color) 10%, #fff) !important;
    color: #1a1d21 !important;
}

#registration.offer105 #location-suggest {
    padding-left: 0;
}

/* Keep modal content from clipping the city list */
.offer105-funnel-modal .modal-dialog,
.offer105-funnel-modal .modal-content,
.offer105-funnel-modal #offer105-pane-register,
.offer105-funnel-modal #Page1 {
    overflow: visible;
}

/* --- Social sign-in --- */

.social-signin-form {
    margin-bottom: .5rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .75rem 1rem;
    border-radius: var(--offer105-radius, 12px);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.btn-google-new,
.btn-microsoft {
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
}

.btn-google-new:hover,
.btn-microsoft:hover {
    background: #f8f9fa;
    color: #3c4043;
}

.social-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-yahoo {
    background: #7E1FFF;
    color: #fff;
}

.btn-yahoo:hover {
    filter: brightness(1.08);
}

.btn-yahoo .social-icon-yahoo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ms-logo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ms-logo span {
    display: block;
}

.ms-logo span:nth-child(1) { background: #F25022; }
.ms-logo span:nth-child(2) { background: #7FBA00; }
.ms-logo span:nth-child(3) { background: #00A4EF; }
.ms-logo span:nth-child(4) { background: #FFB900; }

.btn-netid {
    background: #76b82a;
    color: #fff;
}

.btn-netid:hover {
    filter: brightness(1.08);
}

.btn-netid::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><path fill='white' d='M30.3 4.1a14.5 14.5 0 00-6-2.7C20.7 1 17 2 13.6 5.3L7 12.1l-6.9 7 19.8 19.8 8.8-8.9 5-4.9c3-3.1 4.2-6.7 3.8-10a12.9 12.9 0 00-1-3.8l-2 2a10 10 0 01.6 2c.3 2.7-.5 5.4-3.2 8l-4.9 5-16.3-16.4L15.5 7c3-3 5.7-3.6 8.3-3.1 1.6.2 3.2 1 4.7 2z'/><path fill='white' d='M37.7 1.1l-12.9 13-4.6-4.7-2.3 2.3 6.9 7L40 3.5z'/></svg>") center/contain no-repeat;
}

.social-via-badge {
    position: relative;
    top: -1px;
}

.social-email-confirmed {
    font-size: .9rem;
}

.social-email-confirmed .bi {
    vertical-align: -0.125em;
}

.social-email-confirmed .social-change-method {
    display: inline-block;
    margin-top: 0.25rem;
}

/* --- Variation list --- */

#Page1.variation-list {
    padding-top: 48px;
}

#Page1.variation-list .logo-area {
    text-align: center;
    padding-top: 0;
    margin-bottom: 16px;
}

#Page1.variation-list .variation-list-item {
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

#Page1.variation-list .variation-list-item::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

#Page1.variation-list .variation-list-item .card-img-top {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

#Page1.variation-list img,
.flag.variation-list {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

#registration.offer105 #Page1.variation-list .form-card-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 16px;
    z-index: 10;
    pointer-events: none;
}

#registration.offer105 #Page1.variation-list .form-card-wrap .form-card {
    pointer-events: auto;
    margin: 0;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    animation-fill-mode: both;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.flag.variation-list {
    width: 400px;
    opacity: 0.1;
    max-width: calc(100% - 32px);
    rotate: 10deg;
}

/* --- Profile landing (FH-style) --- */

body.offer105-body {
    margin: 0;
}

.offer105-profile {
    --offer105-soft-bg: color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 14%, #fff);
    --offer105-soft-bg-strong: color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 18%, #fff);
    --offer105-bar-bg: var(--navbar-bg-color, #1a1a1a);
    --offer105-bar-text: var(--navbar-text-color, #fff);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.offer105-header {
    background: var(--offer105-bar-bg);
    color: var(--offer105-bar-text);
    padding: 12px 20px;
}

.offer105-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Size comes from TEMPLATESUB .logo / .logo-logged-out */
.offer105-header-logo,
.offer105-header .logo,
.offer105-header .logo-logged-out {
    width: auto;
    object-fit: contain;
    margin-top: 0;
}

@media (min-width: 768px) {
    .offer105-header {
        padding: 14px 32px;
    }

    .offer105-header-inner {
        justify-content: flex-start;
    }
}

.offer105-main {
    flex: 1;
    padding: 24px 16px 48px;
}

.offer105-container {
    max-width: 1100px;
    margin: 0 auto;
}

.offer105-hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "photo"
        "about"
        "actions";
    gap: 16px;
    margin-bottom: 36px;
}

.offer105-hero-photo-wrap {
    grid-area: photo;
}

.offer105-hero-about {
    grid-area: about;
}

.offer105-hero-actions {
    grid-area: actions;
}

.offer105-hero-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: var(--btn-primary-bg-color);
}

.offer105-btn-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 10px;
    background-color: var(--btn-primary-bg-color);
    color: var(--btn-primary-text-color, #fff);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--btn-primary-bg-color) 28%, transparent);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.offer105-btn-message:hover,
.offer105-btn-message:focus,
.offer105-btn-message:focus-visible,
.offer105-btn-message:active {
    background-color: var(--btn-primary-hover-bg-color, var(--btn-primary-bg-color));
    color: var(--btn-primary-hover-text-color, #fff);
    transform: translateY(-1px);
    outline: none !important;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--btn-primary-bg-color) 28%, transparent) !important;
}

.offer105-btn-message .bi {
    font-size: 1.05rem;
}

.offer105-hero-about {
    background: transparent;
    border-radius: 12px;
    padding: 0;
}

.offer105-hero-name {
    margin: 0 0 10px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--body-text-color, var(--main-text-color, #2a2a2a));
    padding: 0 !important;
}

.offer105-hero-location {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #666;
}

.offer105-hero-bio {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--body-text-color, var(--main-text-color, #444));
}

@media (min-width: 768px) {
    .offer105-main {
        padding: 32px 24px 64px;
    }

    .offer105-hero {
        grid-template-columns: minmax(280px, 360px) 1fr;
        grid-template-areas:
            "photo about"
            "actions .";
        gap: 12px 28px;
        align-items: start;
    }

    .offer105-hero-about {
        background: var(--offer105-soft-bg);
        padding: 28px 26px;
        align-self: stretch;
    }

    .offer105-hero-name {
        font-size: 2rem;
        color: #2a2a2a;
    }

    .offer105-hero-bio {
        color: #444;
    }

    .offer105-hero-actions {
        margin-top: 0;
    }
}

.offer105-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0 !important;
}

.offer105-section-title .bi {
    color: #888;
    font-size: 1.1rem;
}

.offer105-info {
    margin-bottom: 40px;
}

.offer105-info-panel {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
    overflow: hidden;
}

.offer105-info-list {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
}

.offer105-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.offer105-info-item:last-child {
    border-bottom: none;
}

.offer105-info-label {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.35;
}

.offer105-info-value {
    margin: 0;
    flex: 0 1 auto;
    max-width: 58%;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    text-align: right;
    line-height: 1.35;
    word-break: break-word;
}

@media (min-width: 768px) {
    .offer105-info-list {
        grid-template-columns: 1fr 1fr;
    }

    .offer105-info-item:nth-child(odd) {
        border-right: 1px solid rgba(17, 24, 39, 0.06);
    }

    .offer105-info-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .offer105-info-item:nth-child(even):last-child {
        border-bottom: none;
    }
}

.offer105-related {
    margin-bottom: 24px;
}

.offer105-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.offer105-related-card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offer105-related-card:hover,
.offer105-related-card:focus,
.offer105-related-card:focus-visible,
.offer105-related-card:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    outline: none !important;
}

.offer105-related-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--btn-primary-bg-color);
}

.offer105-related-body {
    padding: 10px 12px 12px;
}

.offer105-related-name {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #222;
}

.offer105-related-status {
    margin: 0 0 4px;
    font-size: 0.78rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer105-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    flex-shrink: 0;
}

.offer105-related-status--online .offer105-status-dot,
.offer105-related-status--today .offer105-status-dot {
    background: #22c55e;
}

.offer105-related-status--yesterday .offer105-status-dot {
    background: #f59e0b;
}

.offer105-related-status--week .offer105-status-dot {
    background: #9ca3af;
}

.offer105-related-relation {
    margin: 0;
    font-size: 0.8rem;
    color: #555;
}

@media (min-width: 768px) {
    .offer105-related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

.offer105-footer {
    background: var(--offer105-bar-bg);
    color: var(--offer105-bar-text);
    padding: 20px 16px;
    margin-top: auto;
}

.offer105-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.offer105-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--offer105-bar-text) 70%, transparent);
}

/* --- Message modal --- */

.offer105-message-modal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.offer105-message-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 16px 18px;
}

.offer105-message-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.offer105-message-modal .modal-body {
    padding: 18px;
}

.offer105-message-input {
    min-height: 130px;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.offer105-message-input:focus {
    border-color: var(--btn-primary-bg-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary-bg-color) 14%, transparent);
}

.offer105-char-count {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: #888;
    text-align: right;
}

.offer105-message-modal .modal-footer {
    border-top: 1px solid #eee;
    padding: 14px 18px;
}

.offer105-send-btn {
    width: 100%;
}

.offer105-send-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    .offer105-header-inner {
        justify-content: center;
    }
}

/* --- Funnel modal (message + registration card) --- */

#registration.offer105 {
    min-height: 0;
    overflow: visible;
}

.offer105-funnel-modal .modal-dialog {
    max-width: 420px;
    margin: 1.25rem auto;
}

.offer105-funnel-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.offer105-funnel-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 16px 18px;
}

.offer105-funnel-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.offer105-funnel-modal .modal-body {
    padding: 18px;
}

.offer105-funnel-modal .modal-footer {
    border-top: 1px solid #eee;
    padding: 14px 18px;
}

/* --- Message sent step (loading → success) --- */

#offer105-pane-sent {
    padding: 8px 0 4px;
}

.offer105-sent-wrap {
    padding: 20px 18px 22px;
    text-align: center;
}

.offer105-sent-anim {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
}

.offer105-sent-loader,
.offer105-sent-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.offer105-sent-loader {
    background: color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 12%, #fff);
}

.offer105-sent-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 18%, transparent);
    border-top-color: var(--btn-primary-bg-color, #e74c3c);
    animation: offer105-sent-spin 0.85s linear infinite;
}

.offer105-sent-loader-icon {
    font-size: 1.35rem;
    color: var(--btn-primary-bg-color, #e74c3c);
    animation: offer105-sent-pulse 0.85s ease-in-out infinite;
}

.offer105-sent-check {
    background: var(--btn-primary-bg-color, #e74c3c);
    color: #fff;
    opacity: 0;
    transform: scale(0.55);
    /*box-shadow: 0 8px 24px color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 35%, transparent); */
}

.offer105-sent-check .bi {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.offer105-sent-status {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
}

.offer105-sent-result {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

.offer105-sent-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
}

.offer105-sent-body {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4b5563;
    text-align: left;
}

.offer105-sent-usps {
    list-style: none;
    margin: 0 0 18px;
    padding: 14px 14px 6px;
    background: color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 7%, #f8f9fb);
    border: 1px solid color-mix(in srgb, var(--btn-primary-bg-color, #e74c3c) 12%, #e5e7eb);
    border-radius: 12px;
    text-align: left;
}

.offer105-sent-usps li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #374151;
    font-weight: 500;
}

.offer105-sent-usps .bi {
    flex-shrink: 0;
    position: relative;
    top: -1px;
    color: var(--btn-primary-bg-color, #e74c3c);
    font-size: 0.95rem;
}

.offer105-sent-cta {
    width: 100%;
}

.offer105-sent-wrap.is-loading .offer105-sent-check {
    opacity: 0;
    transform: scale(0.55);
}

.offer105-sent-wrap.is-loading .offer105-sent-loader {
    opacity: 1;
    transform: scale(1);
}

.offer105-sent-wrap.is-success .offer105-sent-loader {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.offer105-sent-wrap.is-success .offer105-sent-check {
    animation: offer105-sent-check-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.offer105-sent-wrap.is-success .offer105-sent-status {
    display: none;
}

.offer105-sent-wrap.is-success .offer105-sent-result {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
}

@keyframes offer105-sent-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes offer105-sent-pulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-2px);
        opacity: 0.75;
    }
}

@keyframes offer105-sent-check-pop {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }
    65% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer105-sent-loader-ring,
    .offer105-sent-loader-icon,
    .offer105-sent-check {
        animation: none !important;
    }

    .offer105-sent-wrap.is-success .offer105-sent-check {
        opacity: 1;
        transform: scale(1);
    }

    .offer105-sent-result {
        transition: none;
    }
}

#offer105-pane-register {
    position: relative;
    padding: 8px 0 4px;
}

#registration.offer105 #Page1 {
    position: relative;
}

#registration.offer105 #Page1 fieldset.is-active.offer105-step-in {
    animation: offer105-step-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#registration.offer105 #Page1 fieldset.is-active.offer105-step-in-back {
    animation: offer105-step-in-back 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes offer105-step-in {
    from {
        opacity: 0;
        transform: translate3d(18px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes offer105-step-in-back {
    from {
        opacity: 0;
        transform: translate3d(-18px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #registration.offer105 #Page1 fieldset.is-active.offer105-step-in,
    #registration.offer105 #Page1 fieldset.is-active.offer105-step-in-back {
        animation: none;
    }
}

#registration.offer105 .offer105-step-body {
    padding: 12px 18px 18px;
}

#registration.offer105 .offer105-step-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}

#registration.offer105 .offer105-step-title {
    margin: 0;
    flex: 1 1 auto;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #1a1d21;
    padding: 0 !important;
}

#registration.offer105 .offer105-step-encourage {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--btn-primary-bg-color, #e74c3c);
    white-space: nowrap;
}

#registration.offer105 .offer105-step-body p,
#registration.offer105 .question {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4b5563;
}

#registration.offer105 #Page1 .btn {
    width: 100%;
}

@media (max-width: 767px) {
    .offer105-funnel-modal .modal-dialog {
        margin: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    /* Message step: pin modal to top so footer stays above the keyboard */
    .offer105-funnel-modal.offer105-modal-message-step {
        align-items: flex-start;
        padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .offer105-funnel-modal.offer105-modal-message-step .modal-dialog {
        margin: 0.75rem auto;
        max-height: calc(100dvh - 1rem);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .offer105-funnel-modal.offer105-modal-message-step .modal-content {
        max-height: inherit;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .offer105-funnel-modal.offer105-modal-message-step #offer105-pane-message {
        display: flex !important;
        flex-direction: column;
        max-height: inherit;
        min-height: 0;
    }

    .offer105-funnel-modal.offer105-modal-message-step #offer105-pane-message .modal-header,
    .offer105-funnel-modal.offer105-modal-message-step #offer105-pane-message .modal-footer {
        flex-shrink: 0;
    }

    .offer105-funnel-modal.offer105-modal-message-step #offer105-pane-message .modal-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .offer105-funnel-modal.offer105-modal-message-step .offer105-message-input {
        min-height: 72px;
        max-height: 96px;
    }
}
