:root {
    --primary-color: #3071cd;
    --secondary-color: #255bb3;
    --primary-link-color: #e8e8e8;
    --secondary-link-color: #d3d0d0;
}
/* Custom Login Screen Styles */
body.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: linear-gradient(100deg, #8FC742 0.01%, #46A7AE 44.03%, #745FA6 97%);
}

/* Form styles */
#login {
    width: 100%;
    max-width: clamp(16.875rem, 12.795vw + 14.316rem, 25rem);
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    padding: clamp(0.625rem, 1.969vw + 0.231rem, 1.875rem);
    border-radius: 0.5rem;
    box-shadow: 0.75rem 0.75rem 1.75rem 0 rgba(0, 0, 0, 0.25);
    border: 0;
}

#loginform {
    padding: 0;
    border: 0;
    overflow: visible;
    margin-bottom: 30px;
}

.login .message,
.login #login_error {
    margin-top: 10px;
}

/* Logo styles */
.login h1 a {
    background-image: none;  /* Remove WP logo - add your own with background-image */
    width: clamp(18.125rem, 2.953vw + 17.534rem, 20rem);
    margin-bottom: 0;
}

/* Labels */
#login label {
    font-size: clamp(0.875rem, 0.197vw + 0.836rem, 1rem);
    font-weight: 600;
    text-transform: uppercase;
}

/* Input fields */
#loginform input[type="text"],
#loginform input[type="password"] {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 16px;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
    box-shadow: none;
    outline: 0.125rem solid var(--primary-color);
    outline-offset: 0.125rem;
}

#loginform .button.wp-hide-pw {
    width: 46px;
    height: 46px;
    top: 2px;
}
/* Submit button */
#loginform .submit .button-primary {
    background: var(--primary-color);
    border-radius: 0;
    padding: 6px 12px;
    height: auto;
    width: 100%;
    text-shadow: none;
    box-shadow: none;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 0.197vw + 0.711rem, 0.875rem);
    font-weight: 600;
}

#loginform .submit .button-primary:hover {
    background: var(--secondary-color);
}
#loginform .submit .button-primary:focus {
    box-shadow: none;
    outline: 0.125rem solid var(--primary-color);
    outline-offset: 0.125rem;
}

/* Remember me checkbox */
#login .forgetmenot {
    display: none;
}

/* Links */
.login #nav,
.login #backtoblog {
    text-align: center;
    margin: 0;
    padding: 0;
}

.login #nav a,
.login #backtoblog a {
    text-decoration: none;
    background: var(--primary-link-color);
    display: block;
    min-height: 32px;
    line-height: 2.30769231;
    padding: 6px 12px;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 0.197vw + 0.711rem, 0.875rem);
    font-weight: 600;
}
.login #nav a:focus,
.login #backtoblog a:focus {
    box-shadow: none;
    outline: 0.125rem solid var(--primary-color);
    outline-offset: 0.125rem;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: black;
    background: var(--secondary-link-color);
}

/* Error messages */
.login .message,
.login #login_error {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}