.btn-color {
    color: #fff;
    border-color: #1a3775 !important;
    background-color: #1a3775 !important;
}

.btn-color:hover {
    color: #fff;
    border-color: #2958bc !important;
    background-color: #2958bc !important;
}

/* style.css depurado: solo estilos exclusivos del filtro_empresas */
.btn-recargar-saldo {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    background: #1a3775 !important;
    color: #fff !important;
    border: 2px solid #1a3775 !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.7em 2em;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(26, 55, 117, 0.08);
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    transition: all 0.3s;
}

.btn-recargar-saldo:hover {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    background: #2752af !important;
    color: #fff !important;
    border: 2px solid #2752af !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.7em 2em;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(26, 55, 117, 0.08);
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    transition: all 0.3s;
}

.btn-recargar-saldo svg,
.btn-recargar-saldo i.fa-wallet {
    color: #fff !important;
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.3em;
}

.select-items,
select.select-items,
select.select-items.form-select {
    border: 2px solid #1a3775 !important;
    color: #1a3775 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231a3775' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1.2em;
    padding-right: 2.5em;
}

.select-items:focus,
.select-items:hover,
select.select-items:focus,
select.select-items:hover,
select.select-items.form-select:focus,
select.select-items.form-select:hover {
    border-color: #2958bc !important;
    color: #2958bc !important;
    background: #eaf1fb !important;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%232958bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Oculta la flecha nativa en Edge/IE */
.select-items::-ms-expand,
select.select-items::-ms-expand,
select.select-items.form-select::-ms-expand {
    display: none;
}

/* Oculta flechas en navegadores Webkit */
.select-items::-webkit-inner-spin-button,
.select-items::-webkit-outer-spin-button,
select.select-items::-webkit-inner-spin-button,
select.select-items::-webkit-outer-spin-button,
select.select-items.form-select::-webkit-inner-spin-button,
select.select-items.form-select::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 55, 117, 0.08);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#ciudad_spinner,
#empresa_spinner {
    vertical-align: middle;
}

#empresa_empty_message {
    font-size: 1.1rem;
    color: #888;
}

#empresa_count {
    font-size: 1rem;
    color: #1a3775;
    font-weight: 600;
}

.btn-ver-tienda {
    background-color: #1a3775 !important;
    color: #fff !important;
    border: 1.5px solid #1a3775 !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(26, 55, 117, 0.08);
    transition: background 0.2s, border 0.2s;
    padding: 0.7em 2em;
    font-size: 1.08rem;
    line-height: 1.2;
    text-decoration: none !important;
    display: inline-block;
}

.btn-ver-tienda:hover,
.btn-ver-tienda:focus {
    background-color: #2958bc !important;
    border-color: #2958bc !important;
    color: #fff !important;
}

/* Especificidad aumentada para evitar sobrescritura por tema.css */
.filter-card .text-total {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    line-height: 1;
    margin: 0;
    color: #1a3775 !important;
    text-align: left;
    z-index: 2;
    font-weight: 900 !important;
}

/* Responsivo para filtro_empresas */
@media (max-width: 768px) {
    .filter-card {
        padding: 1rem 0.5rem;
    }
}

@media (min-width: 992px) {
    .o_grid_mode {
        display: flex;
        grid-auto-rows: 50px;
        grid-template-columns: repeat(12, 1fr);
        row-gap: 0px;
        column-gap: 0px;
        --gutter-x: 0px;
    }
}

.empresa-card {
    background: #fff;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(26, 55, 117, 0.08);
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 340px;
    overflow: hidden;
}

.empresa-img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px 12px 0 0 !important;
    background: #f4f8ff;
}

.empresa-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(26, 55, 117, 0.08);
    background: #fff;
}

.empresa-img-link {
    display: block;
    text-decoration: none;
}
.empresa-img-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Fallback mobile user name styles (si no aplica desde el tema) */
@media (max-width: 767px) {
    .header-iracuba .user-name {
        display: inline-block;
        color: #002c5f;
        font-weight: 600;
        margin-left: 0.5rem;
    }
}
