/* Fullscreen background */
body.login {
    min-height: 100vh;
    background: url('/img/background.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay */
body.login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.75);
    z-index: 0;
}

/* Center container */
#login {
    position: relative;
    z-index: 1;
    width: 360px;
    padding: 40px;
    background: rgba(20, 20, 30, 0.9);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Logo */
.login h1 a {
    background-image: url('/img/DiscordLogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 160px;
    height: 90px;
    margin: 0 auto 20px;
}

/* Remove WP box styling */
.login form {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

/* Labels */
.login label {
    color: #ddd;
    font-weight: 600;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"] {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
}

/* Button */
.wp-core-ui .button-primary {
    background: #ff6a00;
    border: none;
    border-radius: 6px;
    font-weight: 600;
}

.wp-core-ui .button-primary:hover {
    background: #ff8c2a;
}

/* Remember me */
.login .forgetmenot label {
    color: #bbb;
}

/* Links */
.login #nav,
.login #backtoblog {
    text-align: center;
}

.login #nav a,
.login #backtoblog a {
    color: #ff6a00;
    font-weight: 500;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #fff;
}

/* Error / message styling */
.login .message,
.login .notice,
.login .success {
    background: rgba(0,0,0,0.6);
    border-left: 4px solid #ff6a00;
    color: #fff;
}