/* WordPress Login Page - Modern Styling */

#login h1 a, .login h1 a {
    background-image: url(/wp-content/themes/startupschool/assets/Logo@3x.svg);
    margin-bottom: 20px;
    background-size: contain;
    height: 85px;
    width: 238px;
}

body.login {
    background: #f7f8fc;
    min-width: 0;
    color: #4A4A4A;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#login {
    padding: 40px;
    margin: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
}

#login .message, #login .success, #login .notice {
    display: block;
    margin: 0 0 20px 0;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border-left: 4px solid #5B73CE;
    background: #f0f3ff;
}

#login .error {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.login form {
    margin-top: 20px;
    margin-left: 0;
    padding: 0;
    background: #ffffff;
    box-shadow: none;
    border: none;
}

#login form p {
    width: 100%;
    margin: 0 0 20px 0;
}

#login form p:last-of-type {
    margin-bottom: 0;
}

/* Labels */
.login label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4A4A4A;
    margin-bottom: 8px;
}

label[for="user_login"], label[for="user_pass"] {
    font-size: 14px;
    position: relative;
}

/* Inputs */
.login form input[type='text'],
.login form input[type='email'],
.login form input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #CCD2DC;
    border-radius: 8px;
    background: #FAFBFC;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    margin: 0;
}

.login form input[type='text']:focus,
.login form input[type='email']:focus,
.login form input[type="password"]:focus {
    border-color: #5B73CE;
    box-shadow: 0 0 0 3px rgba(91, 115, 206, 0.15);
    background: #ffffff;
    outline: none;
}

.login form input[type='text']::placeholder,
.login form input[type='email']::placeholder,
.login form input[type="password"]::placeholder {
    color: #9CA3AF;
    font-size: 14px;
}

/* Password field wrapper */
#login .wp-pwd {
    display: block;
    width: 100%;
}

.login .user-pass-wrap {
    margin-bottom: 20px;
}

/* Password toggle button */
.login .wp-pwd .button.wp-hide-pw {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6B7280;
    padding: 4px 8px;
}

.login .wp-pwd .button.wp-hide-pw:hover {
    color: #5B73CE;
    background: transparent;
}

/* Remember me checkbox */
#login form p.forgetmenot {
    width: 100%;
    text-align: left;
    margin: 0 0 24px 0;
}

#login form p.forgetmenot label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
    cursor: pointer;
}

#login form p.forgetmenot input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #5B73CE;
}

/* Submit button */
#login form p.submit {
    clear: both;
    margin: 0;
    text-align: center;
}

.wp-core-ui .button-primary {
    width: 100%;
    height: 48px;
    background: #5B73CE;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    text-shadow: none;
    padding: 0;
    margin: 0;
    line-height: 48px;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
    background: #4A5FC1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 115, 206, 0.3);
}

.wp-core-ui .button-primary:active {
    transform: translateY(0);
}

/* Links below form */
#nav, #backtoblog {
    text-align: center;
    margin: 24px 0 0 0;
    padding: 0;
}

#nav {
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

#nav a, #backtoblog a {
    color: #5B73CE;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

#nav a:hover, #backtoblog a:hover {
    color: #4A5FC1;
    text-decoration: underline;
}

#backtoblog {
    margin-top: 16px;
}

#backtoblog a {
    color: #9CA3AF;
}

#backtoblog a:hover {
    color: #6B7280;
}

/* Password reset page specific */
.login-action-lostpassword #login,
.login-action-rp #login {
    text-align: center;
}

.login-action-lostpassword .message,
.login-action-rp .message {
    text-align: left;
}

label[for="pass1"] {
    color: #4A4A4A;
    padding: 0;
    margin-bottom: 8px;
}

/* Privacy policy link */
.login .privacy-policy-page-link {
    margin-top: 20px;
    text-align: center;
}

.login .privacy-policy-page-link a {
    color: #9CA3AF;
    font-size: 12px;
}

/* Mobile responsive */
@media screen and (max-width: 767px) {
    body.login {
        padding: 20px;
    }

    #login {
        padding: 30px 20px;
        margin: 0;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    #login h1 a, .login h1 a {
        height: 60px;
        width: 180px;
    }
}

/* Tablet and up */
@media screen and (min-width: 768px) {
    #login {
        width: 420px;
    }
}