*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDF5E6;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #3E2723;
}

.auth-card {
    background: #fff;
    border: 1px solid #D7C4A8;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 24px rgba(139,69,19,.12);
}

.auth-logo {
    text-align: center;
    font-size: 2rem;
    margin-bottom: .5rem;
}

h2 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #8B4513;
}

label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .3rem;
    margin-top: 1rem;
    color: #5D4037;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: .6rem .9rem;
    border: 1.5px solid #D7C4A8;
    border-radius: 8px;
    font-size: .95rem;
    background: #FEFAF4;
    color: #3E2723;
    transition: border-color .2s;
}
input:focus { outline: none; border-color: #8B4513; }

.btn-primary {
    display: block;
    width: 100%;
    margin-top: 1.4rem;
    padding: .7rem;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn-primary:hover { background: #6D3410; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    margin-top: .8rem;
    padding: .65rem;
    border: 1.5px solid #D7C4A8;
    border-radius: 8px;
    background: #fff;
    color: #3E2723;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s;
    opacity: .7;
    pointer-events: none;
}

.divider {
    text-align: center;
    margin: 1rem 0 .5rem;
    position: relative;
    color: #A1887F;
    font-size: .8rem;
}
.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #D7C4A8;
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.alert {
    padding: .7rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .88rem;
}
.alert.error   { background: #FFF0F0; border: 1px solid #EF9A9A; color: #C62828; }
.alert.success { background: #F1FFF5; border: 1px solid #A5D6A7; color: #2E7D32; }

.auth-footer {
    text-align: center;
    margin-top: 1.2rem;
    font-size: .88rem;
    color: #795548;
}
.auth-footer a { color: #8B4513; font-weight: 600; text-decoration: none; }
