* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.required {
    color: #f06548;
}

.login-brand {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    object-fit: contain;
    overflow: visible;
}

.login-brand--admin {
    width: 64px;
    height: 64px;
}


/* =========================================
   MAIN LOGIN
========================================= */

.user-login-wrapper {
    width: 100%;
    height: 100vh;
    min-height: 650px;

    display: flex;
    flex-direction: row;

    background: #ffffff;
}


/* =========================================
   LEFT IMAGE
========================================= */

.user-login-left {
    width: 55%;
    height: 100vh;

    position: relative;
    overflow: hidden;

    background: #ffffff;

    flex-shrink: 0;
}

.user-login-left img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;
}


/* =========================================
   LEFT CAPTION
========================================= */

.user-image-caption {
    position: absolute;

    bottom: 65px;
    left: 0;
    right: 0;

    text-align: center;

    color: #ffffff;

    font-size: 17px;
    font-style: italic;
    font-weight: 600;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}


/* =========================================
   SLIDER DOTS
========================================= */

.user-slider-dots {
    position: absolute;

    bottom: 30px;
    left: 0;
    right: 0;

    display: flex;

    justify-content: center;

    gap: 10px;
}

.user-slider-dots span {
    width: 42px;
    height: 5px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.5);
}

.user-slider-dots span.active {
    background: #ffffff;
}
/* =========================================================
   USER LOGIN IMAGE SLIDER
========================================================= */

.user-login-left {
    position: relative;
    overflow: hidden;
}

.user-login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;

    opacity: 1;
    transition: opacity 0.25s ease;
}

.user-login-left.is-crop-right img {
    object-fit: cover;
    object-position: right center;
}

.user-login-left.is-adjust {
    background: #2f4f4a;
}

.user-login-left.is-adjust img {
    object-fit: cover;
    object-position: center center;
}

.user-login-left.is-zoom-out {
    background: #e8eef6;
}

.user-login-left.is-zoom-out img {
    object-fit: contain;
    object-position: center;
}


/* Caption */

.user-image-caption {
    position: absolute;

    left: 50%;
    bottom: 62px;

    transform: translateX(-50%);

    color: #ffffff;

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

    font-style: italic;

    white-space: nowrap;

    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}


/* Slider dots */

.user-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;
}

.user-slider-dots span {
    width: 38px;
    height: 4px;

    display: block;

    border-radius: 10px;

    background: rgba(255,255,255,0.55);

    cursor: pointer;

    transition: 0.25s ease;
}

.user-slider-dots span.active {
    background: #ffffff;
}


/* =========================================
   RIGHT SIDE
========================================= */

.user-login-right {
    width: 45%;
    height: 100vh;

    display: flex;

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

    padding: 40px 70px;

    background: #ffffff;

    flex-shrink: 0;
}


/* =========================================
   LOGIN CONTENT
========================================= */

.user-login-content {
    width: 100%;
    max-width: 510px;

    text-align: center;

    margin: 0 auto;
}


/* =========================================
   CRYBABY LOGO
========================================= */
.user-login-title {
    margin: 0 0 10px;
    color: #05385f;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}



/* =========================================
   SUBTITLE
========================================= */

.user-login-subtitle {
    margin: 0 0 1.5rem;
    color: #878a99;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================
   SOCIAL BUTTONS
========================================= */

.user-social-login-btn {
    width: 100%;
    height: 64px;

    display: flex;

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

    gap: 15px;

    border: 1px solid #d8dee7;

    border-radius: 9px;

    background: #ffffff;

    color: #182b40;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    transition: all 0.2s ease;
}

.user-social-login-btn:hover {
    background: #f8fafc;

    border-color: #bcc7d5;
}


/* =========================================
   GOOGLE ICON
========================================= */

.google-icon {
    width: 24px;
    height: 24px;

    display: flex;

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

    flex-shrink: 0;
}


/* =========================================
   APPLE ICON
========================================= */

.apple-icon {
    width: 24px;
    height: 27px;

    display: flex;

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

    flex-shrink: 0;
}


/* =========================================
   OR DIVIDER
========================================= */

.user-login-divider {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 18px;

    margin: 28px 0;
}

.user-login-divider-line {
    flex: 1;

    height: 1px;

    background: #e1e5eb;
}

.user-login-divider-text {
    color: #7e8b9d;

    font-size: 14px;

    flex-shrink: 0;
}


/* =========================================
   TERMS
========================================= */

.user-login-terms {
    margin-top: 35px;

    color: #7b899d;

    font-size: 13px;

    line-height: 1.7;
}

.user-login-terms a {
    color: #087ff5;

    text-decoration: none;

    font-weight: 500;
}


/* =========================================
   FOOTER
========================================= */

.user-login-footer {
    margin-top: 60px;

    padding-top: 20px;

    border-top: 1px solid #e5e9ee;

    color: #7b899d;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .user-login-wrapper {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .user-login-left {
        display: block;
        width: 100%;
        height: 200px;
        min-height: 180px;
        max-height: 220px;
        flex-shrink: 0;
    }

    .user-image-caption {
        bottom: 40px;
        font-size: 14px;
    }

    .user-slider-dots {
        bottom: 16px;
    }

    .user-login-right {
        width: 100%;
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
        align-items: flex-start;
        padding: 24px 16px 32px;
    }

    .user-login-content {
        max-width: 450px;
    }

    .user-login-title {
        font-size: 24px;
    }

    .user-login-subtitle {
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }

    .crybaby-svg-logo {
        width: 190px;
    }
}