/**
 * SwingDesire Main Site
 * Premium public member login.
 */


/* =========================================================
   Login page foundation
   ========================================================= */

body.sd-mainsite-login {
    min-height: 100vh;
    background: #07060a;
}

body.sd-mainsite-login .sd-main-content {
    overflow: visible;
}

body.sd-mainsite-login .sd-main-header,
body.sd-mainsite-login .sd-main-header.is-scrolled {
    height: 82px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(7, 6, 10, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

body.sd-mainsite-login .sd-main-header.is-scrolled .sd-main-logo,
body.sd-mainsite-login .sd-main-logo {
    width: 190px;
}

.sd-login-page {
    position: relative;
    min-height: 100vh;
    padding-top: 82px;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(5, 4, 7, 0.04) 0%,
            rgba(5, 4, 7, 0.08) 52%,
            rgba(5, 4, 7, 0.54) 100%
        ),
        url("../images/homepage-hero.webp")
        center center / cover
        no-repeat;

    background-color: #07060a;
}

/* Full-width black-to-purple fade from the hero edge */



.sd-login-layout {
    position: relative;
    z-index: 2;
}


/* =========================================================
   Left visual panel
   ========================================================= */

.sd-login-visual {
    position: relative;

    display: flex;
    align-items: center;

    min-height: calc(100vh - 82px);
    overflow: visible;

    background: transparent;
}

.sd-login-visual-image {
    display: none;
}

.sd-login-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    transform: scale(1.04);
}

.sd-login-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 4, 7, 0.92) 0%,
            rgba(5, 4, 7, 0.56) 48%,
            rgba(5, 4, 7, 0.22) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 4, 7, 0.08) 0%,
            rgba(5, 4, 7, 0.18) 42%,
            rgba(5, 4, 7, 0.58) 78%,
            rgba(5, 4, 7, 0.76) 100%
        );
}

.sd-login-visual::after {
    display: none;
}

.sd-login-visual-content {
    position: relative;
    z-index: 2;

    width: min(100%, 800px);

    padding:
        70px
        clamp(42px, 5vw, 92px);

    transform: translateY(-65px);
}

.sd-login-visual-content .sd-main-eyebrow {
    margin-bottom: 22px;
}

.sd-login-visual-content h1 {
    max-width: 680px;
    margin-bottom: 27px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(56px, 6vw, 94px);
    font-weight: 700;
    line-height: 0.91;
    letter-spacing: -0.065em;
}

.sd-login-visual-content h1 span {
    display: block;
    color: #ef4bb1;
}

.sd-login-visual-content > p:not(.sd-main-eyebrow) {
    max-width: 570px;
    margin-bottom: 37px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   Trust items
   ========================================================= */

.sd-login-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    max-width: 690px;
}

.sd-login-trust-item {
    display: flex;
    align-items: flex-start;
    min-height: 105px;
    padding: 19px 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(12, 8, 17, 0.56);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.sd-login-trust-item > span {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    margin-right: 12px;
    color: #ef4bb1;
}

.sd-login-trust-item strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.sd-login-trust-item small {
    display: block;
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   Right form panel
   ========================================================= */

.sd-login-form-side {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: calc(100vh - 82px);

    padding:
        72px
        clamp(42px, 5vw, 86px);

    background: transparent;
}

.sd-login-form-side::before {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 620px;
    height: 620px;

    border-radius: 50%;
    content: "";

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.22),
            rgba(123, 44, 255, 0.08) 44%,
            transparent 72%
        );

    filter: blur(25px);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.sd-login-form-wrap {
    position: relative;
    z-index: 2;
    width: min(100%, 510px);
    padding: 48px 48px 42px;
    border: 1px solid #ebe5f0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 30px 85px rgba(46, 28, 73, 0.13),
        0 3px 12px rgba(46, 28, 73, 0.05);
}

.sd-login-mobile-logo {
    display: none;
}


/* =========================================================
   Form heading
   ========================================================= */

.sd-login-form-heading {
    margin-bottom: 31px;
}

.sd-login-form-heading .sd-main-eyebrow {
    margin-bottom: 14px;
    color: #9a6a20;
    font-size: 14px;
}

.sd-login-form-heading h2 {
    margin-bottom: 11px;
    color: #1d1923 !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(34px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.sd-login-form-heading > p:not(.sd-main-eyebrow) {
    margin-bottom: 0;
    color: #77717e;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   Error notice
   ========================================================= */

.sd-login-error {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 14px 15px;
    border: 1px solid rgba(205, 13, 135, 0.2);
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            rgba(123, 44, 255, 0.06),
            rgba(205, 13, 135, 0.07)
        );
    color: #6d2453;
}

.sd-login-error-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-right: 11px;
    color: #cd0d87;
}

.sd-login-error p {
    margin: 1px 0 0;
    color: #6d2453;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   Fields
   ========================================================= */

.sd-login-field {
    margin-bottom: 16px;
}

.sd-login-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: #28232e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.sd-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sd-login-input-wrap {
    position: relative;
}

.sd-login-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    width: 20px;
    height: 20px;
    color: #8f8797;
    pointer-events: none;
    transform: translateY(-50%);
}

.sd-login-input-wrap input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 70px 0 49px;
    border: 1px solid #ded7e5;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #24202a;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    box-shadow:
        inset 0 1px 2px rgba(43, 24, 66, 0.025),
        0 5px 15px rgba(43, 24, 66, 0.035);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.sd-login-input-wrap input::placeholder {
    color: #aaa3af;
    font-weight: 400;
}

.sd-login-input-wrap input:hover {
    border-color: #cfc4da;
}

.sd-login-input-wrap input:focus {
    border-color: rgba(123, 44, 255, 0.58);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(123, 44, 255, 0.08),
        0 8px 20px rgba(43, 24, 66, 0.06);
}

.sd-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 3;
    min-width: 52px;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #7b2cff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.sd-login-password-toggle:hover {
    background: rgba(123, 44, 255, 0.07);
    color: #cd0d87;
}


/* =========================================================
   Remember and forgot password
   ========================================================= */

.sd-login-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 3px 0 27px;
}

.sd-login-remember {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    color: #625c69 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
}
.sd-register-consents {
  margin-bottom: 10px;
}
.sd-login-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sd-login-checkbox {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 9px;
    border: 1px solid #cec6d6;
    border-radius: 5px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sd-login-checkbox::after {
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    content: "";
    opacity: 0;
    transform: translateY(-1px) rotate(-45deg);
}

.sd-login-remember input:checked + .sd-login-checkbox {
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            #7b2cff,
            #cd0d87
        );
    box-shadow: 0 5px 13px rgba(123, 44, 255, 0.22);
}

.sd-login-remember input:checked + .sd-login-checkbox::after {
    opacity: 1;
}

.sd-login-remember input:focus-visible + .sd-login-checkbox {
    outline: 2px solid #7b2cff;
    outline-offset: 3px;
}

.sd-login-forgot {
    color: #7b2cff !important;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.sd-login-forgot:hover {
    color: #cd0d87 !important;
}


/* =========================================================
   Sign-in button
   ========================================================= */

.sd-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 55px;
    padding: 0 25px;
    border: 0;
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            #7b2cff 0%,
            #cd0d87 100%
        );
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 14px 30px rgba(123, 44, 255, 0.23),
        0 5px 13px rgba(205, 13, 135, 0.14);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.sd-login-submit:hover {
    color: #ffffff;
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(123, 44, 255, 0.3),
        0 8px 18px rgba(205, 13, 135, 0.2);
}

.sd-login-submit:active {
    transform: translateY(0);
}

.sd-login-submit-icon {
    width: 19px;
    height: 19px;
    margin-left: 11px;
}


/* =========================================================
   Join section
   ========================================================= */

.sd-login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 29px 0 21px;
    color: #99919e;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.sd-login-divider::before,
.sd-login-divider::after {
    flex: 1;
    height: 1px;
    content: "";
    background: #e8e2ec;
}

.sd-login-divider span {
    white-space: nowrap;
}

.sd-login-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 51px;
    padding: 0 22px;
    border: 1px solid rgba(123, 44, 255, 0.28);
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(123, 44, 255, 0.07),
            rgba(205, 13, 135, 0.05)
        );
    color: #6821df !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sd-login-join:hover {
    border-color: rgba(205, 13, 135, 0.42);
    background:
        linear-gradient(
            135deg,
            rgba(123, 44, 255, 0.11),
            rgba(205, 13, 135, 0.09)
        );
    color: #cd0d87 !important;
    transform: translateY(-1px);
}

.sd-login-legal {
    margin: 24px 0 0;
    color: #9c95a1;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
	padding-top:10px;
}

.sd-login-legal a {
    color: #706a76 !important;
    font-weight: 700;
}

.sd-login-legal a:hover {
    color: #7b2cff !important;
}


/* =========================================================
   Login page footer
   ========================================================= */

body.sd-mainsite-login .sd-main-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   Smaller desktop
   ========================================================= */

@media (max-width: 1180px) {

    .sd-login-layout {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(440px, 1.05fr);
    }

    .sd-login-visual-content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .sd-login-trust-list {
        grid-template-columns: 1fr;
        max-width: 410px;
    }

    .sd-login-trust-item {
        min-height: auto;
    }

    .sd-login-form-side {
        padding-right: 38px;
        padding-left: 38px;
    }

    .sd-login-form-wrap {
        padding-right: 38px;
        padding-left: 38px;
    }
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {

    .sd-login-layout {
        grid-template-columns: 1fr;
    }

    .sd-login-visual {
        min-height: 500px;
    }

    .sd-login-visual-content {
        width: min(100%, 690px);
        padding: 100px 35px 55px;
    }

    .sd-login-visual-content h1 {
        max-width: 560px;
        font-size: clamp(55px, 10vw, 78px);
    }

    .sd-login-visual-content > p:not(.sd-main-eyebrow) {
        max-width: 560px;
    }

    .sd-login-trust-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
    }

    .sd-login-form-side {
    min-height: auto;
    padding: 70px 28px;
    background: transparent;
}

    .sd-login-form-wrap {
        width: min(100%, 560px);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 760px) {

    body.sd-mainsite-login .sd-main-header,
    body.sd-mainsite-login .sd-main-header.is-scrolled {
        height: 72px;
    }
 .sd-login-layout {
        width: 100%;
    }
   .sd-login-page {
    padding-top: 72px;

    background-position: 60% center;
    background-attachment: scroll;
}

    .sd-login-visual {
        min-height: 440px;
    }

    .sd-login-visual-image img {
        object-position: 66% center;
    }

    .sd-login-visual-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 4, 7, 0.22) 0%,
                rgba(5, 4, 7, 0.54) 45%,
                rgba(5, 4, 7, 0.98) 100%
            );
    }

    .sd-login-visual-content {
        align-self: flex-end;
        padding: 100px 22px 42px;
    }

    .sd-login-visual-content h1 {
        margin-bottom: 20px;
        font-size: clamp(47px, 15vw, 67px);
    }

    .sd-login-visual-content > p:not(.sd-main-eyebrow) {
        margin-bottom: 0;
        font-size: 13px;
    }

    .sd-login-trust-list {
        display: none;
    }

    .sd-login-form-side {
        padding: 48px 16px 58px;
    }

    .sd-login-form-wrap {
        padding: 35px 24px 31px;
        border-radius: 16px;
    }

    .sd-login-form-heading h2 {
        font-size: 34px;
    }
}


/* =========================================================
   Small mobile
   ========================================================= */

@media (max-width: 480px) {

    .sd-login-visual {
        min-height: 390px;
    }

    .sd-login-visual-content {
        padding-top: 75px;
    }

    .sd-login-form-side {
        padding-right: 12px;
        padding-left: 12px;
    }

    .sd-login-form-wrap {
        padding-right: 19px;
        padding-left: 19px;
    }

    .sd-login-form-options {
        align-items: flex-start;
        gap: 12px;
    }

    .sd-login-remember,
    .sd-login-forgot {
        font-size: 9px !important;
    }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sd-login-submit,
    .sd-login-join,
    .sd-login-password-toggle,
    .sd-login-input-wrap input {
        transition: none !important;
    }
}


/* Login button loading state */
.sd-login-submit:disabled {
    cursor: wait;
    opacity: 0.84;
    transform: none !important;
}

.sd-login-submit.is-loading
.sd-login-submit-icon {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sd-login-spinner 0.7s linear infinite;
}

.sd-login-submit.is-loading
.sd-login-submit-icon svg {
    display: none;
}

@keyframes sd-login-spinner {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   Final login hero layout reset
   Full-width image and gradient
   Centred 1500px content
   ========================================================= */

.sd-login-page::before,
.sd-login-visual::after {
    display: none !important;
}

.sd-login-page {
    position: relative !important;
    min-height: 100vh !important;
    padding-top: 82px !important;
    overflow: hidden !important;

    background:
        linear-gradient(
            90deg,
            #050407 0%,
            rgba(12, 5, 16, 0.94) 16%,
            rgba(42, 8, 48, 0.68) 36%,
            rgba(69, 15, 75, 0.30) 53%,
            rgba(5, 4, 7, 0.18) 72%,
            rgba(5, 4, 7, 0.34) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 4, 7, 0.03) 0%,
            rgba(5, 4, 7, 0.08) 52%,
            rgba(5, 4, 7, 0.58) 100%
        ),
        url("../images/homepage-hero.webp")
        center center / cover
        no-repeat !important;

    background-color: #050407 !important;
}

.sd-login-layout {
    position: relative !important;
    z-index: 2 !important;

    display: grid !important;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(470px, 0.92fr) !important;

    width: min(
        calc(100% - 64px),
        1500px
    ) !important;

    min-height: calc(100vh - 82px) !important;

    margin: 0 auto !important;
}

.sd-login-visual,
.sd-login-form-side {
    min-height: calc(100vh - 82px) !important;
    background: transparent !important;
}

.sd-login-visual-image,
.sd-login-visual-overlay {
    display: none !important;
}

.sd-login-visual-content {
    position: relative !important;
    z-index: 2 !important;
    transform: translateY(-45px) !important;
}

.sd-login-form-side::before {
    display: none !important;
}


/* Keep two columns until genuine mobile width */
@media (min-width: 761px) {

    .sd-login-layout {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(470px, 0.92fr) !important;
    }
}


/* Mobile only */
@media (max-width: 760px) {

    .sd-login-page {
        padding-top: 72px !important;
        background-position: 62% center !important;
    }

    .sd-login-layout {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .sd-login-visual,
    .sd-login-form-side {
        min-height: auto !important;
    }

    .sd-login-visual-content {
        transform: none !important;
    }
}

/* =========================================================
   Stack login content below 930px
   Intro first, login form underneath
   ========================================================= */

@media (max-width: 930px) {

    .sd-login-layout {
        grid-template-columns: 1fr !important;

        width: min(
            calc(100% - 40px),
            760px
        ) !important;

        min-height: auto !important;
        margin: 0 auto !important;
        padding: 42px 0 70px !important;
    }


    /* Intro content above the login form */
    .sd-login-visual {
        align-items: flex-start !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .sd-login-visual-content {
        width: 100% !important;
        max-width: none !important;
        padding: 20px 0 38px !important;
        transform: none !important;
    }

    .sd-login-visual-content h1 {
        max-width: 650px !important;
        font-size: clamp(
            52px,
            8vw,
            76px
        ) !important;
    }

    .sd-login-visual-content
    > p:not(.sd-main-eyebrow) {
        max-width: 620px !important;
    }


    /* Trust cards remain across one row */
    .sd-login-trust-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        max-width: 100% !important;
    }


    /* Login card underneath */
    .sd-login-form-side {
        min-height: auto !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .sd-login-form-wrap {
        width: min(
            100%,
            560px
        ) !important;

        margin: 0 auto !important;
    }
}