:root {
    --color-main-text: #ffffff;
    --color-primary: #0082c9;
    --color-primary-element: #0082c9;
    --color-error: #e04444;
}
* { box-sizing: border-box; user-select: none; }
body, html {
    width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
#body-login {
    background: var(--color-primary) url('https://githubusercontent.com') no-repeat center center fixed;
    background-size: cover; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.wrapper { width: 100%; max-width: 315px; margin: 0 auto; padding: 0 10px; z-index: 10; }
header { margin-bottom: 4vh; text-align: center; }
#header .logo {
    background: url('https://githubusercontent.com') no-repeat center;
    background-size: contain; width: 100%; height: 110px;
}
#warning-container { width: 100%; margin-bottom: 10px; display: none; }
.warning {
    background-color: var(--color-error); color: #fff; padding: 12px;
    border-radius: 3px; font-size: 13px; font-weight: 600; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); animation: shake 0.4s ease-in-out;
}
main {
    background-color: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); border-radius: 3px; padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.form-group { position: relative; margin-bottom: 7px; }
input[type="text"], input[type="password"] {
    width: 100%; height: 44px; padding: 0 14px; background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid transparent; border-radius: 3px; font-size: 14px; color: #222; outline: none;
}
input[type="text"]:focus, input[type="password"]:focus { background-color: #fff; border-color: var(--color-primary-element); }
.submit-wrapper { margin-top: 14px; }
#submit-button {
    width: 100%; height: 44px; background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 3px; color: #fff;
    font-size: 14px; font-weight: 600; cursor: pointer;
}
#submit-button:hover { background-color: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.6); }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
