div.events-search-container{
    margin-bottom: 28px;
}
.events-search-container {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        border-radius: 12px;
        padding: 20px 24px;
        box-shadow: 0 0 0 1px #e5e9f2;
        margin-top: 16px;
        height: 89px;
        margin:16px 0 28px 0;
    }

    /* Caixa do input */
    .events-search-box {
        position: relative;
        flex: 1;
    }

    /* Ícone dentro do input */
    .events-search-box .search-icon {
        position: absolute;
        top: 50%;
        right: 14px;
        /* agora fica à direita */
        transform: translateY(-50%);
        color: #7a869a;
        font-size: 14px;
    }

    /* Input */
    .events-search-input {
        width: 100%;
        height: 44px;
        padding: 16px;
        border-radius: 10px;
        border: 1px solid rgba(179, 179, 179, 1);
        font-size: 14px;
        outline: none;
    }

    .events-search-input::placeholder {
        color: #9aa4b2;
    }

    /* Botão filtros */
    .events-filter-btn {
        height: 44px;
        padding: 0 16px;
        border-radius: 10px;
        border: 1px solid rgba(179, 179, 179, 1);
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;

        display: flex;
        align-items: center;
        gap: 8px;
    }

    .events-filter-btn:hover {
        background: #f5f7fb;
    }

    .events-search-box button.search-icon {
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 0;
        margin: 0;
        width: 20px;
        height: 20px;
        appearance: none;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .events-filter-btn.is-active {
        border-color: var(--primary-color);
        color: var(--primary-color);
        background: #eef6ff;
    }

    .events-filter-modal {
        position: fixed;
        inset: 0;
        z-index: 2000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(15, 23, 42, 0.45);
    }

    .events-filter-modal.is-open {
        display: flex;
    }

    .events-filter-dialog {
        width: min(640px, 100%);
        max-height: calc(100vh - 48px);
        overflow: auto;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
    }

    .events-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 24px;
        border-bottom: 1px solid #e5e9f2;
    }

    .events-filter-header h2 {
        font-size: 18px;
        line-height: 24px;
        color: #1e293b;
    }

    .events-filter-close {
        width: 36px;
        height: 36px;
        border: 1px solid #dfe3eb;
        border-radius: 8px;
        background: #fff;
        color: #475569;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .events-filter-form {
        display: grid;
        gap: 18px;
        padding: 24px;
    }

    .events-filter-group {
        display: grid;
        gap: 10px;
        border: 0;
        padding: 0;
    }

    .events-filter-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .events-filter-group legend {
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
    }

    .events-filter-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #334155;
    }

    .events-filter-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--primary-color);
    }

    .events-filter-group select,
    .events-filter-group input[type="date"] {
        width: 100%;
        height: 40px;
        border: 1px solid #dfe3eb;
        border-radius: 8px;
        padding: 0 12px;
        background: #fff;
        color: #334155;
    }

    .events-filter-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .events-filter-tags label {
        min-height: 36px;
        padding: 8px 10px;
        border: 1px solid #dfe3eb;
        border-radius: 8px;
        background: #f8fafc;
    }

    .events-filter-date-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .events-filter-date-row label {
        display: grid;
        align-items: stretch;
    }

    .events-filter-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
        padding-top: 6px;
    }

    .events-filter-clear,
    .events-filter-apply {
        min-height: 40px;
        padding: 0 16px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .events-filter-clear {
        border: 1px solid #dfe3eb;
        color: #334155;
        background: #fff;
    }

    .events-filter-apply {
        border: 1px solid var(--primary-color);
        color: #fff;
        background: var(--primary-color);
    }

    .events-empty-state {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 320px;
        margin-top: 8px;
        padding: 56px 32px 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #fff;
        border-radius: 16px;
        border: 1px solid #e8edf5;
    }

    .events-empty-state__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #1E3A8A;
        margin-bottom: 24px;
        flex-shrink: 0;
    }

    .events-empty-state__icon img {
        width: 20px;
        height: 20px;
    }

    .events-empty-state__title {
        font-family: Inter, sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 1.3;
        color: #111827;
        margin-bottom: 8px;
    }

    .events-empty-state__subtitle {
        font-family: Inter, sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.6;
        color: #6b7280;
        max-width: 340px;
    }

    .events-empty-state__actions {
        display: flex;
        gap: 12px;
        margin-top: 28px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .events-empty-state__btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        border: 0;
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
        line-height: 1.4;
    }

    .events-empty-state__btn--primary {
        background: var(--primary-color);
        color: #fff;
    }

    .events-empty-state__btn--primary:hover {
        background: var(--primary-color-dark);
        color: #fff;
    }

    .events-empty-state__btn--ghost {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

    .events-empty-state__btn--ghost:hover {
        background: #eef4fd;
    }

    @media (max-width: 640px) {
        .events-search-container {
            height: auto;
            flex-wrap: wrap;
            padding: 16px;
        }

        .events-search-box {
            flex-basis: 100%;
        }

        .events-filter-btn {
            flex: 1;
            justify-content: center;
        }

        .events-filter-dialog {
            max-height: calc(100vh - 32px);
        }

        .events-filter-date-row {
            grid-template-columns: 1fr;
        }

        .events-filter-row {
            grid-template-columns: 1fr;
        }
    }
