.empty-state {
    position: relative;
    width: 100%;
    max-width: 620px;
    min-height: 260px;
    margin: 28px auto;
    padding: 38px 34px;
    border: 1px solid rgba(217, 237, 242, 0.95);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 253, 255, 0.98) 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.empty-state::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0f766e 0%, #0891b2 55%, #38bdf8 100%);
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 35%, #ffffff 0 16%, transparent 18%),
        linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(8, 145, 178, 0.22);
}

.empty-state__content {
    max-width: 480px;
    min-width: 0;
}

.empty-state__content h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.empty-state__content p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.empty-state__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empty-state__btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(8, 145, 178, 0.24);
}

/* Compact verzija za sidebar */
.empty-state--compact {
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    gap: 12px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
}

.empty-state--compact .empty-state__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 20px;
}

.empty-state--compact .empty-state__content {
    max-width: none;
}

.empty-state--compact .empty-state__content h2 {
    font-size: 17px;
    margin-bottom: 6px;
}

.empty-state--compact .empty-state__content p {
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .empty-state {
        max-width: none;
        min-height: 220px;
        margin: 20px auto;
        padding: 30px 22px;
        border-radius: 22px;
    }

    .empty-state__icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 26px;
    }

    .empty-state__content h2 {
        font-size: 21px;
    }

    .empty-state__content p {
        font-size: 14px;
    }

    .empty-state--compact {
        margin: 0;
        min-height: auto;
        padding: 16px;
        border-radius: 16px;
    }
}