/* ============================================================
   EFFIORA — Empty States
   ============================================================
   Shared empty state component styles.
   Uses --ef-* design tokens from effiora-grid.css.
   Loaded in both _Layout.cshtml and _LayoutLite.cshtml.
   ============================================================ */

.ef-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    min-height: 50vh;
}

.ef-empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ef-purple-bg, #f7f4fa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: ef-float 3s ease-in-out infinite;
}

.ef-empty-icon-wrap i {
    font-size: 36px;
    color: var(--ef-purple, #4B256D);
}

@keyframes ef-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ef-empty-heading {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--ef-text, #1a1a2e);
    margin: 0 0 8px;
}

.ef-empty-desc {
    font-size: 14px;
    color: var(--ef-text-muted, #9e9eb8);
    max-width: 320px;
    line-height: 1.5;
    margin: 0 0 24px;
}

.ef-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ef-purple, #4B256D);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--ef-transition, 0.2s);
}

.ef-empty-cta:hover {
    background: var(--ef-purple-dark, #3b1e59);
    color: #fff;
}

/* ── Loading skeleton for grid pages ── */

.ef-grid-skeleton {
    padding: 20px;
    max-width: 100%;
}

.ef-grid-skeleton-bar {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f6 25%, #e8e8f0 50%, #f0f0f6 75%);
    background-size: 200% 100%;
    animation: ef-shimmer 1.5s ease-in-out infinite;
    margin-bottom: 16px;
}

.ef-grid-skeleton-bar:nth-child(1) { width: 100%; height: 40px; margin-bottom: 20px; }
.ef-grid-skeleton-bar:nth-child(2) { width: 85%; }
.ef-grid-skeleton-bar:nth-child(3) { width: 70%; }
.ef-grid-skeleton-bar:nth-child(4) { width: 90%; }
.ef-grid-skeleton-bar:nth-child(5) { width: 60%; }

@keyframes ef-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
