* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    overflow: hidden;
}

.background {
    position: fixed;
    inset: 0;
    background: url("/static/img/login-bg.png") center center / cover no-repeat;
    filter: brightness(0.9);
}

.login-box {
    position: absolute;
    top: 56%;
    right: 9%;
    transform: translateY(-50%);
    width: 420px;
    padding: 38px;
    border-radius: 24px;
    background: rgba(4, 13, 33, 0.76);
    border: 1px solid rgba(0, 140, 255, 0.45);
    box-shadow: 0 0 45px rgba(0, 120, 255, 0.35);
    backdrop-filter: blur(18px);
}

.login-box h1 {
    margin: 0 0 8px;
    font-size: 38px;
    letter-spacing: 3px;
}

.login-box h2 {
    margin: 0 0 26px;
    color: #7dd3fc;
    font-weight: normal;
}

.login-box input {
    width: 100%;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(2, 8, 23, 0.8);
    color: white;
    font-size: 15px;
    outline: none;
}

.login-box input:focus {
    border-color: #00aaff;
}

.login-box button {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #16c784, #00e08a);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.login-box button:hover {
    filter: brightness(1.08);
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.links a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 900px) {
    .login-box {
        right: 50%;
        transform: translate(50%, -50%);
        width: calc(100% - 40px);
        max-width: 420px;
    }
}
