/* app/static/app/css/components/empty-state.css */
/* Empty State Component - Consistent empty state styling across the application */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
    min-height: 300px;
}

.empty-state-icon {
    font-size: 4em;
    color: #adb5bd;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state-icon i {
    display: block;
}

.empty-state h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #495057;
    margin: 0 0 12px 0;
}

.empty-state p {
    font-size: 1em;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 500px;
}

.empty-state .action-btn {
    margin-top: 10px;
}

/* Variation: Compact empty state for smaller containers */
.empty-state-compact {
    padding: 30px 20px;
    min-height: 150px;
}

.empty-state-compact .empty-state-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.empty-state-compact h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.empty-state-compact p {
    font-size: 0.9em;
    margin-bottom: 12px;
}

/* Variation: Empty state with illustration (future enhancement) */
.empty-state-illustration {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .empty-state {
        background: #1a1d21;
        border-color: #343a40;
    }

    .empty-state-icon {
        color: #6c757d;
    }

    .empty-state h3 {
        color: #adb5bd;
    }

    .empty-state p {
        color: #868e96;
    }

    .empty-state-illustration {
        background: linear-gradient(135deg, #1a1d21 0%, #212529 100%);
    }
}

/* Animation: Fade in empty state */
.empty-state {
    animation: fadeInEmpty 0.4s ease-in-out;
}

@keyframes fadeInEmpty {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .empty-state {
        padding: 40px 15px;
        min-height: 250px;
    }

    .empty-state-icon {
        font-size: 3em;
    }

    .empty-state h3 {
        font-size: 1.3em;
    }

    .empty-state p {
        font-size: 0.95em;
    }
}
