/* Custom styles for wp-login page */

body.login {
background: linear-gradient(135deg, 
    #f9f9f9 0%,   /* near-white */
    #e8f7e8 50%,  /* soft green tint */
    #d6f0d6 100%  /* slightly deeper pastel green */
);


    background-size: 100% 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
    animation: softWhiteShift 15s ease infinite;
}

@keyframes softWhiteShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#login {
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.login form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 0;
}

.login h1 {
    text-align: center;
    margin-bottom: 30px;
}

.login h1 a {
    background-image: url('/wp-content/themes/ColorPix-Hyper/WordPress_blue_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
    display: block;
    margin: 0 auto;
}

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

.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-size: 16px;
}

.login .forgetmenot {
    margin-bottom: 20px;
}

.login .forgetmenot label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin: 0;
}

.login .button-primary {
    background: #56cc03;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.login .button-primary:hover {
    background: #4ab502;
}

.login #nav,
.login #backtoblog {
    text-align: center;
    margin-top: 20px;
}

.login #nav a,
.login #backtoblog a {
    color: #56cc03;
    text-decoration: none;
}

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

@media (max-width: 600px) {
    #login {
        padding: 0 10px;
    }
    .login form {
        padding: 20px;
    }
}
