body.login {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.login-welcome {
    flex: 1.2;
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    padding: 60px !important;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.login-form-container {
    flex: 0.8;
    padding: 60px 50px;
    background: #fff;
}

#loginform {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.login-welcome h2 {
    color: white;
    font-size: 32px;
    margin: 0 0 20px;
    font-weight: 600;
}

.login-welcome p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.login h1 {
    margin-bottom: 30px;
}

.login h1 a {
    width: 100% !important;
    background-size: contain !important;
    height: 50px !important;
}

.login form {
    border: 0px !important;
}

.login form .input {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    height: auto;
    font-size: 15px;
    margin: 8px 0 20px;
    transition: all 0.3s ease;
}

.login form .input:focus {
    border-color:rgb(122, 102, 139);
    box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
}
a.wp-login-log-in,
a.wp-login-log-in:hover,
a.wp-login-lost-password,
a.wp-login-lost-password:hover{
    color: #9333ea !important;
}

.wp-core-ui .button-primary {
    background: linear-gradient(to right, #4f46e5, #9333ea) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    padding: 10px 12px !important;
    width: 100%;
    height: auto;
    margin-top: 25px !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wp-core-ui .button-primary:hover {
    background: linear-gradient(to right, #4f46e5, #9333ea) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34,113,177,0.2);
}

.wp-core-ui .button-secondary,
.wp-core-ui .button-secondary:focus,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button-secondary:visited {
    color: #9333ea !important  ;
    border: 0 !important;
}            

.login #nav, .login #backtoblog {
    padding: 0;
    text-align: center;
    margin: 20px 0 0;
    color: #666;
}

.login #nav a, .login #backtoblog a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.login #nav a:hover, .login #backtoblog a:hover {
    color: #9333ea;
}

@media (max-width: 768px) {
    #login {
        flex-direction: column;
    }
    
    .login-welcome {
        display: none;
    }
    
    .login-form-container {
        padding: 40px 30px;
    }

    .login-welcome h2 {
        font-size: 24px;
    }

    .login-welcome p {
        font-size: 14px;
    }
}
