/**
 * Agency Theme - Custom wp-login.php styles
 * Dark mode styling matching Agency's design system
 */

body.login {
    background-color: #0a0a0f;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#login {
    padding-top: 8%;
}

/* Logo */
#login h1 a {
    background-image: none;
    font-size: 28px;
    font-weight: 700;
    color: #f0f0f5;
    text-indent: 0;
    width: auto;
    height: auto;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Formulaire */
#loginform,
#registerform,
#lostpasswordform {
    background: #14141e;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Inputs */
#loginform input[type="text"],
#loginform input[type="password"],
#registerform input[type="text"],
#registerform input[type="email"],
#lostpasswordform input[type="text"] {
    background-color: #1a1a24;
    border: 1px solid #2a2a3a;
    color: #f0f0f5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
#registerform input[type="text"]:focus,
#registerform input[type="email"]:focus,
#lostpasswordform input[type="text"]:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    outline: none;
}

/* Labels */
#loginform label,
#registerform label,
#lostpasswordform label {
    color: #a0a0b8;
    font-size: 14px;
    font-weight: 500;
}

/* Bouton submit */
#loginform input[type="submit"],
#registerform input[type="submit"],
#lostpasswordform input[type="submit"] {
    background: #6366f1;
    border: none;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-shadow: none;
    box-shadow: none;
}

#loginform input[type="submit"]:hover,
#registerform input[type="submit"]:hover,
#lostpasswordform input[type="submit"]:hover {
    background: #5558e6;
}

/* Se souvenir de moi */
.forgetmenot label {
    color: #a0a0b8 !important;
}

/* Liens navigation */
.login #nav a,
.login #backtoblog a {
    color: #a0a0b8;
    transition: color 0.2s ease;
}

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

.login #nav,
.login #backtoblog {
    text-align: center;
}

/* Messages et notices */
.login .message,
.login .notice,
.login .success {
    background: #111118;
    border-left-color: #6366f1;
    color: #f0f0f5;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: none;
}

.login .notice-error {
    border-left-color: #ef4444;
}

.login .notice-success,
.login .success {
    border-left-color: #22c55e;
}

/* Privacy policy */
.login .privacy-policy-page-link a {
    color: #a0a0b8;
}

.login .privacy-policy-page-link a:hover {
    color: #6366f1;
}

/* Language switcher */
.language-switcher {
    background: #14141e !important;
    border: 1px solid #2a2a3a !important;
    border-radius: 8px !important;
}

.language-switcher select {
    background: #1a1a24 !important;
    color: #f0f0f5 !important;
    border-color: #2a2a3a !important;
}
