/**
 * Fascinate Foundations - Custom Login Page Styles
 */

/* Page background */
body.login {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

/* Login form container */
#login {
    padding-top: 6%;
}

/* Logo area */
.login h1 a {
    background-image: none;
    background-size: contain;
    width: 100%;
    height: 80px;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-indent: 0;
    letter-spacing: -0.5px;
}

.login h1 a::after {
    content: 'Fascinate Foundations';
    display: block;
    text-align: center;
}

/* Form wrapper */
.login form {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 36px 28px;
    margin-top: 30px;
}

/* Form labels */
.login form .input,
.login form input[type="text"],
.login form input[type="password"] {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.login form .input:focus,
.login form input[type="text"]:focus,
.login form input[type="password"]:focus {
    border-color: #0f3460;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
    outline: none;
}

.login form label {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 6px;
}

/* Submit button */
.login form .submit .button-primary,
.wp-core-ui .button-primary {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3);
    transition: all 0.3s ease;
    text-shadow: none;
}

.login form .submit .button-primary:hover,
.wp-core-ui .button-primary:hover {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    box-shadow: 0 6px 20px rgba(15, 52, 96, 0.4);
    transform: translateY(-1px);
}

.login form .submit .button-primary:focus,
.wp-core-ui .button-primary:focus {
    box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3), 0 0 0 3px rgba(15, 52, 96, 0.2);
}

/* Remember me checkbox */
.login form .forgetmenot label {
    font-size: 13px;
    color: #6c757d;
}

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

.login #nav a,
.login #backtoblog a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #ffffff;
}

/* Error/message boxes */
.login .message,
.login .success,
.login #login_error {
    border-radius: 8px;
    border-left-width: 4px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login #login_error {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.login .message {
    border-left-color: #0f3460;
    background: #f0f7ff;
}

/* Enrollment link section */
.fascinate-enrollment-link {
    text-align: center;
    margin-top: 30px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.fascinate-enrollment-link p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.fascinate-enrollment-link a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.fascinate-enrollment-link a:hover {
    color: #a8dadc;
    text-decoration-color: #a8dadc;
}

/* Hide registration link */
.login #nav {
    display: none;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    #login {
        padding: 20px;
        padding-top: 40px;
    }

    .login form {
        padding: 24px 20px;
    }

    .login h1 a {
        font-size: 26px;
    }
}
