* {
    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: center center !important;
    background-repeat: no-repeat !important;
}

/* PAGE */

.page {
    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 IMAGE AREA */

.col-7 {
    width: 64%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 72px;
    overflow: hidden;
}

.col-7::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58),
        rgba(0, 0, 0, 0.28)
    );
    z-index: 1;
}

.col-7 .content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    color: #ffffff;
}

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

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

.col-7 .content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 180px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

/* EMPTY COLUMN */

.col-1 {
    display: none;
}

/* RIGHT FORM AREA */

.col-4 {
    width: 36%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.form.half-size {
    width: 100%;
    max-width: 440px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.form h2 {
    margin: 0 0 34px;
    color: #1f2937;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    font-weight: 800;
}

.control {
    margin-bottom: 20px;
}

.label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* SCRIPTCASE 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: #111827 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    outline: none !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.form input[type="text"]:focus,
.form input[type="password"]:focus,
.form select:focus {
/*     border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12) !important; */
	border-color: rgb(229 81 81) !important;
    box-shadow: 0 0 0 4px rgb(229 81 81 / 12%) !important;
}

/* FLAGS */

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

.flag-lang .flags {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.flag-lang .flags:hover {
    transform: translateY(-2px);
    border-color: #fdba74;
    box-shadow: 0 10px 20px rgba(249, 115, 22, .12);
}

.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: 50px !important;
    border: 0 !important;
    border-radius: 10px !important;
/*     background: linear-gradient(135deg, #f97316, #ea580c) !important; */
	background: linear-gradient(135deg, #e55151, #e55151) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.button:hover,
.form input[type="button"]:hover,
.form input[type="submit"]:hover {
    transform: translateY(-1px);
/*     box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25); */
	box-shadow: 0 12px 24px rgb(249 22 22 / 25%);
}

/* LINKS */

.form a {
/*     color: #ea580c;
    font-size: 13px;
    font-weight: 700; */
	display:inline-block;
    margin-top:14px;
    color: #e55151;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

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

/* MESSAGE */

.form hr {
    border: 0;
    height: 1px;
    background: #e5e7eb;
}

#message {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

#message p {
    color: #9a3412 !important;
    font-size: 12px !important;
    line-height: 1.45;
}

#message p[style*="font-weight:bold"] {
    color: #7c2d12 !important;
}

/* PASSWORD ICON */

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

/* 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(31, 41, 55, .52);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    letter-spacing: 0.2px;
}

/* ALERT */

.alert-message {
    position: absolute;
    left: 50%;
    top: -50px;

/*     transform: translateX(-50%); */
    transform: translate(-50%, -100%);

    width: 100%;
    max-width: 420px;

    padding: 16px 18px;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid #fee2e2;

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

    z-index: 9999;
}

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

.alert-message.negative {
    border-left: 4px solid #ef4444;
}

.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;
}

/**/
/* .alert-message {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%,-150%);
    border-radius: 6px;
    padding: 10px 20px;
    width: 450px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    background: #1FB6FF;
    transition: all .2s;
    transition-delay: .2s;
    transition-timing-function: ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(31,45,61,.15)
}

.alert-message span.close {
    display: inline-block;
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.65);
    content: "\00d7";
    font-weight: bold;
    font-size: 23px;
    position: absolute;
    right: 5px;
    top: 3px;
    cursor: pointer;
}

.alert-message span.close.hover {
    color: white;
}

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

.alert-message.primary  { background-color: #1FB6FF; }
.alert-message.positive { background-color: #13CE66; }
.alert-message.negative { background-color: #FF4949; }
.alert-message.warning  { background-color: #FFC82C; } */

/* MOBILE */
@media (max-height: 780px) and (min-width: 901px) {
    .col-7 {
        padding: 48px 64px;
    }

    .col-7 .content h1 {
        font-size: 44px;
        margin-bottom: 14px;
    }

    .col-7 .content p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .col-7 .content .button {
        height: 42px;
    }

    .col-4 {
        padding: 32px 56px;
    }

    .form h2 {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .control {
        margin-bottom: 14px;
    }

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

    .flag-lang {
        margin: 8px 0 18px;
    }

    .submit {
        margin-top: 14px;
    }

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

    .form hr {
        margin: 18px 0 16px !important;
    }

    #message {
        padding: 10px 14px;
    }

    #message p {
        font-size: 11px !important;
        line-height: 1.35;
    }
}

@media (max-width: 900px) {
    .grid {
        flex-direction: column;
    }

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

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

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

    .col-7 .content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .col-7 .content p:last-child {
        margin-bottom: 0;
    }

    .col-4 {
        flex: 1;
        padding: 34px 28px 54px;
    }

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

    .form h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .control {
        margin-bottom: 16px;
    }

    #message {
        padding: 12px 14px;
    }

    .copyright p {
        margin-bottom: 8px;
        font-size: 10px;
    }
}

@media (max-width: 420px) {
    .col-7 {
        padding: 26px 22px;
    }

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

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

    .col-4 {
        padding: 28px 22px 52px;
    }

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

    .button,
    .form input[type="button"],
    .form input[type="submit"] {
        height: 46px !important;
    }
}
/* =========================================================
   DEMONSTRATION LOGIN OPTIONS
   ========================================================= */

.demo-login-divider {
    margin: 25px 0 20px !important;
}

#message.demo-login-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #374151;
}

#message.demo-login-panel .demo-login-title {
    margin: 0 0 10px;
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0.45px;
    line-height: 1.3;
    text-transform: uppercase;
}

.demo-login-options {
    display: grid;
    gap: 9px;
}

button.demo-login-option {
    width: 100%;
    min-height: 66px;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    font: inherit;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

button.demo-login-option:hover {
    border-color: rgba(229, 81, 81, 0.55);
    background: #fffafa;
    box-shadow: 0 9px 20px rgba(229, 81, 81, 0.08);
    transform: translateY(-1px);
}

button.demo-login-option:focus-visible,
button.demo-login-option.is-selected {
    border-color: #e55151;
    background: #fffafa;
    box-shadow:
        0 0 0 3px rgba(229, 81, 81, 0.12),
        0 10px 22px rgba(229, 81, 81, 0.08);
}

.demo-login-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}

.demo-login-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.demo-login-icon-admin {
    color: #dc2626;
    background: #fee2e2;
}

.demo-login-icon-user {
    color: #b45309;
    background: #fef3c7;
}

.demo-login-icon-kitchen {
    color: #7c3aed;
    background: #ede9fe;
}

.demo-login-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-login-copy > strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.demo-login-copy small {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 2px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.3;
}

.demo-login-copy small b {
    color: #334155;
    font-weight: 800;
}

@media (max-height: 780px) and (min-width: 901px) {
    button.demo-login-option {
        min-height: 58px;
        padding: 8px 10px;
    }

    .demo-login-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .demo-login-options {
        gap: 7px;
    }
}

@media (max-width: 420px) {
    button.demo-login-option {
        min-height: 60px;
        padding: 9px 10px;
    }

    .demo-login-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .demo-login-copy small {
        column-gap: 8px;
        font-size: 10px;
    }
}