/**
 * Fichier  : /ott/checkout/assets/css/signup.css
 * Fonction : style de la section compte
 */


/* ==================================================
   ACCOUNT
================================================== */

#checkout .checkout .account {
    padding: clamp(18px, 2vw, 24px);
}


/* ==================================================
   HEADER
================================================== */

#checkout .checkout .account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

#checkout .checkout .account-header > div {
    min-width: 0;
}

#checkout .checkout .account h5 {
    margin: 0;
}

#checkout .checkout .account h5 {
    font-family: 'bold-font';
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

#checkout .checkout .account p {
    margin: 8px 0 0 0;
}

#checkout .checkout .account p {
    font-family: 'content-font';
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,.64);
}


/* ==================================================
   LOGIN LINK
================================================== */

#checkout .checkout .account .login-link {
    flex: 0 0 auto;
}

#checkout .checkout .account .login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#checkout .checkout .account .login-link {
    padding: 9px 12px;
}

#checkout .checkout .account .login-link {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;

    backdrop-filter: blur(18px);
}

#checkout .checkout .account .login-link {
    font-family: 'content-font';
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
}

#checkout .checkout .account .login-link {
    transition:
        transform .2s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

#checkout .checkout .account .login-link:hover {
    transform: translateY(-1px);
}

#checkout .checkout .account .login-link:hover {
    color: #fff;
}

#checkout .checkout .account .login-link:hover {
    border-color: rgba(255,120,0,.22);

    background:
        linear-gradient(
            135deg,
            rgba(255,95,45,.16),
            rgba(255,145,0,.08)
        );
}

#checkout .checkout .account .login-link:hover {
    box-shadow:
        0 10px 30px rgba(0,0,0,.35),
        0 0 25px rgba(255,120,0,.08);
}


/* ==================================================
   FIELDS
================================================== */

#checkout .checkout .account .fields {
    margin-top: 18px;
}

#checkout .checkout .account .fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#checkout .checkout .account .fields .full {
    grid-column: 1 / -1;
}

#checkout .checkout .account input,
#checkout .checkout .account select,
#checkout .checkout .account textarea {
    width: 100%;
}

#checkout .checkout .account input,
#checkout .checkout .account select,
#checkout .checkout .account textarea {
    min-height: 48px;
    padding: 0 14px;
}

#checkout .checkout .account input,
#checkout .checkout .account select,
#checkout .checkout .account textarea {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    backdrop-filter: blur(18px);
}

#checkout .checkout .account input,
#checkout .checkout .account select,
#checkout .checkout .account textarea {
    font-family: 'content-font';
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

#checkout .checkout .account input::placeholder,
#checkout .checkout .account textarea::placeholder {
    color: rgba(255,255,255,.42);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 768px) {

    #checkout .checkout .account-header {
        flex-direction: column;
        gap: 14px;
    }

    #checkout .checkout .account .login-link {
        width: fit-content;
    }

    #checkout .checkout .account .fields {
        grid-template-columns: 1fr;
    }

}