/* === BASE BODY === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to right, #739CDE, #006DA5);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* === WRAPPER & CARD === */
.auth-wrapper {
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.auth-card {
    display: flex;
    width: 100%;
}

/* === LEFT SIDE (FORM) === */
.auth-left {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

/* === RIGHT SIDE (FULL BACKGROUND IMAGE + OVERLAY TEXT) === */
.auth-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.auth-right::before {
    content: "";
    background: url('/img/right.jpg') no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay-text {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    max-width: 90%;
}

.overlay-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.overlay-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #f1f1f1;
}

/* === FORM INPUTS === */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
}

.input-field {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.input-field:focus {
    border-color: #739CDE;
}

/* === BUTTON === */
.btn {
    width: 100%;
    background-color: #739CDE;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 15px;
    transition: background-color 0.2s ease-in-out;
}

.btn:hover {
    background-color: #5c8dd8;
}

/* === LINK & TEXT === */
.text-end {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 10px;
}

.small-link {
    font-size: 13px;
    color: #295de7;
    text-decoration: none;
}

.small-link:hover {
    text-decoration: underline;
}

.link-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.divider {
    text-align: center;
    margin: 20px 0;
    font-size: 13px;
    color: #999;
}

.sso-login {
    text-align: center;
    margin-top: 10px;
}

.sso-login img {
    width: 45px;
}

.input-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.social-icons {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    margin: 0 10px;
    color: white;
    font-size: 24px;
    transition: transform 0.2s, color 0.2s;
}

.social-link:hover {
    color: #ffc107;
    transform: scale(1.1);
}
.divider-line {
    width: 100%;
    display: flex;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
    border-radius: 2px;
}
.divider-line-2 {
    width: 100%;
    display: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
    border-radius: 2px;
}
.Footer {
    margin-top: auto;
    display: none;
    text-align: center;
    font-size: 13px;
    color: #666;
    flex-direction: column;
    gap: 10px;
}

.Footer .social-icons .social-link {
    font-size: 18px;
    margin: 0 8px;
    color: #555;
}

.Footer .social-icons .social-link:hover {
    color: #739CDE;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .Footer {
        display: grid;
    }

    .divider-line-2 {
        display: flex;
    }

    .auth-wrapper {
        flex-direction: column;
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0px 16px;
    }

    .auth-left {
        padding: 40px 20px;
        border-radius: 0;
    }

    .auth-right {
        display: none; /* hide right panel on mobile */
    }

    .form-logo img {
        width: 80px;
        margin: 0 auto 20px auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .divider-line-2 {
        display: flex;
    }

    .Footer {
        display: flex;
    }

    .input-field {
        font-size: 14px;
        padding: 10px 15px 10px 42px;
    }

    .input-icon {
        left: 12px;
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 12px;
    }

    .overlay-text h2 {
        font-size: 24px;
    }

    .overlay-text p {
        font-size: 13px;
    }
}
