body {       
    background: #97f0c2;
    background: linear-gradient(90deg, rgba(151, 240, 194, 1) 0%, rgba(230, 247, 239, 1) 50%, rgba(151, 240, 194, 1) 100%);
    }
/* Contenedor principal */
#piedepag {
    color: #164b22;
}

#piedepag p {
    margin-bottom: 5px; /* Mejor que line-height 0.3 para evitar que se pisen las letras */
    line-height: 1.2;
}

#piedepag .siglas {
    font-size: 1.8rem; /* Tamaño fluido */
    font-weight: 400;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

#piedepag .nombre-completo {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

#piedepag .rnos {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

/* Info de contacto */
.contact-info {
    font-size: 12px;
}

.contact-info i {
    margin-right: 4px;
}

/* Botón WhatsApp Flotante Moderno */
.whatsapp-float {
    position: fixed;
    bottom: 30px; /* Menos espacio en el borde */
    right: 30px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Ajustes para Celulares */
@media (max-width: 768px) {
    #piedepag .siglas {
        font-size: 1.4rem;
    }
    
    .contact-info {
        flex-direction: column; /* Apila los datos en el celular */
        gap: 8px !important;
        text-align: center;
    }

    .whatsapp-float img {
        width: 45px;
        height: 45px;
    }
}
hr {
    border: 1;
    height: 1px;
    background: #164b22;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.sombra {
    text-align: center;
    font-size: 42px;
    color: #406344;
    text-shadow: 0 2px 3px rgba(0, 4, 6, 0.5);
}
.sombra2 {
    font-size: 28px;
    color: #366e67;
    text-shadow: 0 2px 3px rgba(139, 139, 139, 0.5);
}

.cuadro-pago {
  background: linear-gradient(135deg, #f0f9ff, #d0eaff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  transition: box-shadow 0.3s ease;
}

.cuadro-pago:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.navbar-small .nav-link,
.navbar-small .navbar-brand,
.navbar-small .dropdown-item {
  font-size: 0.85rem; /* Ajustá según lo que necesites */
}
.navbar-small .nav-link {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fs-7 {
    font-size: 0.75rem; /* más chico que fs-6 (0.875rem) */
}

.fs-8 {
    font-size: 0.7rem; /* más chico que fs-6 (0.875rem) */
}

.bootbox .modal-content {
    background-color: #c7f1e7; 
}

.bootbox .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.titulo-localidad {
        background-color: #c9e2deff;
        color: #2c5d8f;
        padding: 6px 15px; /* Más compacto */
        border-radius: 6px;
        font-weight: 700;
        margin-top: 20px;
        margin-bottom: 10px;
        border-left: 4px solid #2c5d8f;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem; /* Letra más chica */
    }
    .fila-profesional {
        background-color: #e5f7eeff;
        transition: all 0.2s ease;
        border-bottom: 1px solid #ddf8e5ff;
        padding: 8px 10px; /* Reducido */
    }
    .fila-profesional:hover {
        background-color: #daf1d2ff;
    }
    .nombre-pro {
        color: #1a202c;
        font-weight: 600;
        font-size: 0.85rem; /* Letra más chica */
        line-height: 1.2;
    }
    .dato-contacto {
        font-size: 0.75rem; /* Letra muy chica para info secundaria */
        color: #64748b;
    }    

  .card {
        transition: all 0.2s ease;
        border-radius: 15px;
        overflow: hidden;
    }
    
  .card:hover {
        transform: scale(1.01);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    }

    /* Ajuste para bordes redondeados en móvil vs escritorio */
    @media (min-width: 768px) {
        .rounded-start-md {
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
        }
    }
    @media (max-width: 767.98px) {
        .bg-primary {
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            padding: 20px !important;
        }
    }

.titulo-localidad {
        background-color: #f8f9fa;
        color: #198754;
        font-weight: bold;
        padding: 8px 15px;
        margin-top: 10px;
        border-left: 4px solid #198754;
        font-size: 0.9rem;
        text-transform: uppercase;
    }
    .fila-profesional {
        padding: 12px 15px;
        border-bottom: 1px solid #f0fae7ff;
        transition: background 0.2s;
    }
    .fila-profesional:hover {
        background-color: #e3eedaff;
    }
    .nombre-pro {
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
        line-height: 1.2;
    }
    .dato-contacto {
        font-size: 0.8rem;
        color: #6c757d;
    }

    /* Scrollbar suave para la lista de horarios */
 .lh-1 { line-height: 1.1 !important; }
    .nombre-pro { font-weight: 600; font-size: 0.85rem; color: #1a202c; }
    .dato-contacto { font-size: 0.75rem; color: #64748b; }
    .fila-item { border-bottom: 1px solid #f1f5f9; padding: 8px 5px; }
    .img-odont { max-width: 90px; height: auto; border-radius: 10px; }

    .swal2-input {
    font-size: 0.9rem !important;
    height: 2.5rem !important;
    }
    .swal2-select {
        font-size: 0.9rem !important;
    }

.nav-tabs .nav-link {
    color: #555;
    border-radius: 10px 10px 0 0;
}

.nav-tabs .nav-link.active { 
    background-color: #0d6efd;
    color: white !important;
    border: none; 
}

.tab-content { 
    border-top: none !important; 
}    

/* boton volver clinicas */
.btn-posicion {
    text-align: center;
}

/* En computadoras (desde 768px para arriba) */
@media (min-width: 768px) {
    .btn-posicion {
        position: absolute; /* Lo saca del flujo para no empujar al logo */
        right: 1.5rem;      /* Lo pega a la derecha */
        top: 50%;           /* Lo centra verticalmente */
        transform: translateY(-50%); /* Ajuste fino de centrado vertical */
    }
}

.btn-toggle-visto {
    transition: all 0.3s ease;
}