/* Hostler — custom WP login page (brand palette + server-rack mark) */

body.login {
    background: var(--surface, #F8FAFC);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

body.login::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0A1B33 0%, #1656B5 60%, #0EA5B7 100%);
    opacity: .06;
    pointer-events: none;
}

/* Logo area — rack glyph above the wordmark */
#login h1 a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 32 32' fill='none'%3E%3Crect x='4' y='4' width='3.6' height='24' rx='1.8' fill='%230A1B33'/%3E%3Crect x='24.4' y='4' width='3.6' height='24' rx='1.8' fill='%230A1B33'/%3E%3Crect x='8' y='5.8' width='16' height='4.6' rx='1.6' fill='%230A1B33'/%3E%3Crect x='8' y='13.7' width='16' height='4.6' rx='1.6' fill='%230A1B33'/%3E%3Crect x='8' y='21.6' width='16' height='4.6' rx='1.6' fill='%230A1B33'/%3E%3Ccircle cx='10.7' cy='8.1' r='1.15' fill='%2322C55E'/%3E%3Ccircle cx='10.7' cy='16' r='1.15' fill='%2322C55E'/%3E%3Ccircle cx='10.7' cy='23.9' r='1.15' fill='%2322C55E'/%3E%3C/svg%3E");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 40px 40px;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0A1B33;
    text-decoration: none;
    width: auto;
    height: auto;
    padding-top: 52px;
    display: block;
    text-align: center;
    letter-spacing: -.03em;
    text-indent: 0;
    overflow: visible;
}
#login h1 a::after {
    content: 'Hostler';
    display: block;
}

/* Card */
#login {
    width: 360px;
}
#loginform, .login form {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 40px -16px rgba(10,27,51,.22);
}

/* Inputs */
.login input[type="text"],
.login input[type="password"] {
    border-radius: 10px;
    border-color: #E2E8F0;
    box-shadow: none;
    font-size: 14px;
    padding: 9px 12px;
}
.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: #1656B5;
    box-shadow: 0 0 0 3px #EAF1FB;
    outline: none;
}

/* Submit button */
.login #wp-submit {
    background: #1656B5;
    border-color: #1656B5;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    box-shadow: none;
    text-shadow: none;
    transition: background .15s;
}
.login #wp-submit:hover { background: #0E3F87; border-color: #0E3F87; }

/* Links */
.login #nav a, .login #backtoblog a {
    color: #64748B;
    font-size: 12px;
}
.login #nav a:hover, .login #backtoblog a:hover { color: #1656B5; }

/* Error */
.login .message, .login .notice, .login .error {
    border-left-color: #DC2626;
    border-radius: 10px;
}
