/*
 * Custom styles for the WordPress login and password reset pages.
 * @package Earnium_Theme
 */

body {
    background-color: #1a1a1a; /* Black background */
    color: #FFF;
    font-family: Arial, sans-serif;
}

/* Hide default WordPress logo and style a custom one */
.login h1 a {
    background-image: url('../images/your-logo.png'); /* IMPORTANT: Replace with your logo's path */
    height: 100px; /* Adjust as needed */
    width: 320px; /* Adjust as needed */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    color: transparent; /* Hide the default text */
}

/* Style the form background and container */
#login {
    background-color: #fff; /* White form background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
}

/* Style the form inputs */
#loginform p input[type="text"],
#loginform p input[type="password"] {
    border: 1px solid #ccc;
    box-shadow: none;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Style the form buttons */
#loginform p .button-primary {
    background-color: #FFD700; /* Yellow button */
    border-color: #e6c200;
    box-shadow: none;
    text-shadow: none;
    font-weight: bold;
    color: #1A1A1A; /* Black text */
    transition: background-color 0.3s;
}

#loginform p .button-primary:hover,
#loginform p .button-primary:focus {
    background-color: #e6c200;
}

/* Style the links below the form */
.login #nav,
.login #backtoblog {
    text-align: center;
    margin-top: 15px;
}

.login #nav a,
.login #backtoblog a {
    color: #FFD700; /* Yellow links */
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #e6c200;
}

/* Custom styling for error/success messages */
.login #login_error,
.message {
    border-left: 4px solid #FFD700;
    background-color: #fff;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}

.login #login_error {
    color: #1A1A1A;
}

.message {
    color: #1A1A1A;
}