* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    cursor: default;
    /* scrollbar-width: thin;
  scrollbar-color: #3E357C #8b86b0 ; */
}

*::-webkit-scrollbar {
    width: 5px;
    padding: 20px;
    height: 50%;
}

*::-webkit-scrollbar-track {
    background: #baa1ca;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background-color: #8C62A6;
    border-radius: 999px;
    width: 6px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #AA2B82;
}

*::-webkit-scrollbar-corner  {
    background: transparent;
}

a {
    cursor: pointer;
}

:root {
    --red: #D10000;
    --soft-red: #FF8A8A;
    --black: #000000;
    --white: #ffffff;
    --soft-yellow: #EAD471;
    --dark-yellow: #66560F;
    --off-white: #e3e5ea;
    --purple-gray: #8C62A6;
    --purple-gray-soft: #baa1ca;
    --light-purple: #654D99;
    --light-purple-soft: #a394c2;
    --blue-gray: #3E357C;
    --blue-gray-soft: #8b86b0;
    --dark-indigo: #191645;
    --extra-dark-indigo: #0a091c;
    --dark-indigo-soft: #75738f;
    --blue: #1e40af;
    --soft-pink: #aa2b824d;
    --clear-pink: #E8A1D1;
    --dark-pink: #AA2B82;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.143;
    text-transform: none;
    text-align: center;
    font-variant: small-caps
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.7em;
    padding: 0 0 1.5em 0;
}

h2.pagemiddle {
    padding: 1.5em 0;
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1em;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.4;
}

h3 {
    font-size: 2.4em;
    padding-bottom: 20px;
}

h4 {
    font-size: 1.5em;
    padding: 1em 0;
}

.privacy-policy h4,
.terms-of-service h4 {
    text-align: left;
}

body {
    position: relative;
    background: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    color: var(--dark-indigo);
    background-color: var(--off-white);
    background-image: url('../img/backgrounds/soft-bg-v2.webp');
}

html,
body {
    max-width: 100%;
    /* overflow-x: clip; */
    overflow-x: auto;
}


p {
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 0.5em;
    text-align: justify;
}

/* .privacy-policy p,
.terms-of-service p {
    text-align: justify;
} */

ul {
    padding: 0 0 1em 2em;
}

/* UNDERHEADER */

.underheader_section {
    background-image: url('../img/backgrounds/main-bg.webp');
    color: var(--white);
    background-size: cover;
    background-position: 56% 40%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.underheader {
    text-align: center;
}

.underheader .subtitle:empty {
    display: none;
}

.underheader_section p {
    font-size: 24px;
}




/* MAIN CTA */

.main-cta_button-container {
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-cta_button {
    background: #AA2B82;
    width: 33%;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1em 2em;
    margin: 5px 0;
}

.main-cta_button:hover,
.menu-labels .signup_button:hover,
.menu-labels .login_button:hover,
.double-cta_button-container .secondary_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 28px rgba(170, 43, 130, 0.6);
}

/* LEFT-ALIGNED CTA */

.left-cta_button-container {
    align-items: flex-start;
}

/* 2 CTAs SIDE BY SIDE */

.double-cta_button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 20px 0 10px 0;
}

.double-cta_button-container .main-cta_button {
    width: unset;
    font-size: 14px;
    padding: 0.5em 1.5em;
    border: unset;
}

.double-cta_button-container .secondary_btn {
    color: var(--black);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 0px 10px 0px rgba(23, 25, 39, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.double-cta_button-container .select_btn {
    border: none;
}

.form-fields input,
.form-group input,
.form-fields textarea {
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.form-fields input:focus-visible,
.form-group input:focus-visible,
.form-fields textarea:focus-visible {
    outline: unset;
    background: rgba(57, 57, 57, 0.1);
}




/* Sections */

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

.container_section {
    padding: 60px;
}


/* Transparent boxes */

/* .transparent-box-elements_container {
    gap: clamp(16px, 2vw, 28px);
} */

.transparent-box-elements_container .box-elements_line {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    column-gap: 10px;
}

.transparent-box-elements_container .box-element {
    display: flex;
    width: -webkit-fill-available;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    box-shadow: 0px 0px 18px -2px rgba(0, 0, 0, 0.2);
    padding: 1em;
}

.transparent-box-elements_container .box-element a {
    text-decoration: none;
    color: var(--dark-pink);
}

.transparent-box-elements_container .box-element .box-description {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.transparent-box-elements_container .box-element .box-description .img {
    width: 40%;
}

.transparent-box-elements_container .box-element .box-description img {
    width: 100%;
    border-radius: 10px;
}

.transparent-box-elements_container .box-element .box-description.transparent-box p.title {
    padding-top: 0.5em;
    font-variant: small-caps;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    font-weight: 600;
}

.transparent-box-elements_container:has(.transparent-box_element1:hover) .box-description.transparent-box .img1,
.transparent-box-elements_container:has(.transparent-box_element2:hover) .box-description.transparent-box .img2,
.transparent-box-elements_container:has(.transparent-box_element3:hover) .box-description.transparent-box .img3,
.transparent-box-elements_container:has(.transparent-box_element4:hover) .box-description.transparent-box .img4,
.transparent-box-elements_container:has(.transparent-box_element5:hover) .box-description.transparent-box .img5 {
    scale: calc(1.1);
}


/* visual state for selected cards */
.transparent-box-elements_container .box-element.is-selected {
    background: rgba(25, 22, 69, 0.3);
}

/* optional: change the DETAILS label style when selected */
/* .transparent-box-elements_container .box-element.is-selected .secondary_btn.main-cta_button {
  opacity: .8;
} */

@media (prefers-reduced-motion: reduce) {
    .transparent-box-elements_container .box-element {
        opacity: 1 !important;
        transition: none !important;
    }
}



/* ============ Mobile Nav ============ */

@media (max-width: 768px) {
    body {
        background-image: url('../img/backgrounds/soft-bg-m-v2.webp');
        background-size: contain;
    }

    .transparent-box-elements_container {
        overflow-x: scroll;
        padding: 20px;
    }

    .transparent-box-elements_container .box-element .box-description .img {
        width: 70%;
    }

    .transparent-box-elements_container:has(.transparent-box_element1:hover) .box-description.transparent-box .img1,
    .transparent-box-elements_container:has(.transparent-box_element2:hover) .box-description.transparent-box .img2,
    .transparent-box-elements_container:has(.transparent-box_element3:hover) .box-description.transparent-box .img3,
    .transparent-box-elements_container:has(.transparent-box_element4:hover) .box-description.transparent-box .img4,
    .transparent-box-elements_container:has(.transparent-box_element5:hover) .box-description.transparent-box .img5 {
        scale: unset;
    }

    .double-cta_button-container {
        margin: 10px 0;
    }

    h2 {
        font-size: 2em;
        padding: 0.5em 0;
    }

    h3 {
        font-size: 1.8em;
    }

    .container_section {
        padding: 20px 10px;
    }
}

/* ============ Cookie Notice ============ */
.cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 999998;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice__panel {
    pointer-events: auto;
    width: min(980px, 100%);
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    background: rgba(25, 22, 69, 0.96);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.cookie-notice__title {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
}

.cookie-notice__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: left;
    padding: 0;
}

.cookie-notice__text a {
    color: #ffd7f2;
    text-decoration: underline;
}

.cookie-notice__text a:hover {
    color: #fff;
}

.cookie-notice__button {
    border: none;
    border-radius: 10px;
    background: var(--dark-pink);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    white-space: nowrap;
    cursor: pointer;
}

.cookie-notice__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(170, 43, 130, 0.5);
}

.cookie-notice__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .cookie-notice__panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-notice__button {
        width: 100%;
    }
}

/* ============ Toast Notifications ============ */
#toast-container {
    position: fixed;
    top: 5rem;
    right: 1.2rem;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    max-width: 420px;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    animation: toastIn 0.32s ease-out;
    transition: opacity 0.3s, transform 0.3s;
}

.toast.toast-out {
    opacity: 0;
    transform: translateX(30px);
}

.toast-success {
    background: #0d9f6e;
}

.toast-error {
    background: #c0392b;
}

.toast-warning {
    background: #b87800;
}

.toast-info {
    background: #174ec9;
}

.toast-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.toast-body {
    flex: 1;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    color: #fff;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
