/**
 * WP Login Page — Integrity Wines brand styling
 *
 * Static brand styles only. Dynamic values (logo URL) are injected
 * via wp_add_inline_style in DS_Theme_Customizations::enqueue_login_styles().
 *
 * Brand colours (hardcoded — login page doesn't load the LESS pipeline):
 *   Cream bg:    #FFF7E9
 *   Alt bg:      #F3E9D7
 *   Border:      #E8D8C0
 *   Text:        #2A2420
 *   Text muted:  #7A706A
 *   Wine red:    #7A1F2B
 *   Wine hover:  #9B2C3A
 *   Gold:        #C6A64B
 */

/* ---- Page background -------------------------------------------------- */

body.login {
    background-color: #FFF7E9;
    font-family: Georgia, 'Times New Roman', serif;
}

/* ---- Logo area --------------------------------------------------------- */
/* Background-image is injected dynamically via wp_add_inline_style.        */

#login h1 a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 260px;
    height: 180px;
    margin-bottom: 0.5rem;
}

/* ---- Form card --------------------------------------------------------- */

.login form {
    border: 1px solid #E8D8C0;
    border-top: 3px solid #7A1F2B;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(42, 36, 32, 0.08);
    background: #ffffff;
    margin-top: 1rem;
}

/* ---- Labels ------------------------------------------------------------ */

.login label {
    font-family: Georgia, 'Times New Roman', serif;
    color: #2A2420;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Inputs ------------------------------------------------------------ */

.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border-color: #E8D8C0;
    border-radius: 0;
    box-shadow: none;
    color: #2A2420;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    background: #FFF7E9;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #7A1F2B;
    box-shadow: 0 0 0 1px #7A1F2B;
    outline: none;
    background: #ffffff;
}

/* ---- Submit button ----------------------------------------------------- */

.login .button-primary,
.login input[type="submit"] {
    background: #7A1F2B;
    border-color: #7A1F2B;
    border-radius: 0;
    color: #FFF7E9;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: none;
    text-shadow: none;
}

.login .button-primary:hover,
.login .button-primary:focus,
.login input[type="submit"]:hover,
.login input[type="submit"]:focus {
    background: #9B2C3A;
    border-color: #9B2C3A;
    color: #FFF7E9;
    box-shadow: none;
}

/* ---- Links ------------------------------------------------------------- */

.login #nav a,
.login #backtoblog a {
    color: #7A706A;
    text-decoration: none;
}

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

/* ---- Checkbox ---------------------------------------------------------- */

.login input[type="checkbox"] {
    accent-color: #7A1F2B;
}

/* ---- Privacy policy link ----------------------------------------------- */

.login .privacy-policy-page-link a {
    color: #7A706A;
}

.login .privacy-policy-page-link a:hover {
    color: #7A1F2B;
}

/* ---- Error / info messages --------------------------------------------- */

.login .message,
.login .success {
    border-left-color: #C6A64B;
}

.login .error {
    border-left-color: #7A1F2B;
}
