@font-face {
    font-family: Morabba-Bold;
    src: url('../CDN/Fonts/FA/OtherFonts/Morabba/Morabba-Bold.woff2') format('woff2');
    font-display: swap;
}
:root { color-scheme: dark; --login-mint: #54ddb1; --login-gold: #d4ca79; }
html { min-height: 100%; background: #06151b; overflow-x: clip; }
body { margin: 0; color: #e6f3ef; background: radial-gradient(ellipse at 50% 35%, #0d3034 0, #06151b 55%, #050e15 100%); min-height: 100vh; min-height: 100svh; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .2; background-image: radial-gradient(circle, #73b8a5 1px, transparent 1.5px); background-size: 74px 74px; mask-image: radial-gradient(ellipse at center, transparent 28%, #000 90%); }
#form1 { width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; box-sizing: border-box; padding: 28px 20px 36px; }
.login { width: 100%; max-width: 420px; min-width: 0; position: relative; isolation: isolate; }
.login .image { height: 172px; position: relative; text-align: center; pointer-events: none; overflow: clip; }
.login .image img { position: absolute; width: 234px; height: 234px; top: 0; left: calc(50% - 117px); object-fit: contain; filter: drop-shadow(0 10px 30px #0006); animation: horse-arrive .75s ease-out both; }
.loginOrbit { position: absolute; width: min(330px, calc(100vw - 100px)); aspect-ratio: 1; border: 1px solid #70d6b52b; border-radius: 50%; top: 58px; left: 50%; transform: translateX(-50%); z-index: -1; }
.loginOrbit::after { content: ''; position: absolute; inset: 19px -18px; border: 1px solid #b3bf9b19; border-radius: 50%; transform: rotate(-28deg); }
.login .form { position: relative; padding: 30px 32px 22px; border: 1px solid #78c8b32e; border-top-color: #a8d7c853; border-radius: 24px; background: radial-gradient(ellipse at 50% 0, #1c645e45, transparent 47%), linear-gradient(145deg, #122c33f5, #091b25f5 76%); box-shadow: 0 32px 80px #0006, inset 0 1px #d5fff00c; text-align: center; animation: card-arrive .6s ease-out both; }
.accessBadge { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: #9ac4b4; letter-spacing: .03em; }
.accessBadge > span { width: 7px; height: 7px; background: var(--login-mint); border-radius: 2px; box-shadow: 0 0 17px #54ddb194; }
.loginBrand { margin: 8px 0 12px; font-family: Morabba-Bold, Tahoma !important; font-size: 49px; line-height: 1.2; color: #e5f6eb; }
.loginBrand > span { display: block; color: #75d9b5; font-size: 11px; font-weight: normal; margin-top: 6px; }
.login .form h4 { margin: 0 0 5px; font-size: 16px; font-weight: normal; color: #d5e4e0; }
.login .appName { display: block; color: #88a7aa; font-size: 10px; margin-bottom: 24px; line-height: 1.9; }
.loginItem { position: relative; text-align: right; margin-bottom: 17px; }
.login .titleForm { position: absolute; right: 13px; top: 15px; padding: 0 5px; z-index: 1; font-size: 12px; line-height: 19px; color: #9dbab5; pointer-events: none; transition: top .18s, font-size .18s, color .18s, background-color .18s; }
.loginItem:focus-within .titleForm, .loginItem:has(input:not(:placeholder-shown)) .titleForm { top: -9px; font-size: 10px; color: #80dbb9; background: #10272e; }
.login input[type=text], .login input[type=password] { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #739b982e; border-radius: 11px; box-sizing: border-box; background: #0618208c; box-shadow: inset 0 2px 6px #0002; color: #effaf5; font-size: 16px; direction: ltr; text-align: left; transition: border-color .2s, box-shadow .2s; }
.login input::placeholder { font-size: 11px; direction: rtl; text-align: right; color: #6e9295; }
.login #_txtPassword { padding-left: 48px; }
.login input:focus { outline: none; border-color: #54ddb1; box-shadow: 0 0 0 3px #54ddb114; }
.login input:-webkit-autofill { -webkit-text-fill-color: #effaf5; -webkit-box-shadow: 0 0 0 100px #0b232b inset; caret-color: #effaf5; }
.passwordButton { position: absolute; left: 5px; bottom: 5px; height: 39px; width: 39px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.passwordButton:hover { background: #54ddb111; }
.passwordButton .togglePassword { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; }
.login input[type=submit] { width: 100%; height: 48px; padding: 0 12px; margin: 4px 0 18px; border: 0; border-radius: 11px; background: linear-gradient(105deg, #50dfad, #93d59c 55%, #ded17b); box-shadow: 0 7px 23px #41cba622; color: #092b29; font-weight: bold; font-size: 14px; cursor: pointer; -webkit-appearance: none; transition: transform .2s, box-shadow .2s; }
.login input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 9px 28px #41cba640; }
.login input[type=submit]:active { transform: translateY(0); }
.loginSignature { border-top: 1px solid #76aa9a20; padding-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; line-height: 1.9; }
.loginSignature a { font-size: 9px; color: #7e9f9f; text-decoration: none; }
.loginSignature a:hover { color: #b8d6cb; }
.loginSignature img { vertical-align: middle; margin-left: 4px; object-fit: contain; }
.loginSignature .companySupport { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; font-size: 12px; color: #9cc9b6; }
:focus-visible { outline: 2px solid #71dfbb; outline-offset: 4px; }
.errorMessage { color: #ffb6a8; font-size: 12px; }
@keyframes card-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes horse-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
    #form1 { padding: 18px 20px; }
    .login .form { padding: 20px 23px 16px; border-radius: 21px; }
    .login .image { height: 128px; }
    .login .image img { width: 176px; height: 176px; left: calc(50% - 88px); }
    .loginOrbit { width: min(280px, calc(100vw - 100px)); }
    .loginBrand { font-size: 39px; margin: 6px 0 10px; }
    .login .appName { margin-bottom: 20px; font-size: 9px; }
    .login .form h4 { font-size: 14px; }
    .loginItem { margin-bottom: 15px; }
    .login input[type=submit] { margin-bottom: 13px; }
    .loginSignature { padding-top: 11px; gap: 6px; }
    .loginSignature a { font-size: 8px; }
}
@media (max-height: 740px) and (min-width: 481px) {
    #form1 { padding-top: 15px; padding-bottom: 22px; }
    .login .image { height: 144px; }
    .login .image img { width: 200px; height: 200px; left: calc(50% - 100px); }
    .login .form { padding-top: 22px; padding-bottom: 18px; }
    .login .appName { margin-bottom: 18px; }
    .loginItem { margin-bottom: 12px; }
}
@media (max-height: 650px) and (max-width: 480px) {
    #form1 { padding: 10px 18px; }
    .login .image { height: 100px; }
    .login .image img { width: 140px; height: 140px; left: calc(50% - 70px); }
    .login .form { padding: 14px 21px 12px; }
    .loginBrand { font-size: 32px; margin-bottom: 8px; }
    .login .appName { margin-bottom: 15px; }
    .loginItem { margin-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
