body {
    background: var(--background-950) !important;
}

.super-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 50%;
    height: 100%;
}

.check-bill-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.check-bill-btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 22px;
    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;

    color: var(--golden-solid);
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 215, 128, 0.35);
    backdrop-filter: blur(6px);

    transition: all 0.25s ease;
}

.check-bill-btn i {
    font-size: 1.1rem;
}

.check-bill-btn:hover {
    color: var(--background-950);
    background: var(--golden-solid);
    border-color: var(--golden-solid);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 215, 128, 0.25);
}

.main-div-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.super-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.super-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--login-big-gradient);
    opacity: 1; /* Adjust opacity to control gradient visibility */
    z-index: 1;
}

.caps-lock-warning {
    font-weight: 700;
    margin-left: -30vw !important;
}

.top-div-container {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Set a higher z-index to position it above the image */
}

.login-title {
    width: 70%;
    background-color: #065d0000;
    padding: 2%;
    padding-right: 20%;
    margin-bottom: 0%;
    z-index: 1000 !important;
}

.top-div-container h1 {
    color: #0e2b61;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

button {
    all: unset;
}

button:focus {
    outline: revert;
}

.login-label {
    font-weight: 700;
    font-size: 1rem;
}

.login-form {
    width: 90%;
    height: 35%;
    display: flex;
    flex-direction: column;
    background-color: none;
    justify-content: center;
    align-items: center;
}

.login-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--background-950);
    font-weight: bold;
    width: 400px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50px;
    background: var(--accent);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: background-position 0.3s ease;
    overflow: hidden;
    position: relative;
    text-align: center;
    z-index: 1;
}

.login-button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-oso);
    top: 0;
    left: -100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.login-button:hover {
    background-position: right;
}

.login-button:hover:after {
    left: 0;
}

.forget-password {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 0.9rem;
}

.forget-password a {
    text-decoration: none;
    color: var(--golden-solid);
    font-weight: 700;
}

.forget-password a:hover {
    color: #010233;
}

.left-round {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

/* Base form control */
.form-control {
    background-color: var(--background-800) !important;
    color: rgba(255, 255, 255, 0.733) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 0.5rem;
    box-shadow: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* On focus */
.form-control:focus {
    background-color: var(--background-800) !important;
    color: var(--text, #fff) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Active (while typing) */
.form-control:active {
    color: var(--text, #fff) !important;
    font-family: "Montserrat", sans-serif !important;
}

/* Autofill (Chrome, Safari, Edge) */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px var(--background-800) inset !important;
    box-shadow: 0 0 0px 1000px var(--background-800) inset !important;
    -webkit-text-fill-color: var(--text, #fff) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1rem !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* Fix autofill idle state (when Chrome fills but user hasn’t interacted yet) */
input:-internal-autofill-selected {
    font-family: "Montserrat", sans-serif !important;
    font-size: 1rem !important;
    -webkit-text-fill-color: var(--text, #fff) !important;
    background-color: var(--background-800) !important;
    box-shadow: 0 0 0px 1000px var(--background-800) inset !important;
}

/* Autofill (Firefox) */
.form-control:-moz-autofill {
    box-shadow: 0 0 0px 1000px var(--background-800) inset !important;
    -moz-text-fill-color: var(--text, #fff) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1rem !important;
}

/* Placeholder */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: "Montserrat", sans-serif !important;
}

.btn-outline-secondary {
    border: none !important;
    margin-top: -23% !important;
    border-radius: 0px !important;
    border-bottom: solid 1px black !important;
    color: rgb(0, 0, 0) !important;
    font-size: x-large !important;
}

.custom-input-background {
    background: var(--background-800) !important;
    padding-top: 0; /* Remove padding to ensure alignment */
    padding-bottom: 0;
    margin-top: -2px; /* Adjust as needed to align it with other elements */
    display: flex;
    align-items: center; /* Center the icon vertically */
    top: 30%;
    height: 65%;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.btn-outline-secondary:hover {
    background-color: rgb(255, 255, 255) !important;
}

.welcome-text {
    font-size: 2rem;
}

.big-screen-spacer {
    height: 20%;
    width: 10%;
    display: flex;
}

.big-screen-title {
    font-family: "Montserrat";
    position: absolute;
    left: 0;
    top: 0;
    padding: 5%;
    width: 40%;
    color: white;
    font-size: 4rem;
    font-weight: 700 !important;
    z-index: 1000;
}

.big-screen-title img {
    width: 30%;
}

.login-form {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    background-color: #065d0000;
    justify-content: center;
    align-items: center;
}

@media (max-width: 801px) {
    .login-form {
        width: 90%;
        height: 35%;
    }

    .login-title {
        width: 95%;
        margin-bottom: 10%;
    }

    .top-div-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: flex-end;
        align-items: center;
        z-index: 1; /* Set a higher z-index to position it above the image */
    }

    .mobile-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .super-container {
        width: 100vw;
        height: 100vh;
        z-index: -1; /* Set a lower z-index to position it behind other content */
    }

    .login-button {
        width: 95%;
        height: 25%;
    }

    .super-container img {
        object-fit: fill;
        width: 100%;
        height: 100%;
    }

    .super-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(154, 112, 4);
        background: var(--login-mobile-gradient);
        z-index: 1;
    }
}
