﻿
body {
    min-height: 100vh;
}

.page-max {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    margin: auto;
    padding: 0;
}

.btn-pri {
    width: 100%;
    margin-bottom: 30px;
}

.btn-sec {
    width: 100%;
}

/* LEFT */

.left-panel {
    background: linear-gradient( 180deg, #253796, #111D4F );
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
}
    .left-panel .mask-image {
       /* width: 100%;
        height: 100%;*/
        opacity: 0.045;
        position: absolute;
    }
    .left-panel .logo {
        width: fit-content;
        max-width: 80%;
    }
.branding {
    text-align: center;
    color: white;
}

.logo-box {
    width: 180px;
    height: 180px;
    border: 8px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 700;
    margin: auto;
}

.branding h1 {
    margin-top: 40px;
    font-size: 34px;
    letter-spacing: 2px;
    font-weight: 700;
}

/* RIGHT */

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    background: var(--mainframe-color);
}

.login-container {
    width: 100%;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    overflow-x:hidden
}

    .login-card h2 {
        margin-bottom: 28px;
        color: #24346B;
        font-size: 25px;
        font-weight: 600;
    }

md-outlined-text-field {
    width: 100%;
    margin-bottom: 22px;
}

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 0 20px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.remember-row a {
    text-decoration: none;
    color: var(--main-color);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #888;
    font-size: 13px;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        margin: 0 14px;
    }

.signup {
    text-align: center;
    margin-top: 28px;
    color: #777;
    font-size: 14px;
}

    .signup a {
        color: var(--hyperlink-color);
        text-decoration: none;
        font-weight: 600;
    }


.slider {
    display: flex;
    width: 100%;
    transition: transform 0.35s ease;
}

.screen {
    width: 100%;
    flex-shrink: 0; /* THIS FIXES WHITE SCREEN */
}
.floating-toast {
    right: -100px;
    bottom: inherit;
    top:80px;
}

@media (max-width:900px) {
    .page-max {
        grid-template-columns: 1fr;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 30px;
    }
}

.md-control {
    --md-outlined-text-field-container-color: #F5F7FA;
}