:host {
    display: block;
    width: 100%;
    height: 100%;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.6s ease-out;

    .content {
        max-width: 480px;
        animation: slideUp 0.8s ease-out;
    }

    .title {
        font-family: Roboto, 'Helvetica Neue', sans-serif;
        font-weight: 500;
        margin: 0 0 12px 0;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;

        &.small {
            font-size: 1.5rem;
        }
    }

    .description {
        font-family: Roboto, 'Helvetica Neue', sans-serif;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 0 32px 0;
        opacity: 0.7;
    }
}

.no-results-state {
    padding: 40px 24px;

    .illustration-container {
        margin-bottom: 24px;
        opacity: 0.5;

        &.small {
            animation: gentleFloat 1s ease-out;
        }
    }

    .illustration {
        width: 120px;
        height: 120px;

        .search-circle,
        .search-handle {
            stroke: currentColor;
            opacity: 0.4;
        }

        .empty-box,
        .empty-line {
            stroke: currentColor;
        }
    }

    .description {
        margin-bottom: 0;
        font-size: 0.875rem;
    }
}

.no-data-state {
    padding: 56px 24px;

    .empty-icon-container {
        margin-bottom: 20px;
        animation: gentleFloat 0.6s ease-out;
    }

    .empty-icon {
        font-size: 72px;
        width: 72px;
        height: 72px;
        color: #60a5fa;
        opacity: 0.85;
    }

    .content {
        max-width: 460px;
    }

    .title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .description {
        margin-bottom: 24px;
    }

    .actions {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;

        .primary-button {
            background: var(--app-selection-color);
            color: var(--app-selection-on-color, white);
            font-weight: 500;
            padding: 10px 24px;
            border-radius: 10px;
            text-transform: none;
            letter-spacing: 0.01em;
            box-shadow: 0 4px 14px var(--app-selection-glow);
            transition: all 0.25s ease;

            mat-icon {
                margin-right: 6px;
            }

            &:hover {
                transform: translateY(-1px);
                box-shadow: 0 6px 18px var(--app-selection-border);
            }
        }

        .secondary-button {
            color: var(--app-selection-color);
            font-weight: 500;
            padding: 10px 18px;
            text-transform: none;
        }
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes gentleFloat {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 0.85;
        transform: scale(1);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(40px, 40px) rotate(0.5deg);
    }
}
