﻿.sky-customer-auth {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    background: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
}

/* LEFT */
.sky-auth-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 62%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(0, 8, 22, .18), rgba(0, 8, 22, .52)), url("/content/global/bg/login-bg.webp");
    background-size: cover;
    background-position: center center;
    clip-path: polygon(0 0, 94% 0, 81% 100%, 0 100%);
    z-index: 2;
}

    .sky-auth-left::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        background: radial-gradient(circle at 35% 48%, transparent 0%, rgba(0,0,0,.08) 35%, rgba(0,0,0,.45) 100%);
        pointer-events: none;
    }

.sky-auth-brand {
    position: absolute;
    left: 39%;
    top: 38%;
    transform: translate(-50%, -50%);
    z-index: 6;
    text-align: center;
    color: #fff;
}

    .sky-auth-brand img {
        width: 170px;
        object-fit: contain;
        margin-bottom: 16px;
        filter: drop-shadow(0 18px 35px rgba(0,0,0,.55));
    }

    .sky-auth-brand h1 {
        margin: 0;
        font-size: 50px;
        font-weight: 300;
        letter-spacing: 9px;
        line-height: 1;
    }

    .sky-auth-brand p {
        margin: 10px 0 0;
        font-size: 15px;
        letter-spacing: 7px;
        color: rgba(255,255,255,.85);
    }

/* ONLY 12 TWINKLING STARS */
.sky-auth-space-effects {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.sky-auth-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    opacity: .2;
    animation: skyAuthTwinkle 3s infinite ease-in-out;
}

    .sky-auth-star::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 28px;
        height: 1px;
        transform: translate(-50%, -50%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
        opacity: .55;
    }

    .sky-auth-star::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 1px;
        height: 28px;
        transform: translate(-50%, -50%);
        background: linear-gradient(180deg, transparent, rgba(255,255,255,.85), transparent);
        opacity: .35;
    }

    .sky-auth-star.s1,
    .sky-auth-star.s4,
    .sky-auth-star.s7,
    .sky-auth-star.s10 {
        background: #ffd36a;
        box-shadow: 0 0 16px rgba(255, 196, 88, .95);
    }

        .sky-auth-star.s1::after,
        .sky-auth-star.s4::after,
        .sky-auth-star.s7::after,
        .sky-auth-star.s10::after {
            background: linear-gradient(90deg, transparent, rgba(255, 198, 82, .95), transparent);
        }

    .sky-auth-star.s1 {
        left: 13%;
        top: 16%;
        animation-delay: 0s;
    }

    .sky-auth-star.s2 {
        left: 31%;
        top: 13%;
        animation-delay: .4s;
    }

    .sky-auth-star.s3 {
        left: 54%;
        top: 19%;
        animation-delay: .8s;
    }

    .sky-auth-star.s4 {
        left: 68%;
        top: 31%;
        animation-delay: 1.2s;
    }

    .sky-auth-star.s5 {
        left: 18%;
        top: 39%;
        animation-delay: 1.6s;
    }

    .sky-auth-star.s6 {
        left: 46%;
        top: 43%;
        animation-delay: 2s;
    }

    .sky-auth-star.s7 {
        left: 61%;
        top: 55%;
        animation-delay: 2.4s;
    }

    .sky-auth-star.s8 {
        left: 27%;
        top: 64%;
        animation-delay: 2.8s;
    }

    .sky-auth-star.s9 {
        left: 11%;
        top: 77%;
        animation-delay: 3.2s;
    }

    .sky-auth-star.s10 {
        left: 42%;
        top: 78%;
        animation-delay: 3.6s;
    }

    .sky-auth-star.s11 {
        left: 66%;
        top: 74%;
        animation-delay: 4s;
    }

    .sky-auth-star.s12 {
        left: 73%;
        top: 48%;
        animation-delay: 4.4s;
    }

/* DIAGONAL LINE */
.sky-auth-angle-line {
    position: absolute;
    top: -5%;
    left: 54.3%;
    width: 9px;
    height: 112%;
    z-index: 8;
    transform: rotate(8deg);
    background: linear-gradient(180deg, #fff7df 0%, #ffb12d 30%, #ff6b1d 55%, #ffffff 100%);
    box-shadow: 0 0 16px rgba(255, 178, 50, .95), 0 0 42px rgba(255, 104, 26, .72);
}

/* RIGHT */
.sky-auth-right {
    position: relative;
    width: 46%;
    min-height: 100vh;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 70px 110px 40px;
    background-color:#fff;
    z-index: 1;
}

.sky-auth-form-box {
    width: 100%;
    max-width: 430px;
    margin-left: 42px;
    transform: translateY(-30px);
}

.sky-auth-title {
    text-align: center;
    margin-bottom: 48px;
}

    .sky-auth-title h2 {
        margin: 0;
        color: #0d2654;
        font-size: 28px;
        font-weight: 900;
    }

    .sky-auth-title p {
        margin: 10px 0 0;
        color: #60708a;
        font-size: 15px;
    }

.sky-auth-input {
    position: relative;
    margin-bottom: 26px;
}

    .sky-auth-input span {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #0d2654;
        font-size: 18px;
    }

    .sky-auth-input input {
        width: 100%;
        height: 58px;
        border: 1px solid #c8d2e3;
        border-radius: 6px;
        background: #fff;
        padding: 0 54px;
        color: #0d2654;
        font-size: 15px;
        outline: none;
        box-shadow: 0 12px 30px rgba(13,38,84,.06);
    }

        .sky-auth-input input:focus {
            border-color: #183a72;
            box-shadow: 0 0 0 4px rgba(24,58,114,.08);
        }

    .sky-auth-input button {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: #0d2654;
        font-size: 18px;
    }

.sky-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 38px;
}

.sky-auth-google,
.sky-auth-submit {
    height: 52px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
   

}

.sky-auth-google {
    background: #fff;
    border: 1px solid #aebbd0;
    color: #0d2654;
}

.sky-auth-submit {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #071127 0%, #153464 100%);
    box-shadow: 0 14px 30px rgba(7,17,39,.22);
}

/* DEMO BOX */
.sky-auth-demo {
    display: flex;
    gap: 18px;
    margin-top: 26px;
    padding: 18px 30px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 44px rgba(13,38,84,.06);
}

.sky-auth-demo-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef3fa;
    border: 1px solid #cad6e8;
    color: #16386d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.sky-auth-demo h3 {
    margin: 0 0 12px;
    color: #0d2654;
    font-size: 14px;
    font-weight: 900;
}

.sky-auth-demo p {
    margin: 0 0 12px;
    color: #4f6078;
    font-size: 13px;
    line-height: 1.7;
}

    .sky-auth-demo p:last-child {
        margin-bottom: 0;
    }

/* BOTTOM BAR */
.sky-auth-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 68px;
    z-index: 20;
    background: linear-gradient(90deg, #07111f 0%, #101c30 100%);
    border-top: 1px solid rgba(200,141,49,.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 18px;
    letter-spacing: .4px;
    box-shadow: 0 -16px 36px rgba(0,0,0,.32);
}

    .sky-auth-bottom::before {
        content: "";
        position: absolute;
        left: 14.5%;
        top: -1px;
        width: 110px;
        height: 68px;
        background: #07111f;
        border-top: 1px solid rgba(200,141,49,.75);
        border-right: 1px solid rgba(200,141,49,.75);
        border-radius: 0 46px 0 0;
    }

.sky-auth-bottom-icon {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #284977, #10213b);
    border: 1px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sky-auth-bottom span {
    position: relative;
    z-index: 2;
}

.sky-auth-bottom strong,
.sky-auth-bottom b {
    color: #f0ad2f;
}

/* ANIMATION */
@keyframes skyAuthTwinkle {
    0%, 100% {
        opacity: .22;
        transform: scale(.75);
        filter: blur(.2px);
    }

    45% {
        opacity: 1;
        transform: scale(1.75);
        filter: blur(0);
    }

    65% {
        opacity: .55;
        transform: scale(1.15);
    }
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .sky-auth-right {
        width: 47%;
        padding-right: 42px;
    }

    .sky-auth-form-box {
        margin-left: 34px;
    }

    .sky-auth-brand {
        left: 38%;
    }
}

@media (max-width: 991px) {
    .sky-customer-auth {
        display: block;
        padding-bottom: 68px;
    }

    .sky-auth-left {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 420px;
        clip-path: none;
    }

    .sky-auth-brand {
        left: 50%;
    }

    .sky-auth-angle-line {
        display: none;
    }

    .sky-auth-right {
        width: 100%;
        min-height: auto;
        margin-left: 0;
        padding: 48px 20px 54px;
    }

    .sky-auth-form-box {
        max-width: 520px;
        margin-left: 0;
    }

    .sky-auth-bottom {
        position: fixed;
    }

        .sky-auth-bottom::before {
            display: none;
        }
}

@media (max-width: 575px) {
    .sky-auth-left {
        min-height: 360px;
    }

    .sky-auth-brand img {
        width: 130px;
        height: 100px;
    }

    .sky-auth-brand h1 {
        font-size: 34px;
        letter-spacing: 6px;
    }

    .sky-auth-brand p {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .sky-auth-title h2 {
        font-size: 24px;
    }

    .sky-auth-actions {
        grid-template-columns: 1fr;
    }

    .sky-auth-demo {
        margin-top: 42px;
        padding: 22px;
    }

    .sky-auth-bottom {
        height: 60px;
        font-size: 13px;
    }

    .sky-auth-bottom-icon {
        width: 36px;
        height: 36px;
    }
}
