/* =========================================================
   MOD_CASESOCB – FILTROS (SEARCH + OFFCANVAS) — FINAL (BLINDADO HELIX)
   - Ajustes focados na parte de RAMOS (hover/selecionado) + acessibilidade
   - Mantém TODO o restante igual (só reorganizei e acrescentei pequenos ajustes)
   ========================================================= */

/* =========================
   WRAPPER
   ========================= */
.mod-casesocb__filtros {
    width: 100%;
}

/* =========================
   SEARCH BAR (igual print)
   ========================= */
.mod-casesocb__searchbar {
    width: 100%;
    max-width: 1370px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 22px;

    padding: 18px 15px 8px;
}

/* container da busca */
.mod-casesocb__search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

/* ✅ INPUT (override Helix) */
.mod-casesocb .mod-casesocb__filtros .mod-casesocb__search input.mod-casesocb__search-input {
    display: block;
    width: 100%;

    height: 52px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 0, 0, .28) !important;
    background: #fff !important;

    /* Helix força padding com !important -> aqui também */
    padding: 0 20px 0 58px !important;

    /* Helix troca font-size/line-height -> trava aqui */
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    /* ✅ garante texto centralizado e não “cai” */
    line-height: 52px !important;

    color: #171c66 !important;

    outline: 0 !important;
    box-shadow: none !important;

    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    transition: border-color .18s ease, box-shadow .18s ease;
}

.mod-casesocb .mod-casesocb__filtros .mod-casesocb__search input.mod-casesocb__search-input::placeholder {
    color: rgba(0, 0, 0, .35) !important;
}

.mod-casesocb .mod-casesocb__filtros .mod-casesocb__search input.mod-casesocb__search-input:focus {
    border-color: rgba(23, 28, 102, .55) !important;
    box-shadow: 0 0 0 3px rgba(23, 28, 102, .12) !important;
}

/* ✅ ÍCONE LUPA — SEMPRE APARECE e não fica “por baixo” */
.mod-casesocb__search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    pointer-events: none;
    z-index: 5;

    background: rgba(0, 0, 0, .38);

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.5 2a6.5 6.5 0 1 1 4.03 11.6l3.43 3.43a1 1 0 0 1-1.42 1.42l-3.43-3.43A6.5 6.5 0 0 1 8.5 2m0 2a4.5 4.5 0 1 0 0 9a4.5 4.5 0 0 0 0-9'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.5 2a6.5 6.5 0 1 1 4.03 11.6l3.43 3.43a1 1 0 0 1-1.42 1.42l-3.43-3.43A6.5 6.5 0 0 1 8.5 2m0 2a4.5 4.5 0 1 0 0 9a4.5 4.5 0 0 0 0-9'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Botão “Filtros” (texto azul + ícone cinza) */
.mod-casesocb__filters-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    height: 52px;
    padding: 0;

    background: transparent;
    border: 0;

    font: normal normal 600 16px/1 "Inter";
    color: #171c66;
    cursor: pointer;
}

.mod-casesocb__filters-trigger:hover {
    opacity: .92;
}

.mod-casesocb__filters-trigger:focus-visible {
    outline: 3px solid rgba(23, 28, 102, .18);
    outline-offset: 4px;
    border-radius: 999px;
}

.mod-casesocb__filters-icon {
    width: 22px;
    height: 22px;

    background: rgba(0, 0, 0, .35);

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h9a2 2 0 1 0 0-2H4a1 1 0 0 0 0 2m16 3a2 2 0 0 0-2 2H4a1 1 0 0 0 0 2h14a2 2 0 1 0 2-4m-7 9a2 2 0 0 0-2 2H4a1 1 0 0 0 0 2h7a2 2 0 1 0 2-4'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h9a2 2 0 1 0 0-2H4a1 1 0 0 0 0 2m16 3a2 2 0 0 0-2 2H4a1 1 0 0 0 0 2h14a2 2 0 1 0 2-4m-7 9a2 2 0 0 0-2 2H4a1 1 0 0 0 0 2h7a2 2 0 1 0 2-4'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* =========================================================
   OFFCANVAS — SEMPRE POR CIMA (igual Stories)
   ========================================================= */

/* ✅ backdrop acima de tudo */
.offcanvas-backdrop {
    z-index: 20040 !important;
}

/* ✅ o próprio offcanvas sempre acima do header/menu */
.mod-casesocb__offcanvas {
    position: fixed !important;
    z-index: 20050 !important;

    width: 420px;
    max-width: 92vw;

    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);

    isolation: isolate;
}

/* reforça o right */
.mod-casesocb__offcanvas.offcanvas-end {
    top: 0;
    right: 0 !important;

    width: 470px !important; /* ajuste aqui */
}

/* header */
.mod-casesocb__offcanvas-header {
    padding: 18px 18px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mod-casesocb__offcanvas .offcanvas-title {
    margin: 0;
    color: #171c66;
}

/* body */
.mod-casesocb__offcanvas-body {
    padding: 0 18px 18px;
}

/* =========================================================
   ACCORDION (visual do print)
   ========================================================= */
.mod-casesocb__accordion.accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-active-bg: #fff;
    --bs-accordion-bg: #fff;
}

.mod-casesocb__accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.mod-casesocb__accordion .accordion-button {
    padding: 18px 0;
    background: #fff !important;
    box-shadow: none !important;

    color: #171c66;
}

.mod-casesocb__accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.mod-casesocb__accordion .accordion-button::after {
    opacity: .8;
    filter: grayscale(1);
}

.mod-casesocb__accordion .accordion-body {
    padding: 0 0 18px;
}

/* =========================================================
   RAMOS (cards) – 3 colunas
   - AJUSTES: estado selecionado mais “claro”, foco e clique
   - Mantém hover como já estava
   ========================================================= */
.mod-casesocb__branches-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mod-casesocb__branch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 110px;
    padding: 14px 10px;

    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 16px;
    background: #fff;

    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .06s ease, background-color .18s ease;
}

.mod-casesocb__branch-card:hover {
    border-color: rgba(23, 28, 102, .55);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.mod-casesocb__branch-card:active {
    transform: translateY(1px);
}

/* checkbox ocupa o card todo */
.mod-casesocb__branch-card .mod-casesocb__chk {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ✅ acessibilidade: foco no “click invisível” */
.mod-casesocb__branch-card .mod-casesocb__chk:focus-visible + .mod-casesocb__branch-img,
.mod-casesocb__branch-card:has(.mod-casesocb__chk:focus-visible) {
    outline: 3px solid rgba(23, 28, 102, .18);
    outline-offset: 4px;
}

/* =========================================================
   RAMOS – ícone WEBP cinza -> hover/colorido
   ========================================================= */
.mod-casesocb__branch-img {
    width: 60px;
    height: 60px;
    object-fit: contain;

    filter: grayscale(1) saturate(0) brightness(1.06);
    opacity: .65;

    transition: filter .18s ease, opacity .18s ease, transform .06s ease;
}

/* hover ou selecionado: tira o cinza */
.mod-casesocb__branch-card:hover .mod-casesocb__branch-img,
.mod-casesocb__branch-card:has(input:checked) .mod-casesocb__branch-img,
.mod-casesocb__branch-card.is-selected .mod-casesocb__branch-img {
    filter: none;
    opacity: 1;
}

/* fallback (se não tiver imagem) */
.mod-casesocb__branch-img--fallback {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .08);
}

.mod-casesocb__branch-title {
    font: normal normal 400 10px/12px "Inter";
    color: rgba(23, 28, 102, .75);
    text-align: center;
    max-width: 100%;
}

/* ✅ selecionado (mais evidente e “travado”) */
.mod-casesocb__branch-card:has(input:checked),
.mod-casesocb__branch-card.is-selected {
    border-color: rgba(23, 28, 102, .85);
    box-shadow: 0 0 0 3px rgba(23, 28, 102, .12);
    background: rgba(23, 28, 102, .04);
}

.mod-casesocb__branch-card:has(input:checked) .mod-casesocb__branch-title,
.mod-casesocb__branch-card.is-selected .mod-casesocb__branch-title {
    color: #171c66;
    font-weight: 700;
}

/* =========================================================
   CHECKLISTS
   ========================================================= */
.mod-casesocb__checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mod-casesocb__check {
    margin: 0;
}

.mod-casesocb__check .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0;

    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 4px;
}

.mod-casesocb__check .form-check-input:checked {
    background-color: #171c66;
    border-color: #171c66;
}

.mod-casesocb__check .form-check-label {
    font: normal normal 600 14px/1.35 "Inter";
    color: #171c66;
    padding-left: 8px;
}

/* =========================================================
   SCROLL “JANELA” PARA LISTAS GRANDES
   ========================================================= */
.mod-casesocb__checks[data-casesocb-filter="tematicas"] {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
    overscroll-behavior: contain;
}

.mod-casesocb__checks[data-casesocb-filter="categories"],
.mod-casesocb__checks[data-casesocb-filter="subcategories"] {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
    overscroll-behavior: contain;
}

/* Scrollbar (Chrome/Edge) */
.mod-casesocb__checks[data-casesocb-filter="tematicas"]::-webkit-scrollbar,
.mod-casesocb__checks[data-casesocb-filter="categories"]::-webkit-scrollbar,
.mod-casesocb__checks[data-casesocb-filter="subcategories"]::-webkit-scrollbar {
    width: 8px;
}

.mod-casesocb__checks[data-casesocb-filter="tematicas"]::-webkit-scrollbar-thumb,
.mod-casesocb__checks[data-casesocb-filter="categories"]::-webkit-scrollbar-thumb,
.mod-casesocb__checks[data-casesocb-filter="subcategories"]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .20);
    border-radius: 999px;
}

.mod-casesocb__checks[data-casesocb-filter="tematicas"]::-webkit-scrollbar-track,
.mod-casesocb__checks[data-casesocb-filter="categories"]::-webkit-scrollbar-track,
.mod-casesocb__checks[data-casesocb-filter="subcategories"]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .06);
    border-radius: 999px;
}

/* Firefox */
.mod-casesocb__checks[data-casesocb-filter="tematicas"],
.mod-casesocb__checks[data-casesocb-filter="categories"],
.mod-casesocb__checks[data-casesocb-filter="subcategories"] {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .25) rgba(0, 0, 0, .06);
}

/* =========================================================
   SELECT (Ano) — mantido
   ========================================================= */
.mod-casesocb__year .mod-casesocb__select {
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .25);
    color: #171c66;
    font: normal normal 600 14px/1 "Inter";
}

.mod-casesocb__year .mod-casesocb__select:focus {
    border-color: rgba(23, 28, 102, .55);
    box-shadow: 0 0 0 3px rgba(23, 28, 102, .14);
}

/* =========================================================
   BOTÕES (Filtrar / Limpar) — usa vars do tmpl
   ========================================================= */
.mod-casesocb__filters-actions {
    display: flex;
    gap: 18px;
    padding-top: 18px;
}

.mod-casesocb__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 1 1 0;
    height: 48px;
    border-radius: 999px;

    font: normal normal 700 14px/1 "Inter";
    cursor: pointer;

    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .06s ease;
}

.mod-casesocb__btn:active {
    transform: translateY(1px);
}

.mod-casesocb__btn--primary {
    background: var(--casesocb-btnp-bg, #171c66);
    color: var(--casesocb-btnp-text, #fff);
    border: 1px solid var(--casesocb-btnp-border, #171c66);
}

.mod-casesocb__btn--primary:hover,
.mod-casesocb__btn--primary:focus {
    background: var(--casesocb-btnp-bg-hover, #171c66) !important;
    color: var(--casesocb-btnp-text-hover, #fff) !important;
    border-color: var(--casesocb-btnp-border, #171c66) !important;
}

.mod-casesocb__btn--secondary {
    background: var(--casesocb-btns-bg, #fff);
    color: var(--casesocb-btns-text, #171c66);
    border: 1px solid var(--casesocb-btns-border, #171c66);
}

.mod-casesocb__btn--secondary:hover,
.mod-casesocb__btn--secondary:focus {
    background: var(--casesocb-btns-bg-hover, #171c66);
    color: var(--casesocb-btns-text-hover, #fff);
    border-color: var(--casesocb-btns-bg-hover, #171c66);
}

/* =========================================================
   FIX HELIX — evita ficar “embaixo”
   ========================================================= */
body.casesocb-offcanvas-open #sp-header,
body.casesocb-offcanvas-open header,
body.casesocb-offcanvas-open .sp-header,
body.casesocb-offcanvas-open .header-sticky,
body.casesocb-offcanvas-open .sticky-header,
body.casesocb-offcanvas-open .sp-megamenu-wrapper {
    position: relative !important;
    z-index: 0 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

body.casesocb-offcanvas-open #sp-footer,
body.casesocb-offcanvas-open #sp-bottom {
    position: relative !important;
    z-index: 0 !important;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 991px) {
    .mod-casesocb__searchbar {
        gap: 12px;
        padding: 16px 12px 6px;
    }

    .mod-casesocb .mod-casesocb__filtros .mod-casesocb__search input.mod-casesocb__search-input {
        height: 48px !important;
        line-height: 48px !important;
        font-size: 13px !important;
        padding: 0 18px 0 54px !important;
    }

    .mod-casesocb__filters-trigger {
        height: 48px;
        font-size: 15px;
    }

    .mod-casesocb__branches-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mod-casesocb__checks[data-casesocb-filter="tematicas"] {
        max-height: 240px;
    }
}

@media (max-width: 767px) {
    .mod-casesocb__searchbar {
        padding: 14px 12px 6px;
    }

    .mod-casesocb__offcanvas.offcanvas-end {
        width: 92vw !important;
        max-width: 420px !important;
    }

    .mod-casesocb__filters-actions {
        gap: 12px;
    }

    .mod-casesocb__btn {
        height: 46px;
    }

    .mod-casesocb__checks[data-casesocb-filter="tematicas"] {
        max-height: 220px;
    }

    .mod-casesocb__checks[data-casesocb-filter="categories"],
    .mod-casesocb__checks[data-casesocb-filter="subcategories"] {
        max-height: 220px;
    }
}

/* =========================================================
   AJUSTE — YEARPICKER (CALENDÁRIO DE ANOS)
   ========================================================= */
.mod-casesocb__year {
    position: relative;
}

.mod-casesocb__year-inputWrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mod-casesocb__year-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 2;

    background: rgba(0, 0, 0, .42);

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1m0 6H5v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V8H7zm13-2V7H4V6a1 1 0 0 1 1-1h1v1a1 1 0 1 0 2 0V5h8v1a1 1 0 1 0 2 0V5h1a1 1 0 0 1 1 1'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1m0 6H5v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V8H7zm13-2V7H4V6a1 1 0 0 1 1-1h1v1a1 1 0 1 0 2 0V5h8v1a1 1 0 1 0 2 0V5h1a1 1 0 0 1 1 1'/%3E%3C/svg%3E") no-repeat center/contain;
}

.mod-casesocb__year-input {
    width: 150px !important;

    height: 40px;
    line-height: 40px;

    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .25);
    background: #fff !important;

    padding: 0 12px 0 40px !important;

    font: normal normal 400 13px/1 "Inter";
    color: #171c66;

    outline: 0;
    box-shadow: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mod-casesocb__year-input::placeholder {
    color: rgba(0, 0, 0, .35);
}

.mod-casesocb__year-input:focus {
    border-color: rgba(23, 28, 102, .55);
    box-shadow: 0 0 0 3px rgba(23, 28, 102, .14);
}

.mod-casesocb__year-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 250px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);

    padding: 12px;
    z-index: 10;
}

.mod-casesocb__year-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
}

.mod-casesocb__year-range {
    font: normal normal 800 13px/1 "Inter";
    color: #171c66;
}

.mod-casesocb__year-nav {
    width: 34px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    color: #171c66;
    font: normal normal 900 16px/1 "Inter";
    cursor: pointer;
    transition: border-color .18s ease, transform .06s ease, opacity .18s ease;
}

.mod-casesocb__year-nav:hover {
    border-color: rgba(23, 28, 102, .45);
}

.mod-casesocb__year-nav:active {
    transform: translateY(1px);
}

.mod-casesocb__year-nav.is-disabled,
.mod-casesocb__year-nav:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.mod-casesocb__year-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 8px;
}

.mod-casesocb__year-btn {
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .18);
    background: #fff;
    font: normal normal 700 13px/1 "Inter";
    color: #171c66;
    transition: background-color .18s ease, border-color .18s ease, transform .06s ease;
}

.mod-casesocb__year-btn:hover {
    border-color: rgba(23, 28, 102, .45);
}

.mod-casesocb__year-btn.is-active {
    background: #171c66;
    color: #fff;
    border-color: #171c66;
}

.mod-casesocb__year-btn:active {
    transform: translateY(1px);
}

.mod-casesocb__year-btn.is-disabled,
.mod-casesocb__year-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* =========================================================
   ✅ ADIÇÃO — BOTÃO LIMPAR ANO (X)
   - Não altera nada do que já existe
   - Só adiciona UI do X e espaço no input
   ========================================================= */
.mod-casesocb__year-inputWrap {
    position: relative;
}

/* espaço pra não sobrepor o X */
.mod-casesocb__year-input {
    padding-right: 40px !important;
}

/* botão X */
.mod-casesocb__year-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    width: 26px;
    height: 26px;
    border-radius: 999px;

    border: 0 !important;
    background: transparent !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: rgba(0, 0, 0, .45);
    font: normal normal 900 16px/1 "Inter";

    padding: 0 !important;
    line-height: 1 !important;

    transition: background-color .18s ease, color .18s ease, transform .06s ease;
}

.mod-casesocb__year-clear:hover {
    background: rgba(23, 28, 102, .08) !important;
    color: #171c66;
}

.mod-casesocb__year-clear:active {
    transform: translateY(-50%) scale(.94);
}

.mod-casesocb__year-clear:focus-visible {
    outline: 3px solid rgba(23, 28, 102, .18);
    outline-offset: 3px;
}

.mod-casesocb__year-clear[hidden] {
    display: none !important;
}

/* =========================================================
   YEARPICKER — BOTÃO LIMPAR (AO LADO DO CAMPO)
   ========================================================= */

/* transforma o wrapper em layout horizontal real */
.mod-casesocb__year-inputWrap{
    display: flex;
    align-items: center;
    gap: 6px; /* controla distância do campo */
}

/* mantém o input normal */
.mod-casesocb__year-input{
    flex: 0 0 150px; /* mantém largura fixa que você já usa */
}

/* botão ao lado */
.mod-casesocb__year-clear{
    position: static; /* remove absolute */
    transform: none;

    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
    border: 1px solid #171c66 !important;
    background: #fff;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    color: #171c66 !important;
    cursor: pointer;
}

/* hover bonito */
.mod-casesocb__year-clear:hover{
    background: #171c66 !important;
    color: #ffffff !important;
    border-color: #171c66 !important;
}

/* foco acessível */
.mod-casesocb__year-clear:focus-visible{
    outline: 3px solid rgba(23,28,102,.18);
    outline-offset: 2px;
}

/* respeita hidden */
.mod-casesocb__year-clear[hidden]{
    display: none !important;
}

@media (max-width: 767px) {
    .mod-casesocb__year-input {
        height: 38px;
        line-height: 38px;
        font-size: 12px;
        padding-left: 46px;
    }

    .mod-casesocb__year-panel {
        padding: 10px;
    }

    .mod-casesocb__year-grid {
        gap: 8px;
    }

    .mod-casesocb__year-btn {
        height: 38px;
        font-size: 12px;
    }

    .mod-casesocb__year-input{
        padding-right: 42px !important;
    }

    .mod-casesocb__year-clear{
        right: 2px;
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
}