* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

body.page-background {
    min-height: 100vh;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    background-color: #0f172a;
}

body.page-background::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        110deg,
        #0f172a 0%,
        #0f766e 48%,
        rgba(15,118,110,.62) 64%,
        rgba(15,23,42,.12) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* PAGE */

.page {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.grid {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

/* LEFT */

.col-7 {
    width: 58%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px;
}

.col-7 .content {
    max-width: 620px;
    color: #ffffff;
}

.col-7 .content h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 800;
}

.col-7 .content p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.7;
}

/* EMPTY */

.col-1 {
    display: none;
}

/* RIGHT */

.col-5 {
    width: 42%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

/* FORM */

.form.half-size {
    width: 100%;
    max-width: 420px;

    padding: 38px;

    border-radius: 28px;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,.28);

    box-shadow:
        0 24px 60px rgba(15,23,42,.18);
}

.control {
    margin-bottom: 18px;
}

.label {
    display: block;

    margin-bottom: 8px;

    color: #0f172a;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .4px;

    text-transform: uppercase;
}

/* FIELDS */

.form table,
.form tbody,
.form tr,
.form td {
    width: 100% !important;
}

.form input[type="text"],
.form input[type="password"],
.form select {
    width: 100% !important;
    max-width: 100% !important;

    height: 52px !important;

    padding: 0 16px !important;

    color: #0f172a !important;

    border: 1px solid #dbeafe !important;

    border-radius: 14px !important;

    background: rgba(255,255,255,.88) !important;

    outline: none !important;

    font-size: 14px !important;

    transition: all .2s ease !important;
}

.form input[type="text"]:focus,
.form input[type="password"]:focus,
.form select:focus {
    border-color: #0f766e !important;

    background: #ffffff !important;

    box-shadow: 0 0 0 4px rgba(15,118,110,.12) !important;
}

/* PASSWORD ICON */

span.sc-ui-pwd-toggle-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    right: .8rem;
    z-index: 2;
    float: right;
    bottom: 2.1rem !important;
}

/* FLAGS */

.flag-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 10px 0 18px;
}

.flag-lang .flags {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

/*     background: rgba(255,255,255,.42);
    backdrop-filter: blur(8px); */
	background: rgb(238 242 243);

    border: 1px solid rgba(255,255,255,.18);

    transition:
        transform .2s ease,
        background .2s ease;

    text-decoration: none;

    filter: opacity(.5);
}

.flag-lang .flags:hover {
    filter: opacity(1) !important;

    transform: translateY(-2px);
	border: 1px solid rgb(0 0 0 / 18%);
    background: rgba(255,255,255,.68);
}

.flag-lang img {
    width: 20px;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* BUTTON */

.submit {
    margin-top: 18px;
}

.button,
.form input[type="button"],
.form input[type="submit"] {
    width: 100% !important;

    height: 52px !important;

    border: 0 !important;

    border-radius: 14px !important;

    background: linear-gradient(
        135deg,
        #0f766e,
        #2563eb
    ) !important;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 800 !important;

    cursor: pointer !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease !important;
}

.button:hover,
.form input[type="button"]:hover,
.form input[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(15,118,110,.22);
}

/* REMEMBER */

#txtremember {
    display: inline-block;

    margin-top: 8px;
    margin-bottom: 6px;

    color: #0f172a;

    font-size: 14px;
}

/* LINKS */

.form a {
    display: inline-block;

    margin-top: 12px;

    color: #0f766e;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.form a:hover {
    text-decoration: underline;
}

/* HINT */

.login-hint {
    margin-top: 16px;

    color: #334155;

    font-size: 13px;

    line-height: 1.6;
}

.login-hint span {
    color: #0f172a;

    font-weight: 600;
}

.login-hint label {
    color: #0f766e;

    font-weight: 700;
}

/* ALERT */

.alert-message {
    position: fixed;

    left: 50%;
    top: 24px;
	
    width: 100%;
    max-width: 360px;

    padding: 16px 18px;

    border-radius: 14px;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(12px);

    border: 1px solid #fee2e2;

    box-shadow:
        0 18px 40px rgba(0,0,0,.12);

    z-index: 9999;
}

.alert-message.negative {
    border-left: 4px solid #ef4444;
	transform: translate(-50%, -200%);
}

.alert-message.active {
    transform: translate(-50%, 200%);
}

.alert-message .message {
    display: block;

    color: #991b1b;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}

.alert-message .close {
    position: absolute;

    top: 10px;
    right: 12px;

    cursor: pointer;

    color: #dc2626;

    font-size: 18px;
    font-weight: 700;
}

/* COPYRIGHT */

.copyright {
    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;

    z-index: 20;

    display: flex;
    justify-content: center;

    pointer-events: none;
}

.copyright p {
    margin: 0 0 10px;

    padding: 6px 14px;

    border-radius: 999px;

    background: rgba(15,23,42,.48);

    color: rgba(255,255,255,.82);

    font-size: 11px;

    letter-spacing: .2px;
}

/* LOW HEIGHT */

@media (max-height: 780px) and (min-width: 901px) {

    .col-7 {
        padding: 52px 64px;
    }

    .col-7 .content h1 {
        font-size: 52px;
    }

    .col-7 .content p {
        font-size: 16px;
    }

    .form.half-size {
        padding: 30px;
    }

    .form input[type="text"],
    .form input[type="password"],
    .form select {
        height: 46px !important;
    }

    .button,
    .form input[type="button"],
    .form input[type="submit"] {
        height: 48px !important;
    }

}

/* MOBILE */

@media (max-width: 900px) {

    .grid {
        flex-direction: column;
    }

    .col-7,
    .col-5 {
        width: 100%;
        min-height: auto;
    }

    .col-7 {
        padding: 36px 28px;
    }

    .col-7 .content h1 {
        font-size: 38px;
    }

    .col-7 .content p {
        font-size: 15px;
    }

    .col-5 {
        padding: 28px 22px 54px;
    }

    .form.half-size {
        max-width: 100%;

        padding: 28px;
    }

    .alert-message {
        left: 12px;
        right: 12px;

        transform: none;

        width: auto;
        max-width: none;
    }

}

@media (max-width: 420px) {

    .col-7 .content h1 {
        font-size: 30px;
    }

    .col-7 .content p {
        display: none;
    }

    .form.half-size {
        padding: 22px;
        border-radius: 22px;
    }

}