/* ==========================================================================
 * Member Portal
 * ==========================================================================
 * Additions on top of css/portal-ui.css for the /member area only.
 * Load order: portal-ui.css first, then this file.
 *
 * Contents:
 *   1. Dashboard   - member home tiles
 *
 * The check-row / permission-toggle rules moved to portal-ui.css when shared
 * components started emitting them; the nav rules moved to base.css when the
 * admin nav adopted the same look; and the dropzone moved to portal-ui.css when
 * the admin company form started using it (it was rendering unstyled there).
 * ========================================================================== */


/* ==========================================================================
 * 1. DASHBOARD
 * ========================================================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard-card:hover,
.dashboard-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    border-color: var(--portal-accent, #3993d0);
}

.dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--portal-accent-wash, #e0f2fe);
    color: var(--portal-accent, #3993d0);
    transition: all 0.2s ease;
}

.dashboard-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.dashboard-card:hover .dashboard-icon {
    background: var(--portal-accent, #3993d0);
    color: #ffffff;
}

.dashboard-label {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
}
