/* melx brand */

/* :root {

    --brand-primary: #1D2C4D;

    --brand-accent: #DA6709;

    --brand-secondary: #F8F9FB;

} */


:root {

    --brand-primary: #17254A;

    --brand-accent: #C69A3B;

    --brand-secondary: #F8F9FB;

}


* {
    font-family: 'Outfit', sans-serif !important;
}

body {
    background: var(--brand-secondary);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CONTAINER */
.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.7s ease;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOGO */
.login-logo {
    width: 180px;
    margin-bottom: 10px;
}

.slogan {
    color: var(--brand-primary);
    margin-bottom: 25px;
    letter-spacing: .5px;
    font-size: 14px;
    font-weight: 500;
}

/* LABELS */
.form-label {
    font-weight: 600;
    color: var(--brand-primary);
}

/* INPUTS */
.form-control {
    border-radius: 12px;
    height: 48px;
    border: 1px solid #d7d8da;
    padding-left: 14px;
    transition: .2s;
}

.form-control:focus {
    border-color: var(--brand-accent);

    box-shadow:
        0 0 0 .15rem color-mix(in srgb,
            var(--brand-accent) 25%,
            transparent);
}

.input-group-text {
    background: none;
    border: none;
}

/* BUTTON */
.btn-login {
    background: var(--brand-accent);
    border: none;
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}

.btn-login:hover {
    background:
        color-mix(in srgb,
            var(--brand-accent) 85%,
            black);
}

/* LINKS */
a {
    color: var(--brand-accent);
    font-weight: 500;
}

.bottom-links {
    margin-top: 10px;
    font-size: 14px;
}

#toast-container {
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
}


#toast-container>.toast {
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-family: 'Outfit', sans-serif !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95 !important;
}


#toast-container>.toast-success {
    background-color: var(--brand-primary) !important;
    border-left: 6px solid #4CAF50 !important;
    color: #fff !important;
}

#toast-container>.toast-error {
    background-color: var(--brand-primary) !important;
    border-left: 6px solid #ff4d4d !important;
    color: #fff !important;
}

#toast-container>.toast-info {
    background-color: var(--brand-primary) !important;
    border-left: 6px solid var(--brand-accent) !important;
    color: #fff !important;
}

#toast-container>.toast-warning {
    background-color: var(--brand-primary) !important;
    border-left: 6px solid #ffa726 !important;
    color: #fff !important;
}

.toast-progress {
    background-color: var(--brand-accent) !important;
}


body #toast-container {
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    position: fixed !important;
    z-index: 999999 !important;
}


#toast-container .toast-close-button {
    position: absolute !important;
    right: 10px !important;
    top: 8px !important;
    color: #fff !important;
    opacity: 3 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.custom-eye {
    background-color: #e0e0e0 !important;
    /* light gray */
    border-color: #ccc !important;
}

.custom-eye i {
    color: #444;
    /* dark gray icon */
}

/* WRAPPER */
.login-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LEFT DECORATION */
.decorative-left {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 300px;
}

/* BOX STYLE */
.decorative-left .box {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--brand-accent);
    border-radius: 12px;
    opacity: 0.6;
}

/* INDIVIDUAL POSITIONS */
.decorative-left .b1 {
    top: 0;
    left: 20px;
}

.decorative-left .b2 {
    top: 80px;
    left: 0;
}

.decorative-left .b3 {
    top: 160px;
    left: 30px;
}

.decorative-left .b4 {
    top: 240px;
    left: 10px;
}

/* HIDE ON SMALL SCREENS */
@media (max-width: 768px) {
    .decorative-left {
        display: none;
    }
}


/* LEFT BACKGROUND CONTAINER */
.left-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 35vw;
    /* occupies left side */
    height: 100vh;
    pointer-events: none;
    /* not clickable */
    z-index: 1;
}

/* BIG OUTLINED BOXES */
.left-bg .bg-box {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 3px solid rgba(160, 160, 160, 0.45);

    border-radius: 22px;
    background: transparent;
}

/* POSITIONING */
.left-bg .b1 {
    top: 15%;
    left: 8%;
}

.left-bg .b2 {
    top: 42%;
    left: 20%;
}

.left-bg .b3 {
    top: 70%;
    left: 5%;
}

/* LOGIN CARD ABOVE DECORATION */
.login-card {
    position: relative;
    z-index: 5;
}

/* HIDE ON SMALL SCREENS */
@media (max-width: 768px) {
    .left-bg {
        display: none;
    }
}

#loginSpinner {
    color: #fff;
}