
/* Login page (auth/login) — styling relocated from the inline <style> block.
   login.twig is a standalone pre-auth page (its own <head>, does not include
   header.twig), so this file is linked directly from that page after styles.css
   and forms.css, preserving the original cascade order. */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}
.login-container {
    background: #190a4d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    border: 4px solid orange;
}
.login-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5em;
    color: #fff;
}
.login-container img {
    display: block;
    margin: 0 auto 20px;
    max-width: 200px;
}
.login-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    /* styles.css has a global input[type=email] { max-width:100px; color:#666 }
       that otherwise caps + greys the email field only — reset it here so both
       fields render identically. */
    max-width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    color: #190a4d;
}
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    outline: none;
    border-color: #190a4d;
    box-shadow: 0 0 0 2px rgba(25,10,77,0.2);
}
/* Chrome paints a pale-yellow background over autofilled fields that plain
   background-colour can't override — pin the intended white fill and dark text. */
.login-container input[type="email"]:-webkit-autofill,
.login-container input[type="email"]:-webkit-autofill:hover,
.login-container input[type="email"]:-webkit-autofill:focus,
.login-container input[type="password"]:-webkit-autofill,
.login-container input[type="password"]:-webkit-autofill:hover,
.login-container input[type="password"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #190a4d;
    caret-color: #190a4d;
}
.login-container button {
    width: 100%;
    padding: 12px;
    background-color: orange;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.5s;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.login-container button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.login-container button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}
.login-container button:hover span {
    padding-right: 25px;
}
.login-container button:hover span:after {
    opacity: 1;
    right: 0;
}
.error-message {
    color: #c0392b;
    text-align: center;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 4px;
}
.info-message {
    color: #e67e22;
    text-align: center;
    margin-bottom: 15px;
}
