/* CSS code for customizing the login screen - Gradient Background */

/* Body and form background */
body.login {
    background: linear-gradient(to right, #EFF6FB, #ffffff);
}
.login form {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.login h1 a {
    background-image: url('../images/wb-logo-min.png');
    background-size: contain;
    margin-top: 18px;
    width: 300px;
    height: 80px;
}

/* Form styling */
.login form label {
    color: #333333;
}
.login #user_login, .login #user_pass {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
.login #user_login:focus, .login #user_pass:focus {
    border-color: #ffffff;
}
.login #wp-submit {
    background-color: #3f90ca;
    color: #ffffff;
    border-color: #3f90ca;
    box-shadow: none;
    text-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.login #wp-submit:hover {
    background-color: #1e97e8;
    border-color: #1e97e8;
}

/* Background image overlay */
#wb-background-image-overlay {
    background: url('../images/wb-background-plus-pattern-min.png') top center no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05; /* 5% transparent */
    z-index: -1; /* Put it above the gradient background, but below other content */
    pointer-events: none; /* Allow clicks to pass through this element */
}

/* Login image */
#wb-login-image-wrapper {
    position: fixed;
    top: 0;
    right: 12px; /* Add 12px margin to the right */
    bottom: 0;
    overflow: hidden;
    z-index: -2; /* Lower this value to put it behind the login form */
}
#wb-login-image {
    height: 100vh;
    width: auto;
    max-width: none;
}

/* Links */
.login #nav, .login #backtoblog {
    text-align: center; /* Center the text */
}
.login #nav a, .login #backtoblog a {
    color: #3f90ca;
    position: relative;
    display: inline-block;
    text-align: left; /* Align text to the left for individual link */
}
.login #nav a::after, .login #backtoblog a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1.2px;
    bottom: 0;
    left: 0;
    background-color: #1e97e8;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}
.login #nav a:hover::after, .login #backtoblog a:hover::after {
    visibility: visible;
    transform: scaleX(1);
}
.login #nav a:hover, .login #backtoblog a:hover {
    color: #1e97e8;
}
