<!-- Empty State Shared CSS -->
<!-- Reusable empty state styling for Dream Archive -->
<!-- Import: <link rel="stylesheet" href="/dreams/common/shared/empty-state.css"> -->

<style>
/* Empty State Container Base */
.dreams-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    text-align: center;
    min-height: 400px;
    box-sizing: border-box;
}

.dreams-empty-state *,
.dreams-empty-state *::before,
.dreams-empty-state *::after {
    box-sizing: border-box;
}

/* Icon with subtle animation */
.des-empty-icon {
    font-size: 72px;
    margin-bottom: 24px;
    animation: des-float 3s ease-in-out infinite;
    opacity: 0.85;
    line-height: 1;
}

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

/* Title styling */
.des-empty-title {
    font-family: var(--des-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--des-text, #e8e8ec);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Message body */
.des-empty-message {
    font-size: 1.1rem;
    color: var(--des-muted, #8888a0);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

/* Action buttons container */
.des-empty-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Button base */
.des-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--des-sans, 'Inter', system-ui, sans-serif);
}

/* Primary button */
.des-empty-btn-primary {
    background: linear-gradient(135deg, var(--des-accent, #22d3ee), var(--des-primary, #6366f1));
    color: white;
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.25);
}

.des-empty-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}

/* Secondary button */
.des-empty-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--des-muted, #8888a0);
}

.des-empty-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--des-text, #e8e8ec);
}

/* Hint text at bottom */
.des-empty-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 24px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Loading spinner */
.des-empty-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--des-accent, #22d3ee);
    font-size: 0.9rem;
    margin-top: 16px;
}

.des-empty-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-top-color: var(--des-accent, #22d3ee);
    border-radius: 50%;
    animation: des-spin 0.8s linear infinite;
}

@keyframes des-spin {
    to { transform: rotate(360deg); }
}

/* Search-specific empty state */
.des-empty-search {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 16px auto;
    max-width: 380px;
}

.des-empty-query {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: var(--des-accent, #22d3ee);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: monospace;
    margin: 8px 0;
}

/* Tag pills for suggestions */
.des-empty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.des-empty-tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 100px;
    font-size: 12px;
    color: var(--des-muted, #8888a0);
    cursor: pointer;
    transition: all 0.2s ease;
}

.des-empty-tag:hover {
    background: rgba(99, 102, 241, 0.25);
    color: var(--des-accent, #22d3ee);
    border-color: var(--des-accent, #22d3ee);
}

/* Filter-specific empty state */
.des-state-filter {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin: 16px auto;
    max-width: 460px;
}

/* Responsive: Mobile */
@media (max-width: 600px) {
    .dreams-empty-state {
        padding: 60px 20px;
    }
    
    .des-empty-icon {
        font-size: 56px;
    }
    
    .des-empty-title {
        font-size: 1.5rem;
    }
    
    .des-empty-message {
        font-size: 1rem;
    }
    
    .des-empty-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .des-empty-btn {
        width: 100%;
        justify-content: center;
    }
}
</style>