/* =====================================================
   TRAVESÍA · HOJA DE ESTILOS PERSONALIZADA
   Basada en paleta de colores definida:
   - Primario: Azul Navy (#1A3A5F)
   - Secundario: Ámbar / Amarillo Tráfico (#F39C12)
   - Acento: Verde Esmeralda (#27AE60)
   - Alerta: Rojo Coral (#E74C3C)
   - Neutros: Blanco Hueso (#F8F9FA)
   ===================================================== */

/* === RESET Y ESTILOS BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #F8F9FA;
    color: #1A3A5F;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1A3A5F;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    margin: 0;
    line-height: 1.2;
}

/* === HEADER MÓVIL COMPACTO === */
.header-movil {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.btn-perfil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1A3A5F;
    font-size: 1.5rem;
    transition: background-color 0.2s;
}

.btn-perfil:hover,
.btn-perfil:focus {
    background-color: rgba(26, 58, 95, 0.1);
    color: #1A3A5F;
}

/* === CONTENEDOR DEL MAPA === */
.mapa-contenedor {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.mapa-canvas {
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
    position: relative;
}

.mapa-simulado {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #d4e0f0 0%, #b0c6de 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A3A5F;
    font-weight: 500;
    font-size: 1.2rem;
}

.texto-mapa {
    background-color: rgba(255,255,255,0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === BARRA DE BÚSQUEDA FLOTANTE === */
.barra-busqueda-flotante {
    position: absolute;
    top: 70px; /* Debajo del header */
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 0 1rem;
}

.barra-busqueda-flotante .input-group {
    background-color: white;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.barra-busqueda-flotante .input-group-text {
    border: none;
    background-color: white;
    padding-left: 1.2rem;
}

.barra-busqueda-flotante .form-control {
    border: none;
    padding: 0.8rem 0.8rem 0.8rem 0;
    font-size: 1rem;
}

.barra-busqueda-flotante .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* === BOTTOM SHEET (PANEL DESLIZABLE) === */
.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(calc(100% - 80px)); /* Solo se ve el handle */
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.bottom-sheet.sheet-expandida {
    transform: translateY(0);
}

.sheet-handle {
    width: 60px;
    height: 5px;
    background-color: #dee2e6;
    border-radius: 10px;
    margin: 12px auto;
    cursor: pointer;
}

.sheet-content {
    padding: 0 1rem 1.5rem;
}

.sheet-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    color: #1A3A5F;
}

/* === LISTA DE RUTAS CERCANAS === */
.lista-rutas-cercanas {
    margin-bottom: 1rem;
}

.ruta-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ruta-item:last-child {
    border-bottom: none;
}

.badge-ruta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.ruta-info {
    display: flex;
    flex-direction: column;
}

.ruta-nombre {
    font-weight: 500;
    color: #1A3A5F;
    font-size: 0.95rem;
}

.ruta-distancia {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 2px;
}

.ruta-distancia i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.btn-ver-ruta {
    color: #F39C12;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background-color: rgba(243, 156, 18, 0.1);
    transition: all 0.2s;
}

.btn-ver-ruta:hover {
    background-color: rgba(243, 156, 18, 0.2);
    color: #1A3A5F;
}

.sheet-footer {
    margin-top: 1rem;
    text-align: center;
}

.btn-ver-todas {
    display: inline-block;
    color: #1A3A5F;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background-color: #F8F9FA;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-ver-todas:hover {
    background-color: #e9ecef;
}

/* === FAB (FLOATING ACTION BUTTON) === */
.fab-reporte {
    position: absolute;
    bottom: 100px; /* Sobre el bottom sheet */
    right: 1rem;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #F39C12;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.fab-reporte:hover {
    background-color: #e08e0b;
    transform: scale(1.05);
    color: white;
}

.fab-reporte i {
    line-height: 1;
}

/* === UTILITARIOS === */
.text-primary {
    color: #1A3A5F !important;
}

.text-secondary {
    color: #F39C12 !important;
}

.text-accent {
    color: #27AE60 !important;
}

.text-alert {
    color: #E74C3C !important;
}

.bg-primary {
    background-color: #1A3A5F !important;
}

.bg-secondary {
    background-color: #F39C12 !important;
}

.bg-accent {
    background-color: #27AE60 !important;
}

.bg-alert {
    background-color: #E74C3C !important;
}

/* === RESPONSIVE (AJUSTES PARA PANTALLAS GRANDES) === */
@media (min-width: 768px) {
    .bottom-sheet {
        width: 400px;
        left: auto;
        right: 1rem;
        bottom: 1rem;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        transform: translateY(0); /* Siempre visible en desktop */
    }
    
    .sheet-handle {
        display: none; /* Ocultar handle en desktop */
    }
    
    .fab-reporte {
        bottom: 2rem;
        right: 2rem;
    }
    
    .barra-busqueda-flotante {
        top: 90px;
        left: 1rem;
        right: auto;
        width: 400px;
    }
}

/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */

/* === PÁGINA DETALLE DE RUTA === */
.pagina-detalle-ruta {
    background-color: white;
}

.contenedor-detalle {
    padding-top: 70px; /* Espacio para el header fijo */
    padding-bottom: 80px; /* Espacio para el FAB */
}

/* Cabecera de ruta */
.cabecera-ruta {
    background-color: white;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.badge-ruta-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 48px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.ruta-titulo {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #1A3A5F;
}

.ruta-estado {
    font-size: 0.85rem;
    color: #27AE60;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ruta-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.metadata-item {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metadata-item i {
    font-size: 0.9rem;
}

.btn-favorito {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #dee2e6;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.btn-favorito:hover {
    color: #F39C12;
}

.btn-favorito .bi-star-fill {
    color: #F39C12;
}

/* Mapa de ruta */
.mapa-ruta-contenedor {
    height: 200px;
    width: 100%;
    background-color: #e9ecef;
}

/* Selector de dirección */
.selector-direccion {
    padding: 1rem;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.direccion-group {
    width: 100%;
}

.direccion-group .btn {
    flex: 1;
    border-color: #1A3A5F;
    color: #1A3A5F;
    padding: 0.6rem 0;
}

.direccion-group .btn-check:checked + .btn {
    background-color: #1A3A5F;
    color: white;
}

/* Lista de paradas */
.lista-paradas {
    background-color: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.lista-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #1A3A5F;
}

.parada-item {
    margin-bottom: 1.2rem;
    position: relative;
}

.parada-item:last-child {
    margin-bottom: 0;
}

.parada-marcador {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 4px;
}

.parada-marcador.origen {
    background-color: #27AE60;
    border: 3px solid rgba(39, 174, 96, 0.3);
}

.parada-marcador.intermedia {
    background-color: #F39C12;
    border: 3px solid rgba(243, 156, 18, 0.3);
}

.parada-marcador.destino {
    background-color: #E74C3C;
    border: 3px solid rgba(231, 76, 60, 0.3);
}

.parada-info {
    display: flex;
    flex-direction: column;
}

.parada-nombre {
    font-weight: 500;
    color: #1A3A5F;
    font-size: 0.95rem;
}

.parada-detalle {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

.parada-tiempo {
    font-size: 0.8rem;
    color: #1A3A5F;
    font-weight: 500;
}

/* Línea conectora entre paradas (simulada) */
.parada-item:not(:last-child) .parada-marcador::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 2px;
    height: calc(100% + 8px);
    background-color: #dee2e6;
    z-index: 0;
}

/* Sección de reportes */
.seccion-reportes {
    background-color: #F8F9FA;
    padding: 1.5rem 0;
}

.reporte-item {
    background-color: white;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border-left: 5px solid transparent;
}

.reporte-lleno {
    border-left-color: #E74C3C;
}

.reporte-retraso {
    border-left-color: #F39C12;
}

.reporte-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reporte-tipo {
    font-weight: 600;
    font-size: 0.9rem;
}

.reporte-lleno .reporte-tipo {
    color: #E74C3C;
}

.reporte-retraso .reporte-tipo {
    color: #F39C12;
}

.reporte-tiempo {
    font-size: 0.7rem;
    color: #6c757d;
}

.reporte-descripcion {
    font-size: 0.9rem;
    color: #1A3A5F;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.reporte-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.reporte-ubicacion {
    color: #6c757d;
}

.reporte-votos {
    color: #1A3A5F;
    font-weight: 500;
}

.btn-validar {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: #F8F9FA;
    border: none;
    color: #1A3A5F;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-validar:hover {
    background-color: #27AE60;
    color: white;
}

/* Botón volver */
.btn-volver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1A3A5F;
    font-size: 1.5rem;
    text-decoration: none;
}

.btn-volver:hover {
    background-color: rgba(26, 58, 95, 0.1);
    color: #1A3A5F;
}

/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Solo clases nuevas y específicas para búsqueda */

/* Página de búsqueda */
.pagina-buscar {
    background-color: white;
}

.contenedor-buscar {
    padding-top: 70px;
    padding-bottom: 2rem;
}

/* Barra de búsqueda principal */
.busqueda-principal {
    padding: 1rem;
    background-color: white;
}

.input-group-busqueda {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 60px;
    overflow: hidden;
}

.input-group-busqueda .form-control {
    padding: 0.8rem 0;
}

/* Pestañas de búsqueda */
.pestanas-busqueda {
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.pestanas-busqueda .nav-link {
    color: #1A3A5F;
    border-radius: 0;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
}

.pestanas-busqueda .nav-link.active {
    background-color: transparent;
    color: #F39C12;
    border-bottom: 3px solid #F39C12;
    font-weight: 500;
}

.pestanas-busqueda .nav-link i {
    font-size: 1.1rem;
    margin-right: 4px;
}

/* Filtros por números */
.filtros-numeros {
    margin: 1.5rem 0;
}

.filtro-titulo {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: block;
}

.numeros-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.numero-item {
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background-color: #F8F9FA;
    color: #1A3A5F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
}

.numero-item:hover,
.numero-item.seleccionado {
    background-color: #1A3A5F;
    color: white;
    border-color: #1A3A5F;
}

/* Resultados de búsqueda */
.resultados-busqueda {
    margin-top: 1rem;
}

.ruta-destinos {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Lugares en pestaña "Por lugar" */
.lugar-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.lugar-item:last-child {
    border-bottom: none;
}

.lugar-info {
    display: flex;
    flex-direction: column;
}

.lugar-nombre {
    font-weight: 500;
    color: #1A3A5F;
    font-size: 0.95rem;
}

.lugar-detalle {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Tarjeta de ubicación actual */
.card-ubicacion {
    background-color: #F8F9FA;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.ubicacion-icono {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    background-color: #1A3A5F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
}

.ubicacion-titulo {
    font-weight: 500;
    color: #1A3A5F;
    font-size: 1rem;
}

.ubicacion-coords {
    font-size: 0.8rem;
    color: #6c757d;
    font-family: monospace;
    margin-top: 4px;
}

/* Radio de búsqueda */
.radio-busqueda {
    padding: 0.5rem 0;
}

.radio-busqueda .form-label {
    font-size: 0.9rem;
    color: #1A3A5F;
    font-weight: 500;
}

/* Mapa preview */
.mapa-preview {
    margin: 1.5rem 1rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mapa-miniatura {
    height: 150px;
    background: linear-gradient(145deg, #d4e0f0 0%, #b0c6de 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A3A5F;
    font-weight: 500;
}

.texto-mapa-mini {
    background-color: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
}

/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Solo clases nuevas y específicas para reportar incidente */

/* Página de reportar */
.pagina-reportar {
    background-color: white;
}

.contenedor-reportar {
    padding-top: 70px;
    padding-bottom: 2rem;
}

/* Títulos de página */
.seccion-titulo {
    padding: 1.5rem 0 0.5rem;
    background-color: white;
}

.titulo-pagina {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    margin-bottom: 0.25rem;
}

.subtitulo-pagina {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Campos del formulario */
.campo-formulario {
    margin-bottom: 1rem;
}

.campo-formulario .form-label {
    font-weight: 500;
    color: #1A3A5F;
    margin-bottom: 0.5rem;
}

.campo-formulario .form-select,
.campo-formulario .form-control {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    background-color: white;
}

.campo-formulario .form-select:focus,
.campo-formulario .form-control:focus {
    border-color: #F39C12;
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

/* Grid de tipos de incidente */
.tipos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tipo-item {
    text-align: center;
}

.btn-tipo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background-color: #F8F9FA;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1A3A5F;
}

.btn-tipo i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
}

/* Estados hover y checked */
.btn-tipo:hover {
    background-color: #e9ecef;
}

.btn-check:checked + .btn-tipo {
    border-color: #F39C12;
    background-color: rgba(243, 156, 18, 0.1);
}

.btn-check:checked + .btn-tipo i {
    color: #F39C12;
}

/* Switch de anonimato (reutilizando estructura) */
.anonimo-switch {
    background-color: #F8F9FA;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.switch-label {
    font-weight: 500;
    color: #1A3A5F;
    display: block;
    font-size: 1rem;
}

.switch-desc {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
}

.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-top: 0;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: #27AE60;
    border-color: #27AE60;
}

/* Nota informativa */
.nota-info {
    background-color: #F8F9FA;
    border-left: 4px solid #F39C12;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1A3A5F;
    display: flex;
    align-items: flex-start;
}

.nota-info i {
    color: #F39C12;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Extensión de card-ubicacion (ya existe) */
.ubicacion-lugar {
    font-size: 0.8rem;
    color: #27AE60;
    font-weight: 500;
    margin-top: 2px;
}

/* Botones */
.btn-outline-secondary {
    border-color: #dee2e6;
    color: #1A3A5F;
    border-radius: 60px;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #1A3A5F;
}

.btn-primary {
    border-radius: 60px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e08e0b !important;
    border-color: #e08e0b !important;
}


/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Clases nuevas para reportes activos */

/* Página de reportes */
.pagina-reportes {
    background-color: #F8F9FA;
}

.contenedor-reportes {
    padding-top: 70px;
    padding-bottom: 80px; /* Espacio para el FAB */
}

/* Filtros de reportes */
.filtros-reportes {
    padding: 1rem 0;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 70px;
    z-index: 1020;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95);
}

.filtros-reportes .form-select-sm {
    border-radius: 60px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-color: #dee2e6;
}

/* Lista de reportes */
.lista-reportes {
    padding: 1rem 0;
}

/* Tarjeta de reporte (reutilizando estilos de detalle de ruta) */
.reporte-card {
    background-color: white;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
    border-left: 5px solid transparent;
}

.reporte-card.reporte-lleno {
    border-left-color: #E74C3C;
}

.reporte-card.reporte-retraso {
    border-left-color: #F39C12;
}

.reporte-card.reporte-accidente {
    border-left-color: #E74C3C;
    border-left-width: 8px;
}

.reporte-card.reporte-incivismo {
    border-left-color: #6c757d;
}

.reporte-header {
    padding: 1rem 1rem 0.5rem;
    background-color: white;
}

.badge-ruta-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.reporte-tipo {
    font-weight: 600;
    font-size: 0.9rem;
}

.reporte-lleno .reporte-tipo {
    color: #E74C3C;
}

.reporte-retraso .reporte-tipo {
    color: #F39C12;
}

.reporte-accidente .reporte-tipo {
    color: #E74C3C;
}

.reporte-incivismo .reporte-tipo {
    color: #6c757d;
}

.reporte-tiempo {
    font-size: 0.75rem;
    color: #6c757d;
    background-color: #F8F9FA;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
}

.reporte-cuerpo {
    padding: 0 1rem 1rem;
}

.reporte-descripcion {
    font-size: 0.95rem;
    color: #1A3A5F;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.reporte-metadata {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.reporte-metadata .metadata-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Estadísticas y votos */
.reporte-estadisticas {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
}

.votos-info {
    font-size: 0.9rem;
    font-weight: 500;
}

.votos-positivos {
    color: #27AE60;
}

.votos-negativos {
    color: #E74C3C;
}

/* Botones de validación pequeños */
.acciones-validacion {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-validar-sm {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-validar-sm.confirmar {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27AE60;
}

.btn-validar-sm.confirmar:hover {
    background-color: #27AE60;
    color: white;
}

.btn-validar-sm.desmentir {
    background-color: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.btn-validar-sm.desmentir:hover {
    background-color: #E74C3C;
    color: white;
}

.btn-validar-sm:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-validar-sm:disabled:hover {
    background-color: initial;
    color: initial;
}

/* Aviso de ocultamiento */
.aviso-oculto {
    font-size: 0.75rem;
    color: #E74C3C;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aviso-oculto i {
    font-size: 0.9rem;
}

/* Resumen estadístico */
.resumen-reportes {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.resumen-item {
    display: flex;
    flex-direction: column;
}

.resumen-valor {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    line-height: 1.2;
}

.resumen-etiqueta {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estado de reporte oculto */
.reporte-card[data-votos="-3"] {
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Responsive para tablets */
@media (min-width: 768px) {
    .lista-reportes .container-fluid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .resumen-reportes {
        grid-column: span 2;
    }
}


/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Clases nuevas para favoritos */

/* Página de favoritos */
.pagina-favoritos {
    background-color: #F8F9FA;
}

.contenedor-favoritos {
    padding-top: 70px;
    padding-bottom: 2rem;
}

/* Tarjeta de favorito */
.favorito-card {
    background-color: white;
    border-radius: 20px;
    padding: 1.2rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: opacity 0.3s ease;
    border: 1px solid #f0f0f0;
}

.favorito-info {
    display: flex;
    flex-direction: column;
}

.favorito-alias {
    font-weight: 600;
    color: #1A3A5F;
    font-size: 1rem;
    margin-bottom: 2px;
}

.favorito-alias i {
    margin-right: 4px;
    font-size: 0.9rem;
}

.favorito-ruta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.favorito-ultimo {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.favorito-ultimo.alerta {
    color: #E74C3C;
    font-weight: 500;
}

.favorito-ultimo i {
    font-size: 0.7rem;
}

/* Acciones de favorito */
.favorito-acciones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-opciones {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    border: none;
    background-color: #F8F9FA;
    color: #1A3A5F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-opciones:hover {
    background-color: #e9ecef;
}

/* Dropdown personalizado */
.dropdown-menu {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 12px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #1A3A5F;
}

.dropdown-item i {
    margin-right: 8px;
    width: 1.2rem;
    color: #6c757d;
}

.dropdown-item.text-alert {
    color: #E74C3C;
}

.dropdown-item.text-alert i {
    color: #E74C3C;
}

.dropdown-item:hover {
    background-color: #F8F9FA;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.5;
}

/* Notificaciones badge */
.favorito-notificaciones {
    margin-top: 0.75rem;
}

.notificacion-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
}

.notificacion-badge.activo {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27AE60;
}

.notificacion-badge.inactivo {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Sugerencias de favoritos */
.sugerencias-favoritos {
    background-color: white;
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.sugerencias-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.sugerencias-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sugerencia-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.sugerencia-item:last-child {
    border-bottom: none;
}

.sugerencia-nombre {
    font-size: 0.9rem;
    color: #1A3A5F;
}

.btn-agregar-favorito {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    border: none;
    background-color: rgba(243, 156, 18, 0.1);
    color: #F39C12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-agregar-favorito:hover {
    background-color: #F39C12;
    color: white;
}

.btn-agregar-favorito.agregado {
    background-color: #27AE60;
    color: white;
}

.btn-agregar-favorito:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estadísticas de favoritos */
.estadisticas-favoritos {
    padding: 1.5rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-valor {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    line-height: 1.2;
}

.stat-etiqueta {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive para tablets */
@media (min-width: 768px) {
    .lista-favoritos .container-fluid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .sugerencias-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .sugerencia-item {
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        padding-right: 1rem;
    }
    
    .sugerencia-item:last-child {
        border-right: none;
    }
}

/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Clases nuevas para perfil de usuario */

/* Página de perfil */
.pagina-perfil {
    background-color: #F8F9FA;
}

.contenedor-perfil {
    padding-top: 70px;
    padding-bottom: 2rem;
}

/* Cabecera de perfil */
.perfil-cabecera {
    background-color: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.avatar-container {
    width: 70px;
    height: 70px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3A5F, #2c5a8c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 10px rgba(26, 58, 95, 0.2);
}

.perfil-info {
    display: flex;
    flex-direction: column;
}

.perfil-nombre {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1A3A5F;
    margin: 0 0 4px 0;
}

.perfil-email {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 4px 0;
}

.perfil-miembro {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
}

.btn-editar-perfil {
    width: 44px;
    height: 44px;
    border-radius: 44px;
    background-color: #F8F9FA;
    color: #1A3A5F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-editar-perfil:hover {
    background-color: #F39C12;
    color: white;
}

/* Tarjeta de reputación */
.reputacion-card {
    background-color: white;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.reputacion-label {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reputacion-label i {
    color: #F39C12;
}

.reputacion-valor {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.reputacion-valor .numero {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A3A5F;
    line-height: 1;
}

.reputacion-valor .nivel {
    font-size: 0.9rem;
    color: #27AE60;
}

.reputacion-badge {
    display: inline-flex;
    gap: 2px;
}

.reputacion-badge i {
    color: #F39C12;
    font-size: 1.2rem;
}

.reputacion-progress {
    height: 10px;
    border-radius: 10px;
    margin-top: 0.5rem;
    background-color: #f0f0f0;
}

.reputacion-desc {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reputacion-desc i {
    color: #F39C12;
}

/* Estadísticas de perfil (extendiendo de favoritos) */
.estadisticas-perfil {
    background-color: white;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-link {
    display: block;
    font-size: 0.7rem;
    color: #F39C12;
    text-decoration: none;
    margin-top: 4px;
}

.stat-link:hover {
    text-decoration: underline;
}

/* Actividad reciente */
.actividad-reciente {
    background-color: white;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ver-todos {
    font-size: 0.8rem;
    color: #F39C12;
    text-decoration: none;
    float: right;
    font-weight: normal;
}

.ver-todos:hover {
    text-decoration: underline;
}

.actividad-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.actividad-item:last-child {
    border-bottom: none;
}

.actividad-icono {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.actividad-icono.confirmado {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27AE60;
}

.actividad-icono.validacion {
    background-color: rgba(243, 156, 18, 0.1);
    color: #F39C12;
}

.actividad-icono.favorito {
    background-color: rgba(243, 156, 18, 0.1);
    color: #F39C12;
}

.actividad-icono.desmentido {
    background-color: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.actividad-info {
    display: flex;
    flex-direction: column;
}

.actividad-titulo {
    font-weight: 500;
    color: #1A3A5F;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.actividad-desc {
    font-size: 0.8rem;
    color: #6c757d;
}

.actividad-tiempo {
    font-size: 0.7rem;
    color: #6c757d;
}

/* Configuración de cuenta */
.configuracion-cuenta {
    background-color: white;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.config-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.config-item:last-child {
    border-bottom: none;
}

.config-label {
    font-weight: 500;
    color: #1A3A5F;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.config-label i {
    color: #6c757d;
    font-size: 1.1rem;
}

.config-desc {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-left: 1.8rem;
}

/* Ayuda y soporte */
.ayuda-soporte {
    background-color: white;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ayuda-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    display: block;
    color: inherit;
}

.ayuda-item:last-child {
    border-bottom: none;
}

.ayuda-item:hover {
    background-color: #F8F9FA;
}

.ayuda-label {
    font-weight: 400;
    color: #1A3A5F;
    font-size: 0.95rem;
}

.ayuda-item i:first-child {
    color: #6c757d;
    font-size: 1.1rem;
}

.ayuda-item .bi-chevron-right {
    color: #6c757d;
}

/* Botón de cerrar sesión */
.btn-cerrar-sesion {
    width: 100%;
    padding: 1rem;
    border-radius: 60px;
    border: 2px solid #f0f0f0;
    background-color: white;
    color: #E74C3C;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-cerrar-sesion:hover {
    background-color: #E74C3C;
    border-color: #E74C3C;
    color: white;
}

.btn-cerrar-sesion i {
    font-size: 1.2rem;
}

/* Versión de la app */
.version-app {
    margin-top: 1rem;
}

.version-text {
    font-size: 0.7rem;
    color: #6c757d;
    opacity: 0.7;
}

/* Responsive para tablets */
@media (min-width: 768px) {
    .perfil-cabecera .container-fluid {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .configuracion-cuenta .container-fluid,
    .ayuda-soporte .container-fluid {
        max-width: 600px;
        margin: 0 auto;
    }
}



/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Clases nuevas para páginas de autenticación (login/registro) */

/* Páginas de autenticación */
.pagina-auth {
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header simplificado para auth */
.header-auth {
    position: relative;
    padding: 1rem 0;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.header-auth .btn-volver {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1A3A5F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #F8F9FA;
}

.header-auth .btn-volver:hover {
    background-color: #F39C12;
    color: white;
}

.logo-auth {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    margin: 0;
    line-height: 1.2;
}

/* Contenedor principal */
.contenedor-auth {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

/* Ilustración / icono */
.auth-ilustracion {
    text-align: center;
    margin-bottom: 2rem;
}

.icono-circular {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3A5F, #2c5a8c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(26, 58, 95, 0.3);
}

.auth-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5F;
    margin-bottom: 0.25rem;
}

.auth-subtitulo {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Formulario de autenticación */
.auth-formulario {
    width: 100%;
}

/* Campos del formulario (reutilizando de reportar.html) */
.auth-formulario .campo-formulario {
    margin-bottom: 1.2rem;
}

.auth-formulario .form-label {
    font-weight: 500;
    color: #1A3A5F;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.auth-formulario .form-control {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    background-color: #F8F9FA;
    transition: all 0.2s;
}

.auth-formulario .form-control:focus {
    border-color: #F39C12;
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
    background-color: white;
}

.auth-formulario .form-control.is-invalid {
    border-color: #E74C3C;
    background-image: none;
}

.auth-formulario .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Botón de mostrar contraseña */
.auth-formulario .input-group {
    border-radius: 12px;
    overflow: hidden;
}

.auth-formulario .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.auth-formulario .input-group .btn-outline-secondary {
    border: 1px solid #dee2e6;
    border-left: none;
    border-radius: 0 12px 12px 0;
    background-color: #F8F9FA;
    color: #6c757d;
}

.auth-formulario .input-group .btn-outline-secondary:hover {
    background-color: #F39C12;
    color: white;
    border-color: #F39C12;
}

/* Opciones de autenticación */
.auth-opciones {
    margin: 1.5rem 0;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #27AE60;
    border-color: #27AE60;
}

.form-check-label {
    font-size: 0.9rem;
    color: #1A3A5F;
    cursor: pointer;
}

.olvido-link {
    font-size: 0.9rem;
    color: #F39C12;
    text-decoration: none;
}

.olvido-link:hover {
    text-decoration: underline;
}

/* Botón principal de autenticación */
.btn-auth {
    width: 100%;
    padding: 1rem;
    border-radius: 60px;
    border: none;
    background: linear-gradient(135deg, #1A3A5F, #2c5a8c);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #2c5a8c, #1A3A5F);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 95, 0.3);
}

.btn-auth i {
    font-size: 1.2rem;
}

/* Separador */
.auth-separador {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-separador::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
    z-index: 1;
}

.separador-texto {
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Botón de invitado */
.btn-invitado {
    width: 100%;
    padding: 1rem;
    border-radius: 60px;
    border: 2px solid #f0f0f0;
    background-color: white;
    color: #1A3A5F;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.btn-invitado:hover {
    background-color: #F8F9FA;
    border-color: #F39C12;
    color: #F39C12;
}

.btn-invitado i {
    font-size: 1.2rem;
}

/* Enlace a registro */
.auth-registro {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.registro-link {
    color: #F39C12;
    font-weight: 600;
    text-decoration: none;
}

.registro-link:hover {
    text-decoration: underline;
}

/* Nota informativa */
.auth-nota {
    background-color: #F8F9FA;
    border-left: 4px solid #F39C12;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #1A3A5F;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.auth-nota i {
    color: #F39C12;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive para tablets */
@media (min-width: 768px) {
    .contenedor-auth {
        padding: 2rem 2rem 3rem;
    }
    
    .icono-circular {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .auth-titulo {
        font-size: 1.8rem;
    }
}

/* === AÑADIR AL FINAL DEL ARCHIVO estilo.css === */
/* Clases nuevas específicas para registro (mínimas, la mayoría reutilizadas) */

/* Validación de campos */
.form-control.is-valid {
    border-color: #27AE60;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2327AE60' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
    border-color: #27AE60;
    box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
}

.form-control.is-invalid {
    border-color: #E74C3C;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23E74C3C'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23E74C3C' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    border-color: #E74C3C;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Texto de ayuda en formularios */
.form-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
}

/* Enlaces de términos */
.terminos-link {
    color: #F39C12;
    text-decoration: none;
}

.terminos-link:hover {
    text-decoration: underline;
}

/* Ajuste para campos en fila */
.row .campo-formulario {
    margin-bottom: 0;
}

/* Responsive para móvil */
@media (max-width: 576px) {
    .row .col-6:first-child {
        margin-bottom: 1rem;
    }
}