﻿.auth-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* BOTH PANELS — force equal width */
.auth-branding,
.auth-form-container {
    width: 50%;
    flex: 0 0 50%;
    box-sizing: border-box;
}


/* LEFT */
.auth-branding {
    flex: 1;
    background: linear-gradient(261deg, #072b2b, #072b2b);
    color: #fff;
    /*padding: 64px;*/
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center;
}

.brand-logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.brand-tagline {
    margin-top: 8px;
    opacity: .7;
}

.brand-accent {
    width: 40px;
    height: 2px;
    background: #facc15;
    margin: 24px 0;
}

.brand-feature {
    margin-bottom: 14px;
    opacity: .85;
}

/* RIGHT */
.auth-form-container {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #6b7280;
    margin-bottom: 32px;
}

/* MOBILE */
@media (max-width: 992px) {
    .auth-branding {
        display: none;
    }
}


/* ===== Base (same color as input) ===== */
.password-group .form-control,
.password-group .password-toggle {
    background-color: #eaf2ff; /* SAME light blue */
    border: 1px solid #dbe3f0;
}

/* Remove double border between input & eye */
.password-group .password-toggle {
    border-left: none;
    padding: 0 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #6c757d;
}

/* Rounded corners */
.password-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-group .password-toggle {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* ===== REMOVE focus outline on eye ===== */
.password-toggle:focus,
.password-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== Prevent input-group focus border ===== */
.password-group:focus-within {
    box-shadow: none;
}

/* ===== Sync focus border ===== */
.password-group .form-control:focus {
    border-color: #86b7fe;
    box-shadow: none;
}

    .password-group .form-control:focus + .password-toggle {
        border-color: #86b7fe;
    }

/* ===== Hover polish ===== */
.password-group .password-toggle:hover {
    color: #000;
}
