/* Custom WordPress Login Page Styles */
/* Sport and Music Theme */

/* ========================================
   HEADER SECTION
   ======================================== */

.custom-login-header {
    background-color: #000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid #fff;
}

.custom-login-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.custom-login-header .header-logo {
    max-width: 250px;
    height: auto;
    display: block;
}

/* ========================================
   BODY & BACKGROUND
   ======================================== */

body.login {
    padding-top: 100px !important;
    padding-bottom: 200px !important;
    min-height: 100vh;
}

/* Background is set via inline style in PHP for dynamic path */

/* ========================================
   HIDE DEFAULT LOGO
   ======================================== */

#login h1 {
    display: none;
}

/* ========================================
   LOGIN FORM CONTAINER
   ======================================== */

#login {
    padding: 40px 0;
    width: 400px;
    max-width: 90%;
}

/* Custom Heading */
.login-custom-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

/* ========================================
   LOGIN FORM CARD
   ======================================== */

#loginform,
#registerform,
#lostpasswordform {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Registration form password info message */
#registerform p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

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

/* Hide the password strength meter wrapper to keep form clean */
#registerform .pw-weak {
    display: none;
}

/* ========================================
   FORM LABELS
   ======================================== */

/* Hide labels - using placeholders instead */
#loginform label,
#registerform label,
#lostpasswordform label {
    display: none;
    font-weight: 400;
    margin-bottom: 8px;
}

/* ========================================
   INPUT FIELDS
   ======================================== */

#loginform input[type="text"],
#loginform input[type="email"],
#loginform input[type="password"],
#registerform input[type="text"],
#registerform input[type="email"],
#lostpasswordform input[type="text"],
#lostpasswordform input[type="email"] {
    background: #fff;
    border: 1px solid #C7C7C7;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    width: 100%;
    transition: border-color 0.3s ease;
    margin-bottom: 24px;
    box-shadow: none;
}

/* Placeholder styling */
#loginform input::placeholder,
#registerform input::placeholder,
#lostpasswordform input::placeholder {
    color: #C7C7C7;
    font-size: 16px;
    font-weight: 400;
}

#loginform input[type="text"]:focus,
#loginform input[type="email"]:focus,
#loginform input[type="password"]:focus,
#registerform input[type="text"]:focus,
#registerform input[type="email"]:focus,
#lostpasswordform input[type="text"]:focus,
#lostpasswordform input[type="email"]:focus {
    border-color: #000;
    outline: none;
    box-shadow: none;
}

/* Remove password visibility toggle button */
#loginform .wp-pwd,
#registerform .wp-pwd {
    position: relative;
}

#loginform .wp-pwd button.wp-hide-pw,
#registerform .wp-pwd button.wp-hide-pw {
    display: none !important;
}

#loginform .wp-pwd input[type="password"],
#registerform .wp-pwd input[type="password"] {
    padding-right: 20px !important;
}

/* ========================================
   CHECKBOX & REMEMBER ME
   ======================================== */

/* Hide the remember me section to match design */
.login .forgetmenot {
    display: none;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

#loginform .submit,
#registerform .submit,
#lostpasswordform .submit {
    padding: 0;
    margin-bottom: 28px;
}

#loginform .button-primary,
#registerform .button-primary,
#lostpasswordform .button-primary {
    background: #000;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 24px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: none;
    height: auto;
}

#loginform .button-primary:hover,
#registerform .button-primary:hover,
#lostpasswordform .button-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#loginform .button-primary:active,
#registerform .button-primary:active,
#lostpasswordform .button-primary:active {
    transform: translateY(0);
}

/* ========================================
   LINKS (Forgot Password, Sign Up)
   ======================================== */

#login #nav,
#login #backtoblog {
    text-align: left;
    padding: 0;
    margin: 16px 0 0;
}

#login #nav a,
#login #backtoblog a {
    color: #9CA3AF;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

/* Forgot password link */
#login #nav {
    margin-top: 0;
    margin-bottom: 24px;
}

/* Back to blog link - hide the arrow */
#login #backtoblog {
    margin-top: 12px;
}

#login #backtoblog a {
    color: #000;
    font-weight: 600;
}

/* ========================================
   ERROR & SUCCESS MESSAGES
   ======================================== */

.login .message,
.login #login_error {
    border-left: 4px solid #000;
    padding: 12px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.login #login_error {
    border-left-color: #dc3232;
}

.login .message {
    border-left-color: #46b450;
}

/* ========================================
   FOOTER SECTION
   ======================================== */

.custom-login-footer {
    background-color: #000;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 30px 0;
    border-top: 1px solid #fff;
}

.custom-login-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-login-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-login-footer .footer-logo img {
    max-width: 200px;
    height: auto;
}

.custom-login-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials .social-link {
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
}

.footer-socials .social-icon,
.footer-socials .social-icon-hover {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.footer-socials .social-icon-hover {
    opacity: 0;
}

.footer-socials .social-link:hover .social-icon {
    opacity: 0;
}

.footer-socials .social-link:hover .social-icon-hover {
    opacity: 1;
}

/* Website Button */
.footer-website-btn .btn-website {
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.footer-website-btn .btn-website:hover {
    background: #E6BB26;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 187, 38, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media screen and (max-width: 768px) {
    .custom-login-header {
        padding: 15px 0;
    }

    .custom-login-header .header-logo {
        max-width: 180px;
    }

    body.login {
        padding-top: 80px !important;
        padding-bottom: 250px !important;
    }

    #login {
        width: 100%;
        padding: 20px;
    }

    #loginform,
    #registerform,
    #lostpasswordform {
        padding: 30px 20px;
    }

    .login-custom-heading {
        font-size: 20px;
    }

    .custom-login-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .custom-login-footer .footer-right {
        flex-direction: column;
        gap: 20px;
    }

    .custom-login-footer .footer-logo img {
        max-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .custom-login-header .header-logo {
        max-width: 150px;
    }

    #loginform,
    #registerform,
    #lostpasswordform {
        padding: 25px 15px;
    }
}

/* ========================================
   PRIVACY LINK (if present)
   ======================================== */

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

.privacy-policy-page-link a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.privacy-policy-page-link a:hover {
    color: #000;
    text-decoration: underline;
}

/* ========================================
   LANGUAGE SWITCHER (if present)
   ======================================== */

.login .language-switcher {
    text-align: center;
    margin-top: 20px;
}

