﻿/* Montserrat Thin */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* Montserrat ExtraLight */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Montserrat Light */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Montserrat Regular */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Montserrat Medium */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Montserrat SemiBold */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Montserrat Bold */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Montserrat ExtraBold */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Montserrat Black */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    background: linear-gradient(180deg, #121212 0%, #312d2d 50%, #121212 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 2rem;
    position: relative;
}

.brand-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    margin: 0;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(3rem, 8vw, 18rem);
    color: rgb(117, 117, 117);
    white-space: nowrap;
    line-height: 1.2;
    animation: scaleIn 1.2s cubic-bezier(.22, 1, .36, 1) forwards;
    transform-origin: center top;
    z-index: 10;
    user-select: none;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Login container */
.login-container {
    background-color: #495057aa;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    max-width: 70vw;
    width: 100%;
    display: flex;
    overflow: hidden;
    color: white;
    z-index: 10;
    height: 60vh;
    transform: translateY(100vh);
    opacity: 0;
    animation: slideUp 1s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Left side: image + logo */
.login-left {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

    .login-left img {
        max-width: 21%;
        height: auto;
        user-select: none;
    }

    .login-left .logo {
        font-weight: 700;
        font-size: 2rem;
        color: #ffc107;
        letter-spacing: 0.15em;
        user-select: none;
    }

.left-box {
    height: 100%;
    width: 100%;
    border-radius: 0.75rem 0 0 0.75rem;
    position: relative;
    overflow: hidden;
}


    /* Gradient overlay (on top) */
    .left-box::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, #000000 30%, #00000039 100%);
        z-index: 2; /* above the image */
        pointer-events: none;
    }

    /* Ensure existing content stays above gradient */
    .left-box > *:not(.leftbox-bottom-img) {
        position: relative;
        z-index: 3;
    }

/* The bottom image (behind the gradient) */
.leftbox-bottom-img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100% !important;
    object-fit: cover; /* cover the bottom area nicely */
    z-index: 1; /* behind the gradient */
    transition: opacity .35s ease;
    opacity: 1; /* tweak if you want softer */
}

    .leftbox-bottom-img.is-fading {
        opacity: 0;
    }

/* Right side: login form */
.login-right {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background-color: #000000cc;
}

footer {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    text-align: center;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: rgb(171, 171, 171);
}

    footer.show {
        display: block;
        opacity: 1;
    }

/* Bootstrap form inputs override for dark mode */
.login-form .form-control {
    border-color: #6157398a;
    box-shadow: inset 3px 3px 9px 0.3rem #575141aa;
    border-radius: 25px;
    max-width: 450px;
}

    .login-form .form-control:focus {
        border-color: #6157398a;
        box-shadow: inset 3px 3px 9px 0.3rem #575141aa, 0 0 9px 3px rgba(255, 193, 7, 0.4);
    }

label {
    font-weight: 200;
}

/* Button styling */
.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: black;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-radius: 25px;
    max-width: 450px;
    font-size: 14px;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #e0a800;
        border-color: #e0a800;
        color: black;
    }

    .btn-primary:focus-visible {
        box-shadow: 0 0 9px 3px rgba(255, 193, 7, 0.4);
    }

/* Switch */
.switch {
    position: relative;
    width: 36px;
    height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: linear-gradient(135deg, #ffc107, #dddddd);
    border-radius: 999px;
    transition: background 0.3s;
}

    .slider::before {
        content: "";
        position: absolute;
        height: 14px;
        width: 14px;
        left: 4px;
        top: 3px;
        background: linear-gradient(135deg, #6c757d, #000);
        border-radius: 50%;
        transition: transform 0.3s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

#toggleView:focus + .slider {
    box-shadow: 0 0 9px 3px rgba(255, 193, 7, 0.4);
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, #ffc107, #dddddd);
}

    .switch input:checked + .slider::before {
        transform: translateX(14px);
    }


/*OLD CSS - Required*/
.alertIcon {
    font-size: 24px;
    position: relative;
    top: 5px;
    padding-right: 5px;
}

.forgotForm {
    font-size: 14px;
}

#faceLogin {
    display: none;
    height: 100%;
    width: 70%;
}

#camMessage {
    font-size: 12px;
    color: #fff;
    padding-left: 9px;
}

#faceLoginVid {
    width: 100%;
    height: 90%;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 1024px) {
    #faceLoginVid {
        height: 80%;
    }

    .desktopOnly {
        display: none !important;
    }

    .login-container {
        flex-direction: column;
        max-width: 400px;
    }

    .login-left,
    .login-right {
        padding: 0.75rem;
    }

    .login-left {
        order: 0;
    }

        .login-left img {
            max-width: 50%;
        }

        .login-left .logo {
            display: grid;
            align-content: center !important;
            height: 100%;
        }

    .left-box {
        border-radius: 0.75rem 0.75rem 0 0;
    }

    .login-form {
        padding-top: 24px;
    }

        .login-form input,
        .login-form button {
            max-width: 240px !important;
        }

    .login-right {
        order: 1;
    }
}

/*.logoTextTop {
    font-family: MsMedium;
    font-size: 18px;
}

.logoTextBottom {
    font-family: MsMedium;
    font-size: 10px;
}

.alertIcon {
    font-size: 24px;
    position: relative;
    top: 5px;
    padding-right: 5px;
}

.banner {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .banner span {
        animation: dissolve 9s infinite;
        opacity: 0;
    }

@keyframes dissolve {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.container-fluid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    margin: 0;*/ /* Remove default margin */
/*padding: 0;*/ /* Remove default padding */
/*}

.tagline {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;*/
/*box-shadow: inset 0 0 20px 20px #23232300;*/
/*}

hr {
    opacity: 1;
}

.custom-container {
    border: 2px solid #333;
    border-radius: 10px;
}

.custom-column {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    .custom-column.left {
        background-color: #23232349;
        padding: 20px;*/
/*border-radius: 10px 0 0 10px;*/ /* Rounded only on the left side */
/*}

    .custom-column.right {
        padding: 20px;
    }

.custom-img {
    max-width: 120px;
    height: auto;
    display: block;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-group input {
        border: 2px solid white;
        border-radius: 50px;*/ /* Rounded completely */
/*background-color: transparent;
        padding: 12px;*/ /* Increased padding */
/*color: white;
        width: 100%;*/ /* Increased input width */
/*text-align: center;
        outline: none;
    }

        .form-group input::placeholder {
            text-align: center;
        }

    .form-group label {
        position: absolute;
        top: -10px;
        font-size: 0.8rem;
        background-color: black;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        transition: top 0.3s, font-size 0.3s;
        pointer-events: none;
        padding: 0 5px;*/ /* added */
/*}

.login-btn {
    width: 100%;
    border-radius: 50px;*/ /* Rounded completely */
/*padding: 12px;*/ /* Increased padding */
/*border: 2px solid white;
    cursor: pointer;
    font-family: MsMedium;
}

.login-form {
    margin: auto;*/ /* Pushes the form to the bottom */
/*width: 95%;
}

.bottom-right-img img {
    max-width: 100%;
    height: auto;
}

.mainLine {
    font-family: 'MsExLight';
}

.clientTagline,
.subLine {
    font-family: MsExLight;
}

.clientLogo img {
    max-width: 200px;
    height: auto;
}

.btn-warning {
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.link-light {
    font-size: 10px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

#loginTogglerWrapper {
    font-size: 1.6rem;
    line-height: 1px;
}

    #loginTogglerWrapper .bi-toggle2-on {
        font-size: 1.2rem;
        cursor: pointer;
        transform: scaleX(-1);
    }

#faceLogin {
    display: none;
    height: 219px;
    width: 100%;
}

.copyrightText {
    font-size: .57em;
    font-family: 'MsExLight';
}

.form-control:focus {
    box-shadow: none;
}

#camMessage {
    font-size: 12px;
    color: #fff;
    padding-left: 9px;
}

#faceLoginVid {
    width: 100%;
    height: 180px;
}

.desktopOnly {
    display: block;
}

@media (max-width: 1366px) {
    .display-3 {
        font-size: 2.2rem;*/ /* Adjust font size as needed for small screens */
/*}
    .fs-4{
        font-size: 1rem!important;
    }

    .banner {
        height: 120px;
    }

    .m-5{
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .clientLogo img {
        max-width: 180px;
    }

    .custom-img {
        max-width: 120px;
    }

    .form-group input{
        padding: 6px;
    }
}

@media (max-width: 1140px) {*/ /* Small devices (1140px and below) */
/*.display-3 {
        font-size: 2rem;*/ /* Adjust font size as needed for small screens */
/*}

    .banner {
        height: 100px;
    }

    .clientLogo img {
        max-width: 150px;
        height: auto;
    }

    .fs-4 {
        font-size: 1rem !important;
    }

    .fs-5 {
        font-size: 1.1rem !important;
    }

    .custom-img {
        max-width: 84px;
    }

    .form-group {
        margin-bottom: 0.6rem;
    }

        .form-group input {
            height: 33px;
            font-size: 14px;
        }


        .form-group label {
            top: -9px;
            font-size: 0.7rem;
        }

    .login-btn {
        padding: 0px;
        height: 33px;
        font-size: 14px;
    }

    .copyrightText {
        margin-bottom: 20px;
    }

    #loginBoxContainer {
        padding: 0px;
    }

    #faceLogin {
        height: 150px;
    }

    .logoTextTop {
        font-size: 15px;
    }

    .logoTextBottom {
        font-size: 8px;
    }

    #faceLoginVid {
        height: 120px;
    }
}

@media (max-width: 991px){
    .desktopOnly {
        display: none !important;
    }
}*/
