/* ===== Minimal Empty State Cards - Tema uyumlu ===== */
.empty-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    min-height: 260px;
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid rgba(220, 53, 69, 0.06);
    position: relative;
    overflow: hidden;
    animation: emptyStateEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.empty-state-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 45% at 50% 0%, rgba(220, 53, 69, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.empty-state-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(220, 53, 69, 0.06);
    animation: emptyStateIconFloat 4s ease-in-out infinite;
}

.empty-state-icon i {
    font-size: 1.375rem;
    color: #dc3545;
    opacity: 0.88;
}

.empty-state-title {
    position: relative;
    z-index: 1;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #a71d2a;
    margin-bottom: 0.375rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.empty-state-description {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    max-width: 380px;
    line-height: 1.5;
    margin-bottom: 0;
}

.empty-state-action {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
}

.empty-state-action .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empty-state-action .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
}

.empty-state-action .btn:active {
    transform: translateY(0);
}

/* ===== Minimal variant (Yayın/Duyuru/Haber/Etkinlik kartları) ===== */
.empty-state-minimal {
    padding: 1.75rem 1.25rem;
    min-height: 160px;
    background: #fff;
    border: 1px solid rgba(220, 53, 69, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 12px rgba(220, 53, 69, 0.04);
}

.empty-state-minimal::before {
    background: radial-gradient(ellipse 65% 35% at 50% 0%, rgba(220, 53, 69, 0.03) 0%, transparent 70%);
}

.empty-state-minimal .empty-state-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #fff8f8 0%, #ffebeb 100%);
    border-color: rgba(220, 53, 69, 0.12);
    animation: emptyStateIconFloat 5s ease-in-out infinite;
}

.empty-state-minimal .empty-state-icon i {
    font-size: 1.25rem;
    color: #dc3545;
    opacity: 0.9;
}

.empty-state-minimal .empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: #a71d2a;
    margin-bottom: 0.25rem;
}

.empty-state-minimal .empty-state-description {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

/* Icon type variants (minimal'da tema kırmızısı) */
.empty-state-icon.info {
    background: linear-gradient(145deg, #fff5f5 0%, #ffe5e5 100%);
    border-color: rgba(220, 53, 69, 0.15);
}

.empty-state-minimal .empty-state-icon.info i {
    color: #dc3545;
}

.empty-state-icon.warning {
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
    border-color: rgba(245, 158, 11, 0.15);
}

.empty-state-minimal .empty-state-icon.warning i {
    color: #d97706;
}

.empty-state-icon.success {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: rgba(34, 197, 94, 0.12);
}

.empty-state-minimal .empty-state-icon.success i {
    color: #16a34a;
}

.empty-state-icon.danger {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
    border-color: rgba(239, 68, 68, 0.12);
}

.empty-state-minimal .empty-state-icon.danger i {
    color: #dc2626;
}

/* Full-size card icon variants (non-minimal) - tema kırmızısı */
.empty-state-card:not(.empty-state-minimal) .empty-state-icon.info {
    background: linear-gradient(145deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.info i {
    color: #fff;
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.warning {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.warning i {
    color: #fff;
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.success {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.success i {
    color: #fff;
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.danger {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

.empty-state-card:not(.empty-state-minimal) .empty-state-icon.danger i {
    color: #fff;
}

/* Grafik/alan boş durum sarmalayıcı (ortalamak için) */
.empty-state-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ===== Compact variant ===== */
.empty-state-compact {
    padding: 2rem 1.25rem;
    min-height: 220px;
}

.empty-state-compact .empty-state-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
}

.empty-state-compact .empty-state-icon i {
    font-size: 1.375rem;
}

.empty-state-compact .empty-state-title {
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}

.empty-state-compact .empty-state-description {
    font-size: 0.8125rem;
}

/* ===== Animations ===== */
@keyframes emptyStateEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes emptyStateIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* İkon için hafif “nefes alan” parlama (minimal kartlarda) */
.empty-state-minimal .empty-state-icon {
    animation: emptyStateIconFloat 5s ease-in-out infinite;
}

/* ===== Error State - Modern hata kartı ===== */
.error-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    min-height: 260px;
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    position: relative;
    overflow: hidden;
    animation: emptyStateEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.error-state-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 45% at 50% 0%, rgba(239, 68, 68, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.error-state-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.08);
    animation: emptyStateIconFloat 4s ease-in-out infinite;
}

.error-state-icon i {
    font-size: 1.375rem;
    color: #dc2626;
}

.error-state-title {
    position: relative;
    z-index: 1;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.375rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.error-state-description {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    max-width: 400px;
    line-height: 1.5;
    margin-bottom: 0;
}

.error-state-action {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
}

.error-state-action .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-state-action .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.error-state-action .btn:active {
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .empty-state-card {
        padding: 2.5rem 1.5rem;
        min-height: 280px;
    }

    .empty-state-minimal {
        padding: 1.75rem 1.25rem;
        min-height: 180px;
    }

    .empty-state-minimal .empty-state-icon {
        width: 48px;
        height: 48px;
    }

    .empty-state-minimal .empty-state-icon i {
        font-size: 1.25rem;
    }

    .empty-state-minimal .empty-state-title {
        font-size: 1rem;
    }

    .empty-state-minimal .empty-state-description {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .empty-state-card {
        padding: 2rem 1rem;
        min-height: 240px;
    }

    .empty-state-minimal {
        padding: 1.5rem 1rem;
        min-height: 160px;
    }

    .empty-state-minimal .empty-state-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .empty-state-minimal .empty-state-icon i {
        font-size: 1.125rem;
    }

    .empty-state-minimal .empty-state-title {
        font-size: 0.9375rem;
    }

    .empty-state-minimal .empty-state-description {
        font-size: 0.8125rem;
    }
}
