/* === Login Page Background and Typography === */
body.login {
    background-color: #000099;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.login #login {
    width: 100%;
    max-width: 400px;
}

/* === Logo Styling === */
.login h1 a {
    background-image: url('/wp-content/themes/TVG2025/images/logo.png'); /* Update this path if needed */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    width: 100%;
    height: 99px;
    margin: 0 auto 20px;
}

/* === Form Styling === */
.login form {
    background: #ffffff;
    border: 1px solid #990000;
    padding: 26px 24px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.login label {
    color: #000099;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* === Input Fields === */
.login form .input, 
.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 16px;
    border-radius: 4px;
    border: 1px solid #000099;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
    font-size: 14px;
}

/* === Primary Button === */
.wp-core-ui .button-primary {
    background-color: #990000;
    border-color: #990000;
    color: #ffffff;
    text-shadow: none;
    box-shadow: none;
    font-weight: 600;
    padding: 8px 16px;
}

.wp-core-ui .button-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

/* === Link Styling (Below Form) === */
.login #nav, 
.login #backtoblog {
    text-align: center;
    margin-top: 15px;
}

.login #nav a, 
.login #backtoblog a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
}

.login #nav a:hover, 
.login #backtoblog a:hover {
    color: #ffcccc !important;
    text-decoration: underline;
}

/* === Responsive Fixes === */
@media (max-width: 480px) {
    .login form {
        padding: 20px;
    }

    .login h1 a {
        height: 80px;
    }
}
