* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

:root {
    --white: #fff;
    --off-white-accent-1: #ccc;
    --black: #000;
    --black-accent-1: #333;
    --black-accent-2: #252525;
/* =========================================== TEAlink theme =========================================== */

    --banner-wrapper-background: rgb(255 255 255 / 23%);
    --glass-white-background: rgb(255 255 255 / 43%);
    --logo: url("/images/tealink-logo.png");
    --login-box-shadow-color: #134139;
    --landing-bg: url("/images/tealink-login-bg.png");
    --login-left-img: url("/images/tealink-login-img-1.png");
    --login-button-color: #1a4b3e;
    --login-primary-color: #005313;
    --powered-by-color: #00000000
}
.banner-img {
    content: var(--landing-bg);
    width: 100vw;
    object-fit: cover;
    height: 100vh;
    object-position: top;
    opacity: 1;
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    filter: blur(2px);
}

.banner-wrapper {
    height: 100vh;
    width: 100vw;
    position: absolute;
    opacity: 0.6;
    z-index: -1;
    top: 0;
    left: 0;
    background: var(--banner-wrapper-background) !important;
    border-radius: 16px;
    backdrop-filter: blur(7px);
}

.ui.container {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    padding: 0 0.5rem;
}

.left-image {
    height: 550px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    width: 100%;
    max-width: 600px;
}

.left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 20px;
    object-position: right;
}

.left-image img.login-left-side-img {
    content: var(--login-left-img);
    width: auto;
    max-width: 700px;
    object-position: right;
}

.ui.centered.grid {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 0px 8px 0px var(--login-box-shadow-color);
}

.tealink-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    max-height: 100px;
    width: auto;
}
.tealink-logo>img {
    height: 100%;
    width: auto;
}
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .login-form .field {
    width: 90%;
} */

.input-label {
    font-size: 16px !important;
    color: var(--black-accent-1) !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    padding-left: 2rem;
}

.login-form .field input {
    border-radius: 16px !important;
    background-color: var(--white) !important;
    border: 1px solid var(--off-white-accent-1) !important;
    padding: 12px 15px 12px 35px !important;
    font-size: 20px !important;
    color: var(--black-accent-1) !important;
}

.login-btn {
    background-color: var(--login-button-color) !important;
    color: var(--white) !important;
    border-radius: 15px !important;
    padding: 11px 20px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    width: 100% !important;
    outline: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    /* margin-top: 20px !important; */
}

.login-btn:hover {
    background-color: var(--login-button-color) !important;
}

.login-btn:active {
    background-color: var(--login-button-color) !important;
}

.login-btn:focus {
    background-color: var(--login-button-color) !important;
    box-shadow: 0 0 0 2px var(--login-primary-color) !important;
}

.glass-card {
    background: var(--glass-white-background) !important;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.forgot-password {
    color: var(--login-primary-color) !important;
    font-weight: bold !important;
    text-decoration: none !important;
    font-size: 17px;
}

.ui.grid {
    margin: 0 !important;
}

.ui.form .field {
    /* margin: 0 0 2.5em; */
    margin: 0 0 1.7em;
    /* width: 90%; */
}

.sixteen.wide {
    padding: 0 !important;
}

.sixteen.wide.mobile-margin {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 400px;
    position: relative;
    gap: 2rem;
}
.company-powered {
    position: absolute;
    bottom: 6px;
    right: 15px;
    color: var(--powered-by-color);
    letter-spacing: 0.9px;
}
.forgot-password:hover {
    color: var(--login-primary-color) !important;
    text-decoration: underline !important;

}

.glass-card .ten.wide.column {
    padding: 0;
}

.login-error {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: -20px;
}
.login-page-icon {
    position: absolute;
    top: 0;
    left: 2%;
    height: 100%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}
.landing-logo-img {
    content: var(--logo);
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
body,
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
    background: transparent;
}

@media (min-width: 1300px) {
    .ui.container {
        min-width: 100vw !important;
        max-width: 100vw !important;
    }

    .ui.container.login .glass-card {
        display: flex;
    }
}

@media (max-width: 1299px) and (min-width: 1020px) {
    .ui.container {
        /* min-width: 780px !important;
        max-width: 780px !important; */

        min-width: 100vw !important;
        max-width: 100vw !important;
        padding: 0;
    }

    .glass-card {
        min-width: 780px;
        max-width: 780px;
        padding: 14px;
    }

    .left-image {
        max-width: 100%;
        height: auto;
    }

    .left-image img.login-left-side-img {
        width: 100%;
        max-width: 100%;
        height: 380px;
        border-radius: 20px;
    }

    .tealink-logo {
        height: 130px;
        max-height: 150px;
        margin: 2rem 0;
    }

    .sixteen.wide.mobile-margin {
        max-width: 100%;
        gap: 0;
    }

    .login-form {
        width: 60%;
    }

    .login-form>.right.action.input {
        width: 100%;
    }

    .login-page-icon {
        font-size: 2.2rem !important;
    }

    .login-form>.field>input,
    .login-form .field,
    .login-form .field .input>input {
        width: 100%;
    }

    .login-form .field input {
        font-size: 2rem !important;
        padding-left: 2.9rem !important;
    }

    .login-btn {
        font-size: 2rem !important;
    }

    .company-powered {
        bottom: 3px;
        right: 15px;
        font-size: 1.9rem;
    }

    .tealink-logo>img {
        margin-bottom: 1rem;
    }
}

@media (max-width: 1024px) {
    .left-image {
        /* height: 400px; */
        width: 100%;
        border-top-left-radius: 10PX;
        border-top-right-radius: 10PX;
    }

    .left-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left;
        /* margin-bottom: 30px; */
    }

    .tealink-logo {
        margin-bottom: 20px;
    }

    .login-btn {
        margin-top: 0px !important;
    }
}

@media (max-width: 820px) {

    .left-image img.login-left-side-img {
        /* margin-left: -40px; */
        margin-left: 0;
    }

    .left-image img.login-left-side-img {
        /* max-width: 700px; */
        max-width: 100%;
    }

    .ui.container {
        min-width: 100vw !important;
        max-width: 100vw !important;
        padding: 0;
    }

    /* .ui.centered.grid {
        border-radius: 0px;
    } */

    .left-image {
        /* padding: 1rem 2rem; */
        height: 30vh;
        width: 100%;
        max-width: 100%;
    }

    .left-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        margin-bottom: 0px;
        border-radius: 10px;
    }

    .landing-logo-img {
        height: 5rem;
    }

    .mobile-margin {
        /* margin-top: -10vh !important; */
    }

    .glass-card {
        /* height: 100vh !important; */
        height: auto !important;
        padding: 15px;
        border-radius: 20px;
        width: 85vw;
    }

    .left-image img {
        height: 100%;
        height: 40vh;
    }

    .left-image img.login-left-side-img {
        width: 100%;
        height: 100%;
    }

    .ui.centered .sixteen.mobile-margin {
        width: 100% !important;
        max-width: 100%;
        gap: 0;
    }

    .tealink-logo {
        height: 100px;
        max-height: 120px;
        margin: 1rem 0 2rem 0;
    }

    .login-form {
        width: 60%;
    }

    .login-form .field {
        width: 100%;
    }

    .login-form .field>input,
    .login-form .field>.right.action.input>input {
        width: 100%;
    }

    .company-powered {
        font-size: 1.4rem;
        bottom: 3px;
    }
}

@media (max-width: 820px) and (min-width: 540px) {
    .ui.centered .sixteen.mobile-margin {
        /* width: 70% !important; */
    }
}

@media (max-width: 540px) {
    .left-image img.login-left-side-img {
        max-width: 90vw;
        margin-left: 1.5vw;
    }

    .mobile-margin {
        /* margin-top: -4vh !important; */
    }

    .ui.container {
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
    }

    .login-form {
        width: 100%;
    }

    .company-powered {
        position: relative;
        bottom: 0;
        right: 0;
        color: var(--powered-by-color);
        letter-spacing: 0.9px;
    }
}

@media (max-width: 430px) {
    .ui.container {
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0;
    }

    .sixteen {
        width: 100% !important;
    }

    .glass-card {
        height: 100vh;
        border-radius: 0px !important;
    }

    .left-image {
        padding: 1rem 1rem;
        border-radius: 0px;
        width: 100%;
        height: auto;
    }

    .left-image img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
        object-position: top;
        margin-bottom: 0px;
        border-radius: 10px;
    }

    .mobile-margin {
        /* margin-top: -20vh !important; */
    }

    .landing-logo-img {
        height: 4rem;
    }

    .glass-card {
        width: 100vw !important;
        height: 100vh !important;
    }

    .left-image img.login-left-side-img {
        margin-left: 0;
        border-radius: 20px;
    }

    .company-powered {
        font-size: 1.1rem;
    }
}

@media (max-width: 380px) {
    .left-image {
        max-height: 30vh;
    }

    .left-image img {
        height: 30vh;
    }

    .sixteen.mobile-margin {
        margin-bottom: -50px !important;
    }

    .ui.form .field {
        margin: 0 0 1.2em;
    }

    .tealink-logo {
        height: 90px;
        max-height: 100px;
        margin: 1rem 0 2rem 0;
    }

    .login-form .field input {
        padding: 10px 12px 10px 35px !important;
    }
}