:root {
    --givres-purple: #70205D;
    --givres-orange: #F37021;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    padding: 45px 40px;
    width: 100%;
    max-width: 380px;
}

.login-card--wide { max-width: 420px; }

.login-logo { text-align: center; margin-bottom: 10px; }
.login-logo img { height: 55px; }

.login-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: var(--givres-purple);
    text-align: center;
    margin: 10px 0 30px 0;
    letter-spacing: 1px;
}

.login-title--tight { margin-bottom: 12px; }

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 26px 0;
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

input[type=text]:focus, input[type=password]:focus {
    outline: none;
    border-color: var(--givres-orange);
}

.password-field { position: relative; margin-bottom: 20px; }
.password-field input[type=password], .password-field input[type=text] { margin-bottom: 0; padding-right: 42px; }
.password-toggle {
    position: absolute; right: 6px; top: 0; bottom: 0;
    width: 34px; padding: 0;
    background: transparent; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.password-toggle:hover { color: var(--text-main); }

.cf-turnstile { margin-bottom: 20px; }

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background-color: var(--givres-orange);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover { opacity: 0.9; }

.error-box {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.success-box {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    color: #15803D;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hint {
    margin-top: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.hint a {
    color: var(--givres-purple);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link {
    margin: -8px 0 20px 0;
    text-align: right;
    font-size: 0.85rem;
}

.forgot-link a {
    color: var(--givres-purple);
    text-decoration: none;
    font-weight: 600;
}

.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 24px;
}
