/**
 * Login Customization CSS
 * Additional styles for login page customization
 */

/* Base login page improvements.
   No align-items: center here — centering the flex child with margin: auto
   keeps the top of the form reachable (scrollable) on short viewports. */
body.login {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
}

#login {
    width: 400px;
    margin: auto;
}

/* Form improvements */
.login form {
    padding: 26px 24px 34px;
}

.login form .input,
.login input[type="text"],
.login input[type="password"] {
    font-size: 16px;
    padding: 10px;
}

/* Button improvements */
.login .button-primary {
    width: 100%;
    height: 44px;
    font-size: 16px;
    line-height: 44px;
    padding: 0 24px;
}

/* Link styling */
.login #nav,
.login #backtoblog {
    text-align: center;
}

/* Remove WordPress logo default */
.login h1 a {
    margin-bottom: 20px;
}

/* Smooth transitions */
.login input[type="text"],
.login input[type="password"],
.login .button-primary {
    transition: all 0.3s ease;
}

/* Focus states */
.login input[type="text"]:focus,
.login input[type="password"]:focus {
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}
