/* =========================
   PULSANTI
========================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 12px 19px;

    color: #17324d;
    font-size: 0.9rem;
    font-weight: 850;
    white-space: nowrap;

    background: var(--yellow);
    border-radius: 12px;

    box-shadow:
        0 7px 18px rgba(245, 154, 35, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.primary-button:hover {
    background: var(--orange);
    transform: translateY(-2px);

    box-shadow:
        0 11px 22px rgba(245, 154, 35, 0.24);
}


/* =========================
   CARD GENERICA
========================= */

.dashboard-card {
    padding: 22px;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 18px;
}

.card-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.card-header h3 {
    color: var(--text);
    font-size: 1.15rem;
}

.card-link {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.card-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* =========================
   STATO VUOTO
========================= */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 207px;
    padding: 27px;

    color: var(--text-secondary);
    text-align: center;

    background: #fbfdff;
    border: 1px dashed #cfdfe8;
    border-radius: 14px;
}

.empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;
    margin-bottom: 12px;

    color: var(--primary);
    font-size: 1.35rem;

    background: var(--primary-light);
    border-radius: 50%;
}

.empty-state strong {
    margin-bottom: 4px;

    color: var(--text);
    font-size: 0.92rem;
}

.empty-state span {
    font-size: 0.8rem;
}


/* =========================
   UTILITÀ
========================= */

.hidden {
    display: none !important;
}


/* =========================
   RESPONSIVE COMPONENTI
========================= */

@media (max-width: 620px) {

    .primary-button {
        width: 100%;
    }

    .dashboard-card {
        padding: 17px;
    }

}