/* ============================================================
   Tableau de bord — accès rapide
   Préfixe .db- pour éviter tout conflit avec EasyAdmin et les
   autres pages custom (ex. .rc- pour le catalogue de recettes)
   ============================================================ */

.db-wrap {
    --db-brand: #6366f1;
    --db-brand-d: #4f46e5;
    --db-brand-soft: #eef0fe;
    --db-ink: #23263a;
    --db-mut: #6b7080;
    --db-line: #e6e7f1;
    --db-card: #fff;

    font-family: 'Public Sans', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--db-ink);
    box-sizing: border-box;
}

.db-wrap *, .db-wrap *::before, .db-wrap *::after {
    box-sizing: border-box;
}

.db-head {
    margin-bottom: 28px;
}
.db-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.025em;
}
.db-head p {
    margin: 6px 0 0;
    color: var(--db-mut);
    font-size: 14px;
}

.db-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.db-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    background: var(--db-card);
    border: 1px solid var(--db-line);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.db-action:hover {
    border-color: var(--db-brand);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .12);
    transform: translateY(-2px);
}

.db-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--db-brand-soft);
    color: var(--db-brand-d);
}

.db-action-label {
    font-size: 17px;
    font-weight: 700;
}

.db-action-desc {
    font-size: 13px;
    color: var(--db-mut);
}
