/* ===== ESTILOS MEJORADOS PARA TEMA SLATE (DARK) ===== */

/* Variables de colores para consistencia */
:root {
    --primary-accent: #5bc0de;
    --secondary-accent: #5cb85c;
    --warning-accent: #f0ad4e;
    --gradient-primary: linear-gradient(135deg, #4a6572 0%, #344955 100%);
    --gradient-secondary: linear-gradient(135deg, #5bc0de 0%, #4a6572 100%);
    --gradient-warning: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%);
    --card-bg: #2a3a46;
    --card-hover-bg: #314351;
    --border-color: #3a4b59;
}

/* Navbar mejorado */
.navbar-brand {
    font-weight: bold;
    color: #5bc0de !important;
}

.crypto-badge {
    background: var(--gradient-warning);
    color: #1c1e22;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #ec971f;
}

.main-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
}

.main-nav .nav-link:hover {
    background: rgba(91, 192, 222, 0.1);
    color: #5bc0de !important;
    transform: translateY(-1px);
}

/* Cards de negocios mejoradas */
.business-card {
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    background: var(--card-hover-bg);
    border-color: #5bc0de;
}

.business-card .card-body {
    background: transparent;
}

.business-card .card-title {
    color: #5bc0de;
    font-weight: 600;
}

.business-card .card-text {
    color: #b8c2cc;
}

/* Hero section mejorado */
.hero-section {
    background: var(--gradient-primary);
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    color: #5bc0de;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    color: #b8c2cc;
}

/* Business Hero (página individual) */
.business-hero {
    background: var(--gradient-secondary);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    border-bottom: 3px solid #5bc0de;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.business-hero .display-5 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Business Image */
.business-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

/* Business Info Card */
.business-info-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: var(--card-bg);
}

.business-info-card .card-header {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.business-info-card .card-body {
    background: transparent;
    padding: 1.5rem;
}

/* Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 1.4rem;
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
    color: #5bc0de;
}

.info-content {
    flex: 1;
}

.info-content strong {
    color: #5bc0de;
    font-weight: 600;
}

.info-content p {
    color: #b8c2cc;
    margin-bottom: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    color: #5bc0de;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: #5bc0de;
    color: #1c1e22;
    box-shadow: 0 5px 15px rgba(91, 192, 222, 0.4);
    text-decoration: none;
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    height: 300px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Business Tags */
.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.business-tag {
    background: rgba(91, 192, 222, 0.15);
    color: #5bc0de;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(91, 192, 222, 0.3);
    font-weight: 500;
}

.moneda-tag {
    background: rgba(92, 184, 92, 0.15);
    color: #5cb85c;
    border: 1px solid rgba(92, 184, 92, 0.3);
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: var(--card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: #5bc0de;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #5bc0de;
}

.category-header.bg-gradient {
    background: var(--gradient-secondary) !important;
    border: none;
}

.category-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Stats */
.stat-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    color: #5bc0de;
    font-weight: 700;
}

.stat-item p {
    color: #b8c2cc;
    margin-bottom: 0;
}

/* Formularios mejorados */
#ubicacion-busqueda {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%235bc0de" class="bi bi-geo-alt" viewBox="0 0 16 16"><path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A31.493 31.493 0 0 1 8 14.58a31.481 31.481 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z"/><path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    background-color: #2a3a46;
    border: 1px solid var(--border-color);
    color: #b8c2cc;
}

.form-select {
    background-color: #2a3a46;
    border: 1px solid var(--border-color);
    color: #b8c2cc;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #5bc0de;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(91, 192, 222, 0.25);
    background-color: #2a3a46;
    color: #b8c2cc;
}

/* Botones mejorados */
.btn-primary {
    background: var(--gradient-secondary);
    border: 1px solid #5bc0de;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 192, 222, 0.4);
    background: #5bc0de;
    border-color: #5bc0de;
}

.btn-success {
    background: linear-gradient(135deg, #5cb85c 0%, #449d44 100%);
    border: 1px solid #5cb85c;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.4);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #5bc0de !important;
}

/* Pagination */
.pagination .page-link {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: #5bc0de;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #5bc0de;
    color: #1c1e22;
    border-color: #5bc0de;
}

.pagination .page-item.active .page-link {
    background: #5bc0de;
    border-color: #5bc0de;
    color: #1c1e22;
    font-weight: 600;
}

/* List groups */
.list-group-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: #b8c2cc;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: var(--card-hover-bg);
    color: #5bc0de;
}

/* Responsive */
@media (max-width: 768px) {
    .business-hero {
        padding: 2rem 0;
        border-radius: 0 0 15px 15px;
    }

    .business-card:hover {
        transform: translateY(-3px);
    }

    .category-card:hover {
        transform: translateY(-3px);
    }

    .info-item:hover {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Efectos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== MEJORAS ESPECÍFICAS PARA LEGIBILIDAD Y DETALLES ===== */

/* Mejoras de tipografía y contraste */
.card-title,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #e9ecef !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lead,
.card-text,
.text-muted {
    color: #b8c2cc !important;
    font-weight: 400;
}

/* Mejoras específicas para las cards de categorías */
.category-card .card-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.category-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #5bc0de !important;
    font-weight: 700;
}

.category-card .card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #dee2e6 !important;
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    background: rgba(91, 192, 222, 0.2);
    color: #5bc0de;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(91, 192, 222, 0.4);
}

/* Mejoras para el buscador y filtros */
.search-section {
    background: rgba(42, 58, 70, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.search-section h2 {
    color: #5bc0de !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    color: #e9ecef !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.form-control,
.form-select {
    background: rgba(28, 30, 34, 0.8) !important;
    border: 1px solid #495057 !important;
    color: #e9ecef !important;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    background: rgba(28, 30, 34, 0.9) !important;
    border-color: #5bc0de !important;
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.25) !important;
    color: #e9ecef !important;
}

/* Checkboxes y radios mejorados */
.form-check-input {
    background-color: rgba(28, 30, 34, 0.8);
    border: 1px solid #495057;
}

.form-check-input:checked {
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.form-check-label {
    color: #dee2e6 !important;
    font-weight: 500;
}

/* Botones de filtro */
.btn-filter {
    background: linear-gradient(135deg, #5bc0de 0%, #4a6572 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 192, 222, 0.4);
    color: white;
}

.btn-clear {
    background: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-clear:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* Mejoras para la sección de criptomonedas */
.crypto-section {
    background: rgba(42, 58, 70, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.crypto-section h3 {
    color: #5bc0de !important;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.crypto-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.crypto-badge-small {
    background: rgba(91, 192, 222, 0.15);
    color: #5bc0de;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(91, 192, 222, 0.3);
}

/* Header del directorio */
.directory-header {
    background: var(--gradient-primary);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.directory-header h1 {
    color: #5bc0de !important;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Mejoras para listas de negocios */
.business-list-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.business-list-item:hover {
    background: var(--card-hover-bg);
    border-color: #5bc0de;
    transform: translateX(5px);
}

.business-name {
    color: #5bc0de !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.business-category {
    color: #b8c2cc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.business-location {
    color: #8fa0ad;
    font-size: 0.85rem;
}

/* Mejoras para estados vacíos */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #495057;
}

.empty-state h4 {
    color: #8fa0ad !important;
    margin-bottom: 1rem;
}

/* Separadores y líneas */
hr {
    border-color: #495057 !important;
    opacity: 0.6;
}

.border-bottom {
    border-bottom-color: #495057 !important;
}

/* Mejoras de espaciado y layout */
.section-padding {
    padding: 3rem 0;
}

.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Mejoras para móviles */
@media (max-width: 768px) {
    .category-card .card-body {
        padding: 1.5rem 1rem;
    }

    .search-section {
        padding: 1.5rem;
    }

    .business-list-item {
        padding: 1.25rem;
    }

    .directory-header {
        padding: 1.5rem 0;
    }
}

/* Efectos de foco mejorados para accesibilidad */
a:focus,
button:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid #5bc0de;
    outline-offset: 2px;
}

/* Mejoras para texto pequeño */
small,
.small {
    color: #8fa0ad !important;
}

/* Badges mejorados */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Loading states mejorados */
.loading-spinner {
    color: #5bc0de;
    font-size: 2rem;
}

/* Sombras de texto para mejor contraste */
.text-shadow {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Gradientes de texto */
.gradient-text {
    background: linear-gradient(135deg, #5bc0de 0%, #5cb85c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para el header */
.bd-navbar,
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 1px solid #2d3748;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    min-width: 200px;
}

.crypto-badge {
    background: linear-gradient(135deg, #f7931a, #ff9900);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buscador */
.navbar-search .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-right: none;
}

.navbar-search .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #5bc0de;
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.25);
    color: white;
}

.navbar-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.navbar-search .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    border-left: none;
}

.navbar-search .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Menú de usuario */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #5bc0de !important;
}

.dropdown-menu {
    background: #2a3a46;
    border: 1px solid #3a4b59;
    border-radius: 0.5rem;
}

.dropdown-item {
    color: #b8c2cc;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(91, 192, 222, 0.1);
    color: #5bc0de;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-search {
        margin: 1rem 0;
        max-width: 100%;
    }

    .navbar-nav.ms-auto {
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .navbar-search {
        flex: 0 1 400px;
    }
}

.search-simple-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.business-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.business-card-simple {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.business-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #5bc0de;
}

.business-image-simple {
    height: 180px;
    overflow: hidden;
}

.business-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-content-simple {
    padding: 1.25rem;
}

.business-title-simple {
    color: #5bc0de;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.business-excerpt-simple {
    color: #b8c2cc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.business-meta-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.business-meta-simple .badge {
    background: rgba(91, 192, 222, 0.15);
    color: #5bc0de;
    border: 1px solid rgba(91, 192, 222, 0.3);
    font-size: 0.75rem;
}

.no-results-simple {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results-simple i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .business-grid-simple {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ESTILOS PARA SISTEMA DE COMENTARIOS Y RATINGS
   ========================================================================= */

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars input[type="radio"]:checked~.star,
.rating-stars .star:hover,
.rating-stars .star:hover~.star {
    color: #ffc107;
}

.rating-stars input[type="radio"]:checked+.star {
    color: #ffc107;
}

.comment-rating {
    font-size: 0.9rem;
}

.business-reviews {
    margin-top: 3rem;
}

/* Estilos para el promedio de rating */
.rating-average {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.rating-average .average-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
}

.rating-average .total-reviews {
    color: #b8c2cc;
    font-size: 0.9rem;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars .star {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-stars input[type="radio"]:checked~.star,
.rating-stars .star:hover,
.rating-stars .star:hover~.star {
    color: #ffc107;
}

.rating-stars input[type="radio"]:checked+.star {
    color: #ffc107;
}

.comment {
    border-left: 4px solid #5bc0de;
}

.user-info {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar .card {
    border: none;
    border-radius: 10px;
}

.sidebar .widget-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

/* Widget de búsqueda */
.sidebar .search-form {
    display: flex;
}

.sidebar .search-form input[type="search"] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    padding: 8px 12px;
}

.sidebar .search-form button {
    background: #007cba;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 8px 15px;
    cursor: pointer;
}

/* Listas del sidebar */
.sidebar ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #007cba;
}

/* Nube de etiquetas */
.sidebar .tag-cloud a {
    display: inline-block;
    background: #f8f9fa;
    color: #555;
    padding: 3px 8px;
    margin: 2px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sidebar .tag-cloud a:hover {
    background: #007cba;
    color: white;
}

div.tradingview-widget-container {
    padding-top: 24px !important;
    margin-bottom: 28px;

}

div.tradingview-widget-container iframe {
    border-radius: 0.25rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-top: 30px;
        position: static;
    }
}