/* ── Auth pages (login, register, forgot/reset password, profile, users) ── */

.auth-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    background: var(--cream-light, #fdf8f3);
    border: 1px solid var(--cream-dark, #e8ddd0);
    border-radius: 8px;
    padding: 36px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.auth-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--brown-deep, #5c3d1e);
    margin: 0 0 6px;
}

.auth-card .auth-sub {
    font-size: .9rem;
    color: var(--brown-mid, #8b6240);
    margin-bottom: 24px;
}

.auth-card .uk-input,
.auth-card .uk-select {
    background: #fff;
    border-color: var(--cream-dark, #e8ddd0);
    border-radius: 4px;
}

.auth-card .uk-input:focus,
.auth-card .uk-select:focus {
    border-color: var(--brown-mid, #8b6240);
}

.auth-btn {
    width: 100%;
    background: var(--brown-deep, #5c3d1e);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}

.auth-btn:hover {
    background: var(--brown-mid, #8b6240);
}

.auth-divider {
    text-align: center;
    color: var(--brown-mid, #8b6240);
    margin: 18px 0;
    font-size: .85rem;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
    font-size: .88rem;
}

.auth-links a {
    color: var(--brown-deep, #5c3d1e);
    text-decoration: underline;
}

.auth-alert {
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: .9rem;
}

.auth-alert-error   { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6cb; }
.auth-alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.auth-alert-info    { background: #e3f2fd; color: #1565c0; border: 1px solid #b3d4f5; }

/* Google button */
.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 10px;
    font-size: .95rem;
    cursor: pointer;
    color: #3c4043;
    transition: background .15s;
}

.google-btn:hover { background: #f8f8f8; }

.google-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Users table page ── */
.users-wrap {
    padding: 32px 0;
}

.users-table-wrap {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .93rem;
}

.users-table th,
.users-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark, #e8ddd0);
    vertical-align: middle;
}

.users-table th {
    background: var(--cream-light, #fdf8f3);
    color: var(--brown-deep, #5c3d1e);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.users-table tbody tr:hover {
    background: #faf6f1;
}

.role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.role-superadmin { background: #f3e5f5; color: #6a1b9a; }
.role-admin      { background: #e3f2fd; color: #1565c0; }
.role-editor     { background: #e8f5e9; color: #2e7d32; }
.role-visitor    { background: #f5f5f5; color: #616161; }

.status-dot {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.dot-active   { background: #43a047; }
.dot-pending  { background: #fb8c00; }
.dot-deleted  { background: #e53935; }

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 18px;
    border: 1px solid var(--cream-dark, #e8ddd0);
    border-radius: 20px;
    background: #fff;
    color: var(--brown-mid, #8b6240);
    cursor: pointer;
    font-size: .88rem;
    transition: all .15s;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--brown-deep, #5c3d1e);
    border-color: var(--brown-deep, #5c3d1e);
    color: #fff;
}

/* Profile page */
.profile-card {
    background: var(--cream-light, #fdf8f3);
    border: 1px solid var(--cream-dark, #e8ddd0);
    border-radius: 8px;
    padding: 32px 36px;
    max-width: 540px;
}
