/* Import Inter Tight font */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter Tight', sans-serif;
}

body {
    background: #F5F6FA;
}

.consorcio-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px; /* Espaço para os botões fixos */
    position: relative;
}

.segmento-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.segmento-wrapper h2 {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 16px;
}

.segmento-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.segmento-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.segmento-option svg {
    width: 32px;
    height: 32px;
    color: #666666;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.segmento-option span {
    color: #666666;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Estado inicial */
.segmento-option.imovel,
.segmento-option.veiculo,
.segmento-option.geral {
    background: #FFFFFF;
}

/* Estado selecionado */
.segmento-option.active {
    background: #40B7D1;
}

.segmento-option.active svg,
.segmento-option.active span {
    color: #FFFFFF;
}

/* Efeito hover no estado selecionado */
.segmento-option.active:hover {
    background: #0A1E5C;
}

/* Efeito hover no estado não selecionado */
.segmento-option:hover:not(.active) {
    background: #F5F5F5;
    transform: translateY(-2px);
}

.consorcio-list {
    max-width: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.consorcio-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.consorcio-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.consorcio-item:last-child {
    margin-bottom: 0;
}

.consorcio-content {
    gap: 24px;
    margin-bottom: 16px;
}

.consorcio-main {
    flex: 1;
    display: flex;
    gap: 20px;
}

.consorcio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 24px;
}

.consorcio-icon svg {
    width: 32px;
    height: 32px;
    color: #1E1E1E;
}

.consorcio-info {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.consorcio-marca-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.consorcio-marca {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
}

.consorcio-valor {
    font-size: 24px;
    font-weight: 600;
    color: #16A34A;
    margin: 4px 0;
}

.consorcio-entrada,
.consorcio-parcelas {
    margin: 0;
}

.consorcio-entrada span,
.parcelas-quantidade {
    font-size: 13px;
    color: #6B7280;
    display: block;
    margin-bottom: 4px;
}

.consorcio-entrada div,
.parcelas-preco {
    font-size: 16px !important;
    font-weight: 500;
    color: #374151;
}

.consorcio-codigo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consorcio-codigo span {
    color: #666666;
    font-size: 13px;
    font-weight: 400;
}

.consorcio-codigo div {
    color: #1E1E1E;
    font-size: 15px;
    font-weight: 500;
}

.consorcio-admin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.admin-nome {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
    text-align: center;
}

.consorcio-logo {
    width: auto;
    height: 30px !important;
    object-fit: contain;
    margin: 5px 0;
}

.consorcio-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.consorcio-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.consorcio-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.consorcio-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.btn-detalhes,
.btn-negociar {
    min-width: 120px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-detalhes {
    background-color: #F3F4F6;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.btn-detalhes:hover {
    background-color: #E5E7EB;
}

.btn-negociar {
    background-color: #16A34A;
    color: white;
    border: none;
}

.btn-negociar:hover {
    background-color: #15803D;
}

.btn-negociar.btn-reservado {
    background: #ff6b6b;
    border-color: #ff6b6b;
    cursor: not-allowed;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-negociar.btn-reservado svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.btn-negociar.btn-reservado:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.btn-negociar.btn-reservado,
button.btn-negociar.btn-reservado,
.consorcio-actions .btn-negociar.btn-reservado,
#btnNegociarDetalhe.btn-reservado,
.consorcio-actions button.btn-reservado,
button.btn-reservado,
.btn-reservado {
    background-color: #FF6B6B !important;
    color: white !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    border: none !important;
}

.btn-negociar.btn-reservado:hover,
button.btn-negociar.btn-reservado:hover,
.consorcio-actions .btn-negociar.btn-reservado:hover,
#btnNegociarDetalhe.btn-reservado:hover,
.consorcio-actions button.btn-reservado:hover,
button.btn-reservado:hover,
.btn-reservado:hover {
    background-color: #FF5252 !important;
}

.btn-negociar.btn-reservado svg,
button.btn-negociar.btn-reservado svg,
.consorcio-actions .btn-negociar.btn-reservado svg,
#btnNegociarDetalhe.btn-reservado svg,
.consorcio-actions button.btn-reservado svg,
button.btn-reservado svg,
.btn-reservado svg {
    color: white !important;
}

/* Garantir que o botão reservado no modal também fique vermelho */
.modal-actions button#btnNegociarDetalhe.btn-reservado {
    background-color: #FF6B6B !important;
    color: white !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    border: none !important;
}

.modal-actions button#btnNegociarDetalhe.btn-reservado:hover {
    background-color: #FF5252 !important;
}

.modal-actions button#btnNegociarDetalhe.btn-reservado svg {
    color: white !important;
}

.btn-reservada {
    background: #FF6B6B;
    cursor: not-allowed;
    opacity: 1;
}

.btn-reservada:hover {
    background: #FF6B6B;
}

.btn-detalhes svg,
.btn-reservada svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.buttons-container {
    display: flex
!important;
    gap: 20px;
}
.fixed-buttons-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    width: auto;
    padding: 10px;
}

.fixed-button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fixed-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.fixed-button:active {
    transform: translateY(0);
}

.fixed-button .material-icons {
    font-size: 20px;
}

.btn-sum {
    background-color: #2196F3;
}

.btn-sum:hover {
    background-color: #1976D2;
}

.btn-share {
    background-color: #9C27B0;
}

.btn-share:hover {
    background-color: #7B1FA2;
}

.btn-export {
    background-color: #FF9800;
}

.btn-export:hover {
    background-color: #F57C00;
}

.btn-export-pdf {
    background-color: #f44336;
}

.btn-export-pdf:hover {
    background-color: #d32f2f;
}

.fixed-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .fixed-buttons-container {
        width: calc(100% - 40px);
        bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
        gap: 8px;
    }

    .fixed-button {
        flex: 1;
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        padding: 10px;
    }

    .fixed-button .material-icons {
        font-size: 16px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.info-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-group h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #555;
}

.result-value {
    color: #333;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-actions button {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

button#btnShareDetail,
button#btnNegociarDetalhe {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    height: 40px;
}

button#btnShareDetail {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
}

button#btnShareDetail:hover {
    background-color: #e9ecef;
}

button#btnNegociarDetalhe {
    background-color: #25D366;
    border: none;
    color: white;
}

button#btnNegociarDetalhe:hover {
    background-color: #128C7E;
}

.btn-secondary,
.btn-negociar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    gap: 8px;
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #aaa;
}

.btn-negociar {
    background-color: #25D366;
    color: white;
    border: none;
}

.btn-secondary svg,
.btn-negociar svg {
    width: 16px;
    height: 16px;
}

/* Responsividade */
@media screen and (max-width: 782px) {
    #resultModal .modal {
        width: 95%;
        margin: 20px;
    }
    
    #resultModal .modal-content {
        padding: 16px;
    }
    
    #resultModal .modal-footer {
        flex-direction: column;
    }
    
    #resultModal .btn-share,
    #resultModal .btn-negotiate {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .consorcio-item {
        padding: 16px;
    }

    .consorcio-content {
        width: 100%;
        margin-bottom: 16px;
        text-align: center;
    }

    .consorcio-main {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .consorcio-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .consorcio-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 12px auto;
        display: flex;
        justify-content: center;
    }

    .consorcio-marca-wrapper,
    .consorcio-entrada,
    .consorcio-parcelas,
    .consorcio-codigo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .consorcio-footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
        text-align: left;
    }

    .consorcio-admin {
        margin-top: 16px;
        text-align: center;
        width: 100%;
    }

    .admin-nome {
        font-size: 13px;
        margin-bottom: 6px;
        text-align: center;
    }

    .consorcio-logo {
        height: 50px !important;
    }

    /* Mobile style - valores na mesma linha */
    .parcelas-valor {
        display: flex !important;
        gap: 5px;
        align-items: flex-end;
    }
}

@media screen and (max-width: 480px) {
    .consorcio-item {
        padding: 14px;
        margin-bottom: 10px;
    }

    .consorcio-main {
        gap: 14px;
        margin-bottom: 14px;
    }

    .consorcio-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }

    .consorcio-icon svg {
        width: 40px;
        height: 40px;
    }

    .consorcio-info {
        gap: 14px;
    }

    .consorcio-marca-wrapper,
    .consorcio-entrada,
    .consorcio-parcelas,
    .consorcio-codigo {
        padding-bottom: 14px;
        gap: 3px;
    }

    .consorcio-marca {
        font-size: 15px;
    }

    .consorcio-valor {
        font-size: 20px;
    }

    .consorcio-entrada span,
    .consorcio-parcelas span,
    .consorcio-codigo span {
        font-size: 12px;
    }

    .consorcio-entrada div,
    .consorcio-parcelas div,
    .consorcio-codigo div {
        font-size: 15px;
    }

    .consorcio-logo {
        height: 50px !important;
        margin: 14px auto;
    }

    .btn-detalhes,
    .btn-negociar,
    .btn-reservada {
        height: 40px;
        font-size: 13px;
        padding: 0 12px;
        min-width: auto;
        flex: 1;
    }

    .consorcio-actions {
        gap: 8px;
        width: 100%;
    }

    .consorcio-footer {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .consorcio-checkbox {
        flex: 0 0 auto;
    }

    .btn-detalhes svg,
    .btn-negociar svg,
    .btn-reservada svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsividade do Modal */
@media screen and (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 16px;
    }

    .result-section {
        padding: 15px;
    }

    .result-item {
        display: flex
        ;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #eee;
    }

    .result-value {
        align-self: flex-start;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}

.selected-items {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E9ECEF;
}

.selected-items h4 {
    margin-bottom: 15px;
    color: #1E1E1E;
    font-size: 16px;
}

.selected-item {
    background: #fff;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.selected-item:last-child {
    margin-bottom: 0;
}

.selected-item .result-item {
    border-bottom: none;
    padding: 4px 0;
}

.selected-item .result-value {
    color: #00A651;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: #FF6B6B;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.error {
    background-color: #FF6B6B;
    border-left: 4px solid #FF4949;
}

.notification.success {
    background-color: #40B7D1;
    border-left: 4px solid #3497AC;
}

@media screen and (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Estilos específicos para os botões no modal de detalhes com alta especificidade */
.modal-actions button#btnShareDetail,
.modal-actions button#btnNegociarDetalhe {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 150px !important;
    flex: 1 !important;
    height: 44px !important;
    text-align: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Estilo específico para o botão de compartilhar com máxima especificidade */
button#btnShareDetail {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 150px !important;
    flex: 1 !important;
    height: 44px !important;
    text-align: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: white !important;
    color: #333 !important;
    border: 1px solid #aaa !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: normal !important;
}

button#btnShareDetail:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #aaa !important;
}

button#btnShareDetail svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    fill: currentColor !important;
}

/* Estilo específico para o botão de negociar */
button#btnNegociarDetalhe {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 150px !important;
    flex: 1 !important;
    height: 44px !important;
    text-align: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: normal !important;
}

button#btnNegociarDetalhe:hover {
    background-color: #128C7E !important;
    color: white !important;
}

button#btnNegociarDetalhe svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    fill: currentColor !important;
}

/* Garantir que o container dos botões esteja corretamente alinhado */
.modal-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

@media screen and (max-width: 768px) {
    .modal-actions {
        flex-direction: column !important;
    }
    
    button#btnShareDetail,
    button#btnNegociarDetalhe {
        width: 100% !important;
    }
    img.consorcio-logo.entered.lazyloaded {
        height: 50px !important;
    }
}

/* Desktop style - valores em linhas separadas */
.parcelas-valor {
    display: flex !important;
    gap: 5px;
    align-items: baseline !important;
}

.btn-export {
    background-color: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-export:hover {
    background-color: #1d4ed8;
}

.btn-export .material-icons {
    font-size: 20px;
}

.top-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px auto;
    padding: 0 15px;
}

.export-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-button:hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
    color: #333333;
}

.export-button .material-icons {
    font-size: 18px;
}

@media (max-width: 768px) {
    .top-buttons-container {
        flex-wrap: wrap;
        padding: 10px;
        margin: 15px 20px 25px;
    }

    .top-buttons-container .fixed-button {
        flex: 1;
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

/* Estilos para o filtro - versão simplificada */
.consorcio-filter-wrapper {
    background: transparent;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.consorcio-filter-wrapper h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: normal;
}

.filter-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 0 15px;
}

#valor-filtro {
    background: #0066cc;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    min-width: 120px;
    text-align: center;
    font-size: 16px;
}

.slider-container {
    flex: 1;
    max-width: 600px;
    padding: 0 10px;
    width: 100%;
}

.slider-preco {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    width: 100%;
}

/* Estilo da barra do slider */
.noUi-connect {
    background: #0066cc !important;
}

/* Estilo da bola do slider */
.noUi-handle {
    width: 26px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #0066cc !important;
    border: 2px solid white !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
}

/* Remover as linhas dentro da bola do slider */
.noUi-handle::before,
.noUi-handle::after {
    display: none !important;
}

/* Estilo do botão de filtro */
.filter-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-button:hover {
    background: #0052a3;
}

/* Estilo do botão de reset */
.filter-reset {
    background: #0066cc;
    padding: 5px 10px;
    border-radius: 4px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-reset:hover {
    background: #0052a3;
}

.filter-reset svg {
    fill: white;
    width: 16px;
    height: 16px;
}

/* Estilos específicos para mobile */
@media screen and (max-width: 768px) {
    .filter-slider-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    #valor-filtro {
        order: 1;
        width: 100%;
        max-width: none;
        font-size: 18px;
        padding: 8px 15px;
    }

    .slider-container {
        order: 2;
        width: 100%;
        padding: 0;
    }

    /* Container para os botões */
    .buttons-container {
        order: 3;
        display: flex !important;
        gap: 8px;
        width: 100%;
    }
  

    .filter-button {
        flex: 1;
        height: 44px;
        font-size: 16px;
    }

    .filter-reset {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .consorcio-filter-wrapper h2 {
        font-size: 16px;
        padding: 0 20px;
        line-height: 1.4;
    }

    /* Aumentar área de toque do slider para mobile */
    .noUi-handle {
        width: 32px !important;
        height: 32px !important;
        top: -14px !important;
    }

    .slider-preco {
        height: 8px;
    }
}

/* Mensagem de "Nenhum resultado encontrado" */
.no-results-message, .sem-resultados {
    text-align: center;
    padding: 20px;
    background-color: #fff8e1;
    border-radius: 5px;
    margin: 20px 0;
    color: #6c5a10;
    font-size: 1rem;
    border-left: 4px solid #ffc107;
}

.btn-reset-filtro {
    background: none;
    border: none;
    color: #c00;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    padding: 0 5px;
}
