/* ============================================================
   css/admin.css  —  Estilos exclusivos do painel administrativo
   ============================================================ */

/* ── Admin Header ───────────────────────────────────────────*/
.admin-topbar {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar .topbar-title {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.admin-topbar .topbar-title span { color: var(--accent); }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-user {
    font-size: .8rem;
    color: var(--text-muted);
}

.topbar-user strong { color: var(--accent); }

/* ── Dashboard cards ────────────────────────────────────────*/
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.stat-card.blue::before  { background: var(--accent2); }
.stat-card.red::before   { background: var(--accent3); }

.stat-number {
    font-family: var(--ff-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: .35rem;
}

.stat-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-dim);
}

/* ── Image preview ──────────────────────────────────────────*/
.img-preview {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: .85rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.upload-zone:hover { border-color: var(--accent); color: var(--text-muted); }

/* ── Breadcrumb ─────────────────────────────────────────────*/
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--text-dim);
    margin-bottom: 1.75rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }
.breadcrumb .current { color: var(--text); }

/* ── Section title ──────────────────────────────────────────*/
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.4rem;
    color: var(--white);
}
