/* MAD ANTICHEAT web panel: page + login. The panel itself uses ../html/panel.css */
html, body { margin: 0; height: 100%; background: #070708; color: #f2f2f2; font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif; }
.hidden { display: none !important; }

.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.boot .mp-spin, #boot .mp-spin { width: 28px; height: 28px; }

.login {
    position: fixed; inset: 0; display: grid; place-items: center; padding: 16px;
    background: radial-gradient(ellipse 120% 75% at 50% -12%, #3b3c41 0%, #1b1c1f 42%, #0c0c0d 78%, #080809 100%);
}
.login::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 250px 250px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 50%, transparent 100%);
}
.login-card {
    position: relative; width: min(400px, 100%); padding: 36px 32px 28px;
    background: rgba(12, 12, 13, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px;
    box-shadow: 0 50px 160px rgba(0, 0, 0, 0.8); animation: mp-in 260ms cubic-bezier(.2, .8, .2, 1);
}
.login-logo { display: block; height: 48px; margin: 0 auto; filter: drop-shadow(0 4px 18px rgba(255, 255, 255, 0.18)); }
.login-sub { margin: 14px 0 28px; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0.36em; color: #9a9a9e; }
.login-label { display: block; margin: 14px 0 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a9e; }
.login-field {
    display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 120ms;
}
.login-field:focus-within { border-color: rgba(255, 255, 255, 0.45); }
.login-field i { color: #606066; width: 16px; text-align: center; }
.login-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: 500 14px inherit; font-family: inherit; }
.login-error {
    display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 11px 13px; border-radius: 10px;
    background: #fff; color: #0a0a0a; font-size: 12.5px; font-weight: 600;
}
.login-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; margin-top: 22px;
    border: 0; border-radius: 10px; background: #fff; color: #0a0a0a; font: 700 14px inherit; font-family: inherit; cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.14); transition: background 120ms, transform 80ms;
}
.login-btn:hover { background: #e6e6e6; }
.login-btn:active { transform: translateY(1px); }
.login-btn:disabled { opacity: 0.5; cursor: wait; }
.login-foot { margin-top: 22px; text-align: center; font-size: 11px; line-height: 1.6; color: #606066; }
.login-foot code { color: #9a9a9e; font-size: 10.5px; }
@keyframes mp-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
