* {
    box-sizing: border-box;
}

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

.page-background {
    min-height: 100vh;

    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    overflow-x: hidden;
}

.page-background::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.72),
        rgba(15, 23, 42, 0.42)
    );

    z-index: 0;

    pointer-events: none;
}

.page {
    position: relative;
    z-index: 1;

    min-height: 100vh;

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

    padding: 32px 16px;
}

.container-small {
    width: 100%;
    max-width: 1100px;

    display: flex;

    overflow: hidden;

    border-radius: 28px;

    background: rgba(15, 23, 42, 0.22);

    border: 1px solid rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(14px);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45);
}

/* LEFT PANEL */

.background {
    width: 55%;

    min-height: 560px;

    display: flex;
    align-items: center;

    padding: 56px;

    color: #ffffff;

/*     background: linear-gradient(
        160deg,
        rgba(37, 99, 235, 0.62),
        rgba(14, 165, 233, 0.10)
    ); */
	background: linear-gradient(135deg, #451952, rgba(14, 165, 233, 0.10)) !important;
}

.content {
    width: 100%;
    max-width: 430px;
}

.content h1 {
    margin: 0 0 18px;

    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.content p {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    line-height: 1.7;
}

.content a {
    color: #ffffff;

    font-weight: 700;

    text-decoration: none;

/*     border-bottom: 1px solid rgba(255, 255, 255, 0.7); */
}

/* FORM */

.form {
    width: 45%;

    min-width: 380px;

    padding: 56px 48px;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(12px);
}

.form h2 {
    margin: 0 0 28px;

    color: #0f172a;

    font-size: 32px;
    letter-spacing: -0.5px;
}

.control {
    width: 100%;

    margin-bottom: 18px;
}

.label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
	text-transform: uppercase;
}

/* SCRIPTCASE FIXES */

.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: 48px !important;

    padding: 0 16px !important;

    color: #0f172a !important;

    border: 1px solid #dbe3ef !important;

    border-radius: 14px !important;

    background: rgba(248, 250, 252, 0.94) !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: #2563eb !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

/* .form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 42px !important;

    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='#475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");

    background-repeat: no-repeat;

    background-position: calc(100% - 18px) center;

    background-size: 16px;
} */

/* BUTTON */

.submit {
    margin-top: 24px;
}

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

    height: 50px !important;

    border: 0 !important;

    border-radius: 14px !important;

    color: #ffffff !important;

/*     background: linear-gradient(
        135deg,
        #2563eb,
        #0ea5e9
    ) !important; */
	background: linear-gradient(135deg, #451952, #9f0ee9) !important;

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

    cursor: pointer !important;

/*     transition:
        transform 0.2s ease,
        box-shadow 0.2s ease !important; */
	background: linear-gradient(135deg, #451952, #9119cd) !important;
}

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

/*     box-shadow:
        0 14px 28px rgba(37, 99, 235, 0.28); */
	box-shadow: 0 14px 28px rgb(80 37 235 / 28%);
}

/* REMEMBER */

#txtremember {
    display: inline-block;

    margin-top: 16px;

    color: #475569;

    font-size: 14px;
}

#txtremember input {
    margin-right: 6px;
}

/* LINKS */

.form a {
    color: #2563eb;

    font-size: 14px;
    font-weight: 600;
}

/* 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;
}

/* ALERT */

.alert-message {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 5;
	width: 70% !important;
    height: fit-content;
}



/* COPYRIGHT */

.copyright {
    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;

    z-index: 30;

    display: flex;
    justify-content: center;

    pointer-events: none;
}

.copyright p {
    margin: 0 0 12px;

    padding: 8px 16px;

    border-radius: 999px;

    background: rgba(15, 23, 42, 0.42);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 8px 24px rgba(0,0,0,0.18);

    color: rgba(255,255,255,0.78);

    font-size: 11px;

    letter-spacing: 0.3px;

    pointer-events: auto;
}

/* INFO AREA */

#info {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 16px;

    margin-top: 18px;
}

/* OPTIONS */

.options {
    flex: 1;
}

.options a {
    display: block;

    margin-bottom: 8px;

/*     color: #2563eb; */
	color: #602477;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.options a:hover{    
	text-decoration-style: solid;
	    color: #a33ccb;
}

/* MESSAGE */

#message {
    width: 220px;

    flex-shrink: 0;

    border-radius: 14px;

/*     color: #193f91; */

    font-size: 13px;

    z-index: 3;
}

#message span {
    display: block;

/*     margin-bottom: 6px; */
	margin: 10px 0 2px 0px;
/*     color: #193f91 !important; */
	color: #602477 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

#message p {
/*     color: #193f91 !important; */

    font-size: 12px !important;
}


.download-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 11px 16px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.download-action:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 20px;
    height: 20px;
}

.download-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.download-content {
    display: flex;
    align-items: center;
}

.download-content p {
    margin: 0;
}

.download-content a {
    color: inherit;
    text-decoration: none;
}

.download-content a:hover {
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 820px) {

    .page {
        min-height: 100vh;
        padding: 12px;
        align-items: center;
    }

    .container-small {
        max-width: 420px;
        width: 100%;
        flex-direction: column;
        border-radius: 22px;
    }

    .background,
    .form {
        width: 100%;
        min-width: initial;
    }

    .background {
        min-height: auto;
        padding: 24px 24px 18px;
    }

    .content {
        max-width: 100%;
    }

    .content h1 {
        font-size: 30px;
        line-height: 1.05;
        margin-bottom: 10px;
    }

    .content p {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .content p:last-child {
        display: none;
    }

    .form {
        padding: 24px;
    }

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

    .control {
        margin-bottom: 12px;
    }

    .label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .form input[type="text"],
    .form input[type="password"],
    .form select {
        height: 42px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }

    .submit {
        margin-top: 16px;
    }

    .button,
    .form input[type="button"],
    .form input[type="submit"] {
        height: 44px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
    }

    #txtremember {
        margin-top: 10px;
        font-size: 13px;
    }

    span.sc-ui-pwd-toggle-icon {
        bottom: 1.75rem;
    }
	
#info {
        flex-direction: column;

        gap: 12px;
    }

    #message {
        width: 100%;
    }

.copyright {
    margin-top: 18px;
}

.copyright p {
    font-size: 11px;
}
	
}

@media (max-width: 420px) {

    .page {
        padding: 8px;
    }

    .background {
        padding: 20px 20px 14px;
    }

    .form {
        padding: 20px;
    }

    .content h1 {
        font-size: 26px;
    }

    .content p {
        display: none;
    }
}