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

:root {
    --ink: #0d0d0d;
    --warm: #faf7f2;
    --coral: #e8573a;
    --gold: #d4a03c;
    --sage: #4a7c6f;
    --sky: #3d7ec7;
    --lilac: #8b6daf;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13,13,13,0.06);
}
.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--ink);
    text-decoration: none;
}
.logo span { color: var(--coral); }
.nav-link {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--sage);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 10px;
    background: rgba(74,124,111,0.1);
    transition: all 0.15s ease;
}
.nav-link:hover { background: rgba(74,124,111,0.18); }

/* AUTH CONTAINER */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 24px 60px;
    min-height: 100vh;
}
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 48px;
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(13,13,13,0.06);
    box-shadow: 0 4px 24px rgba(13,13,13,0.04);
}
.auth-header {
    text-align: center;
    margin-bottom: 36px;
}
.auth-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.auth-header p {
    font-size: 15px;
    color: rgba(13,13,13,0.5);
}

/* FORM */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    border: 1.5px solid rgba(13,13,13,0.12);
    border-radius: 10px;
    background: var(--warm);
    color: var(--ink);
    transition: border-color 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--sage);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230d0d0d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* CHECKBOXES */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid rgba(13,13,13,0.08);
    background: var(--warm);
    transition: all 0.15s ease;
}
.check-item:has(input:checked) {
    background: rgba(74,124,111,0.1);
    border-color: var(--sage);
    color: var(--sage);
    font-weight: 500;
}
.check-item input[type="checkbox"] {
    display: none;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    padding: 14px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: var(--coral);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
    margin-top: 8px;
}
.btn-primary:hover { transform: scale(1.01); opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ERROR */
.error-msg {
    background: rgba(232,87,58,0.08);
    color: var(--coral);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.hidden { display: none; }

/* FOOTER */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(13,13,13,0.5);
}
.auth-footer a {
    color: var(--sage);
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

/* MOBILE */
@media (max-width: 768px) {
    nav { padding: 16px 24px; }
    .auth-card { padding: 32px 24px; }
    .auth-header h1 { font-size: 26px; }
}
