body {
    background-color: rgb(31, 31, 31);
}

.navbar-style.fixed-top {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.98) 0%, rgba(20, 25, 35, 0.98) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2), 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(0, 123, 255, 0.3);
    z-index: 1000 !important;
    overflow: hidden;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-style.fixed-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff 0%, #00d4ff 50%, #007bff 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    z-index: 1;
}

.navbar-style .navbar-brand,
.navbar-style .nav-link {
    color: white !important; 
    font-size: 30px !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.navbar-style .nav-link {
    padding: 8px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-style .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-style .nav-link:hover {
    color: #4da6ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.6);
}

.navbar-style .nav-link:hover::before {
    opacity: 1;
}

.navbar-style .nav-link.active {
    color: #4da6ff !important;
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.6);
}

.navbar{
    background-color: transparent !important;
    padding: 8px !important;
}

.navbar img{
    width: 15vh;
    height: 15vh;
    filter: drop-shadow(0 2px 8px rgba(0, 123, 255, 0.3));
    transition: filter 0.3s ease;
}

.navbar img:hover {
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.5));
}

/* Responsive para navbar en móviles */
@media (max-width: 768px) {
    .navbar img {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    
    .navbar-style .navbar-brand,
    .navbar-style .nav-link {
        font-size: 18px !important;
    }
    
    .navbar-style .nav-link {
        padding: 6px 10px !important;
        margin: 0 2px;
    }
    
    .navbar {
        padding: 5px 10px !important;
    }
    
    .navbar-style.fixed-top {
        padding: 8px 0 !important;
    }
}

@media (max-width: 480px) {
    .navbar img {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .navbar-style .navbar-brand,
    .navbar-style .nav-link {
        font-size: 16px !important;
    }
    
    .navbar-style .nav-link {
        padding: 5px 8px !important;
        margin: 0;
    }
    
    .navbar {
        padding: 4px 8px !important;
    }
}

@media (max-width: 360px) {
    .navbar img {
        width: 35px;
        height: 35px;
    }
    
    .navbar-style .navbar-brand,
    .navbar-style .nav-link {
        font-size: 14px !important;
    }
}

.navbar-toggler {
    border-color: rgba(0, 123, 255, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: rgba(0, 123, 255, 0.8) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.4) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.carousel-item{
    margin-top: 5vh;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    overflow: hidden;
}

.carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    max-width: 100%;
    max-height: 100%;
}

/* Responsive para carousel en móviles */
@media (max-width: 768px) {
    .carousel-item {
        margin-top: 0;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }
    
    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: auto;
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }
    
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: auto;
    }
}

.box-boton-scooter {
    width: 100%;
    margin: 5vh 0 10vh 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.box-boton-scooter a {
    text-decoration: none;
    background-color: #900;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.box-boton-scooter a:hover {
    background-color: #b00;
}

.box-boton-scooter p {
    color: white;
    font-size: 18px;
    margin: 0;
}

.feedback-section {
    background-color: rgb(31, 31, 31); 
    padding: 60px 5%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 400px; 
    gap: 40px; 
}

.feedback-container {
    background-color: #222; 
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 90%; 
    max-width: 500px; 
    margin: 0; 
    text-align: center; 
    display: flex;
    flex-direction: column;
}

.feedback-container h2 {
    margin-bottom: 25px;
    font-size: 2em;
    color: #fff;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left; 
    flex-grow: 1; 
}

.form-group label {
    display: block; 
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* Estilo del input de Nombre de Usuario */
.feedback-form input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333; /* Fondo oscuro */
    color: #fff; /* Texto blanco */
    font-size: 1em;
    box-sizing: border-box;
}

.feedback-form input[type="text"]::placeholder {
    color: #bbb;
}
textarea#feedbackMessage {
    width: 100%;
    padding: 15px; 
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333; 
    color: #fff;
    font-size: 1em;
    min-height: 150px; 
    max-height: 250px; 
    resize: none; 
    overflow-y: auto; 
    box-sizing: border-box;
}

textarea#feedbackMessage::placeholder {
    color: #bbb;
}

button#btnEnviar {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

button#btnEnviar:hover {
    background-color: #0056b3;
}

.reviews-container {
    width: 90%;
    max-width: 500px;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 300px; 
}

.reviews-container h3 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    color: #007bff;
}

.review-list {
    max-height: 350px; 
    overflow-y: auto; 
    padding: 15px;
    padding-right: 5px; 
    background-color: #333; 
    border-radius: 8px;
    border: 1px solid #444;
    width: 100%; 
    box-sizing: border-box; 
    margin-top: 0; 
    list-style: none; 
    padding-left: 15px; 
}

.review-block {
    background-color: transparent; 
    border: none;
    box-shadow: none;
    padding: 0; 
    margin-bottom: 25px;
    border-bottom: 1px solid #555; 
    padding-bottom: 15px;
}

.review-block:last-child {
    border-bottom: none; 
    margin-bottom: 0; 
    padding-bottom: 0;
}

.review-block .review-meta {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.review-block .review-text {
    color: #eee; 
    font-size: 1em;
    margin: 0;
}

.review-block .review-meta .review-date {
    color: #007bff;
    font-weight: bold;
}

@media (min-width: 992px) {
    .feedback-section {
        flex-direction: row;
        justify-content: space-around;
        padding: 80px 10%;
        align-items: stretch; 
    }

    .feedback-container,
    .reviews-container {
        width: 45%;
        max-width: none;
        margin: 0;
    }
}

/* Responsive para feedback section en móviles */
@media (max-width: 768px) {
    .feedback-section {
        padding: 40px 4%;
        gap: 25px;
        min-height: auto;
    }
    
    .feedback-container {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }
    
    .feedback-container h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    .reviews-container {
        width: 100%;
        max-width: 100%;
    }
    
    .reviews-container h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .feedback-section {
        padding: 30px 3%;
        gap: 20px;
    }
    
    .feedback-container {
        width: 100%;
        padding: 20px 15px;
    }
    
    .feedback-container h2 {
        font-size: 1.4em;
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.95em;
    }
    
    .feedback-form input[type="text"],
    textarea#feedbackMessage {
        font-size: 0.9em;
        padding: 10px 12px;
    }
    
    button#btnEnviar {
        padding: 10px 20px;
        font-size: 0.95em;
        width: 100%;
        align-self: stretch;
    }
    
    .reviews-container {
        width: 100%;
    }
    
    .reviews-container h3 {
        font-size: 1.4em;
    }
    
    .review-list {
        padding: 10px;
        max-height: 280px;
    }
}

@media (max-width: 360px) {
    .feedback-section {
        padding: 25px 2%;
        gap: 15px;
    }
    
    .feedback-container {
        padding: 15px 12px;
    }
    
    .feedback-container h2 {
        font-size: 1.3em;
    }
    
    .reviews-container h3 {
        font-size: 1.3em;
    }
}
/* Estilos para la página scooters.html */
body.scooters-page {
    background-image: url('../img/chile.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body.scooters-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(20, 30, 50, 0.85) 100%);
    z-index: -1;
}

.cont-1 {
    padding-top: 25vh;
    min-height: 80vh;
    background-color: transparent;
    color: white;
    text-align: center;
    position: relative;
}

.scooter-selection-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 3vh;
}

.scooter-selection-container h1 {
    font-size: 3em;
    margin-bottom: 4vh;
}

.scooter-selection-container p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ccc;
}

.comuna-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.comuna-card {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.comuna-card:hover {
    transform: scale(1.05);
}

.comuna-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
    filter: brightness(0.7);
}

.comuna-card:hover img {
    filter: brightness(1.0);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
}

.card-overlay h2 {
    margin: 0;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.comuna-info-display {
    border: none;
    border-radius: 15px;
    min-height: 400px;
    padding: 0;
    background: transparent;
    text-align: left;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.banner-seleccion-comuna {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(25, 35, 55, 0.98) 0%, rgba(35, 45, 70, 0.98) 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(100, 180, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(100, 181, 255, 0.1);
}

.banner-seleccion-comuna::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #64b5ff 0%, #00d4ff 50%, #64b5ff 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.banner-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.banner-icon {
    font-size: 5rem;
    color: #64b5ff;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 30px rgba(100, 181, 255, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.banner-seleccion-comuna h3 {
    color: #64b5ff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(100, 181, 255, 0.4);
}

.banner-text {
    color: #e0e0e0;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.comuna-info-display h3#display-title {
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

#scooter-list-content {
    padding: 20px;
}

.comuna-info-display:has(#scooter-list-content:not(:empty)) #banner-seleccion {
    display: none;
}

.comuna-info-display #scooter-list-content p {
    text-align: center;
}

@media (max-width: 768px) {
    .cont-1 {
        padding-top: 20vh;
        min-height: 75vh;
    }
    
    .scooter-selection-container {
        padding-top: 2.5vh;
    }
    
    .banner-seleccion-comuna {
        padding: 40px 20px;
        min-height: 300px;
    }
    
    .banner-icon {
        font-size: 4rem;
    }
    
    .banner-seleccion-comuna h3 {
        font-size: 2rem;
    }
    
    .banner-text {
        font-size: 1.1rem;
    }
    
    body.scooters-page {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .cont-1 {
        padding-top: 10vh;
        min-height: 70vh;
    }
    
    .scooter-selection-container {
        padding-top: 2vh;
    }
    
    .banner-seleccion-comuna {
        padding: 30px 15px;
        min-height: 250px;
    }
    
    .banner-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .banner-seleccion-comuna h3 {
        font-size: 1.8rem;
    }
    
    .banner-text {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .comuna-card {
        width: 90%;
        max-width: 400px;
    }
}

/* INICIO: Estilos de la Tarjeta de Scooter (Horizontal por Defecto) */
.scooter-info-card {
    background-color: #2b2b2b; 
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: white;
    width: 800px; 
    max-width: 95%; 
    display: flex; 
    flex-direction: row;
    min-height: 250px; 
    overflow: hidden;
    margin: 20px auto; 
    padding: 0;
}

.scooter-img-container {
    width: 25%; 
    min-width: 180px;
    border-radius: 5px;
    padding: 15px; 
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center; 
    justify-content: center; 
    background-color: #ffffff;
}

.scooter-img-container img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    display: block;
    border-radius: 4px;
}


.info-vertical {
    flex-direction: column;
    padding: 15px;
    width: 25%; 
    background-color: #2b2b2b;
    padding-bottom: 5px; 
    display: flex;
    justify-content: space-between;
}

.num-serie {
    font-size: 1.5em;
    color: white;
    text-align: center;
    margin-bottom: 40px; 
    margin-top: 5px; 
}

.num-serie strong {
    color: #007bff;
}

.reporte {
    width: 100%;
    text-align: center;
    padding-bottom: 35px; 
}

.reporte .btn-reportar {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    width: 100%; 
}

.reporte .btn-reportar:hover {
    background-color: #680711;
}

/* Contenedor para Estado y Batería */
.info-estado { 
    width: 25%; /* Mantenemos el ancho en escritorio */
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-right: 1px solid #333;
    background-color: #2b2b2b; 
    font-size: 12px;
}

.estado-bateria {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.estado-scooter,
.bateria-scooter {
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0; 
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    flex-grow: 0; 
    margin: 0; 
}

.status {
    padding: 10px 0; 
    border-radius: 4px;
    font-weight: bold;
    margin: 0; 
    width: 100%; 
    text-align: center;
}

.status-Disponible {
    background-color: #28a745; 
    color: white;
}

.status-BateriaBaja{
    background-color: #ffc107;
    color: #333;
}

.status-EnUso{
    background-color: #007bff;
    color: white;
}

.status-EnMantenimiento {
    background-color: #dc3545;
    color: white;
}

.bateria{
    background-color: white;
    color: #333;
}


.ubicacion-scooter {
    width: 25%; 
    padding: 15px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2b2b2b;
}

.ubicacion-scooter iframe {
    width: 100%;
    height: 100%; 
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #333; 
}




@media (max-width: 768px) {
    .scooter-info-card {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        min-height: 200px;
        flex-wrap: nowrap;
    }
    
    .scooter-img-container {
        width: 20%;
        min-width: 100px;
        height: 200px;
        padding: 10px;
    }
    
    .info-vertical {
        width: 20%;
        min-width: 100px;
        padding: 10px;
        flex-direction: column;
        justify-content: space-between;
        border-bottom: none;
    }
    
    .num-serie {
        font-size: 1.1em;
        margin-bottom: 20px;
        margin-top: 5px;
    }
    
    .reporte {
        width: 100%;
        padding: 0;
        padding-bottom: 10px;
    }
    
    .reporte .btn-reportar {
        padding: 8px 12px;
        font-size: 0.85em;
        width: 100%;
    }
    
    .info-estado {
        width: 25%;
        min-width: 90px;
        padding: 15px 10px;
        border-right: 1px solid #333;
        border-bottom: none;
    }
    
    .info-estado .estado-bateria {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .estado-scooter,
    .bateria-scooter {
        width: 100%;
        padding: 6px 4px;
        font-size: 10px;
    }
    
    .ubicacion-scooter {
        width: 35%;
        min-width: 140px;
        height: 200px;
        padding: 10px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .ubicacion-scooter iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 180px !important;
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    .scooter-info-card {
        min-height: 180px;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .scooter-img-container {
        width: 18%;
        min-width: 80px;
        height: 180px;
        padding: 8px;
    }
    
    .info-vertical {
        width: 22%;
        min-width: 90px;
        padding: 8px;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .num-serie {
        font-size: 1em;
        margin-bottom: 15px;
        margin-top: 5px;
    }
    
    .reporte {
        width: 100%;
        padding: 0;
        padding-bottom: 5px;
    }
    
    .reporte .btn-reportar {
        width: 100%;
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .info-estado {
        width: 25%;
        min-width: 80px;
        padding: 10px 8px;
        border-right: 1px solid #333;
    }
    
    .info-estado .estado-bateria {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .estado-scooter,
    .bateria-scooter {
        width: 100%;
        padding: 5px 3px;
        font-size: 9px;
    }
    
    .ubicacion-scooter {
        width: 35%;
        min-width: 120px;
        height: 180px;
        padding: 8px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .ubicacion-scooter iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 160px !important;
        display: block !important;
        visibility: visible !important;
    }
}



#scooterModal {
    background-color: #2b2b2b; 
    color: white;
    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    width: 900px; 
    max-width: 90%; 
    padding: 30px;
}

#scooterModal::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px); 
}

#scooterModal h2 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}


#contenedor-tarjetas {

    display: flex;
    flex-direction: column; 
    gap: 15px;
    max-height: 60vh; 
    overflow-y: auto; 
    padding-right: 10px; 
}

.footer-modal {
    text-align: right;
    padding-top: 20px;
}

.footer-modal button {
    background-color: #333;
    color: white;
    border: 1px solid #555;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, border-color 0.2s;
}

.footer-modal button:hover {
    background-color: #444;
    border-color: #777;
}


@media (max-width: 768px) {
    #scooterModal {
        width: 95%; 
        padding: 15px;
        max-height: 90vh; 
        overflow-y: auto;
        overflow-x: auto;
    }
    
    #scooterModal h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    #contenedor-tarjetas {
        max-height: none;
        overflow-y: visible;
        overflow-x: visible;
    }
    
    .scooter-info-card {
        overflow-x: visible;
    }
    
    .footer-modal {
        text-align: center;
        padding-top: 15px;
    }
    
    .footer-modal button {
        width: 100%;
    }
}


/*Estilos para modal de reportes*/

#reportModal {
    border: none;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 95%; 
    width: 500px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    background-color: #222;
    color: white;
}

#reportModal::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

#reportModal h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    color: white;
}
        

#reportModal #reportScooterSpan {
    color: #007bff; 
    font-weight: Arial, sans-serif;
}

#reportModal #comunaNombre {
    color: #007bff; 
    font-weight: Arial, sans-serif;
}

#reportModal textarea {
    width: 100%;
    height: 120px;
    background-color: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}
        
        
#reportModal .footer-reportModal {
    display: flex;
    justify-content: space-between; 
    margin-top: 1vh;
}
        
.btn-footerReport{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-weight: 600 !important;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
}
        
#btnEnviar {
    background-color: #007bff; 
}
#btnEnviar:hover {
    background-color: #0056b3;
}
        
#btnCancelar {
    background-color: #6b7280;
}
#btnCancelar:hover {
    background-color: #4b5563;
}

label {
    padding-bottom: 10px !important;
}  

@media (max-width: 576px) {
    .box-boton-scooter {
        flex-direction: column; 
        gap: 10px; 
        margin: 5vh 0 10vh 0;
        text-align: center;
    }
    
    .box-boton-scooter p {
        margin-bottom: 0; 
    }

    

}

/*footer*/
footer p.text-light.fs-4 {
    color: #007bff !important;
}

@media (max-width: 710px) {
.row {
    flex-direction: column;
}

.col-4.text-center{
width: 100%;
} 

.col-4 {
    width: 100%;
}
.ms-5 {
    margin-left: 0% !important;
}

.text-center{
    text-align: left !important;
}
}


/* Estilos para la página informacion.html */
body.informacion-page {
    background-image: url('../img/grupo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body.informacion-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 30, 50, 0.8) 100%);
    z-index: -1;
}

/* Estilos para la página finanzas.html */
body.finanzas-page {
    background-image: url('../img/finanzas.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body.finanzas-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 30, 50, 0.8) 100%);
    z-index: -1;
}

.separador {
    height: 12vh;
    min-height: 80px;
}

.container-informacion {
    padding: 2vh 20px;
    padding-top: 4vh;
    max-width: 1400px;
    margin: 0 auto;
}

.tarjeta-info {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 25, 35, 0.98) 100%);
    padding: 45px;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tarjeta-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff 0%, #00d4ff 50%, #007bff 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.tarjeta-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.3), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tarjeta-info h1 {
    color: #4da6ff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #007bff 0%, #00d4ff 100%) 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.tarjeta-info h2 {
    color: #66b3ff;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.tarjeta-info p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 400;
}

@media (min-width: 992px) {
    .tarjeta-info {
        padding: 50px;
    }
    
    .tarjeta-info p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .separador {
        height: 10vh;
        min-height: 70px;
    }
    
    .container-informacion {
        padding: 1.5vh 10px;
        padding-top: 3vh;
    }
    
    .tarjeta-info {
        padding: 30px 20px;
        margin: 30px 10px;
        border-radius: 15px;
    }
    
    .tarjeta-info h1 {
        font-size: 2rem;
    }
    
    .tarjeta-info h2 {
        font-size: 1.4rem;
    }
    
    .tarjeta-info p {
        font-size: 1.05rem;
    }
    
    body.informacion-page {
        background-attachment: scroll;
    }
    
    body.contacto-page {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .separador {
        height: 8vh;
        min-height: 60px;
    }
    
    .container-informacion {
        padding: 1vh 10px;
        padding-top: 2.5vh;
    }
}

/*ESTILOS CONTACTO*/

body.contacto-page {
    background-image: url('../img/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body.contacto-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 30, 50, 0.8) 100%);
    z-index: -1;
}

/* Estilos para la página reportes.html */
body.reportes-page {
    background-image: url('../img/reportesfondo.png.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body.reportes-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 30, 50, 0.8) 100%);
    z-index: -1;
}

:root {
    --color-primary: #0075d4; 
    --color-card-bg: #222222; 
}


.contenedor-info {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-top: 20vh; 
    padding: 20px 0; 
    width: 100%; 
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
}


.contenedor-ubicacion,
.contenedor-redes {
    background-color: rgba(34, 34, 34, 0.85); 
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px; 
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 123, 255, 0.3);
    flex: 1; 
    min-width: 300px; 
    margin: 0 15px 30px 15px; 
    backdrop-filter: blur(5px);
}

/* Contenedor responsivo para el iframe */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* Ratio 4:3 para el mapa */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 15px;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contenedor-ubicacion h2 {
    color: var(--color-primary); 
    font-size: 2rem; 
    font-weight: 700;
    margin-bottom: 20px;
}

.contenedor-redes h1 {
    color: var(--color-primary); 
    font-size: 2rem; 
    font-weight: 700;
    margin-bottom: 25px;
    
}

.contenedor-redes h2 {
    color: #cccccc; 
    font-size: 1.1rem; 
    font-weight: 500;
    margin-bottom: 15px; 
}

.contenedor-redes h2 a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600; 
}

.contenedor-redes h2 a:hover {
    color: white;
}


.sede {
    overflow: hidden;
    padding-bottom: 75%; 
    position: relative;
    height: 0;
    border-radius: 8px; 
    border: 1px solid #4a4a4a;
}

@media (max-width: 991px) {
    .contenedor-info {
        flex-direction: column; 
        align-items: center;
        margin-top: 15vh;
        padding: 15px;
    }
    
    .contenedor-ubicacion,
    .contenedor-redes {
        width: 90%; 
        max-width: 600px;
        margin-left: 0; 
        margin-right: 0;
        padding: 25px;
    }
}

/* Media queries para tablets y móviles */
@media (max-width: 768px) {
    .contenedor-info {
        margin-top: 12vh;
        padding: 10px;
    }
    
    .contenedor-ubicacion,
    .contenedor-redes {
        width: 95%;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .contenedor-ubicacion h2,
    .contenedor-redes h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .contenedor-redes h2 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .iframe-container {
        padding-bottom: 75%;
    }
}

@media (max-width: 480px) {
    .contenedor-info {
        margin-top: 10vh;
        padding: 5px;
    }
    
    .contenedor-ubicacion,
    .contenedor-redes {
        width: 100%;
        padding: 15px;
        margin: 0 0 15px 0;
        border-radius: 8px;
    }
    
    .contenedor-ubicacion h2,
    .contenedor-redes h1 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .contenedor-redes h2 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .iframe-container {
        padding-bottom: 75%;
        margin-top: 10px;
    }
    
    body.contacto-page {
        background-attachment: scroll;
    }
}




/*Clase para el li de respuesta al no haber registros leibles*/

.noComents{
    color: red;
    font-size: 17px;
}

.noReports{
    color: #007bff;
    font-size: 20px;
}

/*banner con el boton hacia los scooters*/

.scooter-promo-banner {
    width: 100%;
    min-height: 62vh;
    background-image: url('../img/bannerscooters.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 60px 20px;
    margin-top: 17vh;
}

.promo-content {
    padding: 30px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.scooter-promo-banner h1 {
    color: white; 
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.custom-promo-btn {
    background-color: #0676d1; 
    border-color: #0676d1; 
    padding: 15px 30px;
    font-size: 1.25rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-promo-btn:hover {
    background-color: #0676d1; 
    border-color: #0676d1; 
}

/* Responsive para scooter promo banner en móviles */
@media (max-width: 768px) {
    .scooter-promo-banner {
        min-height: 350px;
        padding: 40px 15px;
    }
    
    .promo-content {
        padding: 15px;
        max-width: 100%;
        width: 100%;
        gap: 20px;
    }
    
    .scooter-promo-banner h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .custom-promo-btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: auto;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .scooter-promo-banner {
        min-height: 300px;
        padding: 30px 10px;
    }
    
    .promo-content {
        padding: 10px;
        gap: 15px;
    }
    
    .scooter-promo-banner h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .custom-promo-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .scooter-promo-banner {
        min-height: 250px;
        padding: 25px 8px;
    }
    
    .scooter-promo-banner h1 {
        font-size: 1.5rem;
    }
    
    .custom-promo-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


@media (min-width: 835px) {
    .navbar-expand-sm {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }
}


.background-report {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.85) 100%);
    margin: 20px;
    margin-top: 20vh;
    min-height: calc(100vh - 200px);
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 180px 40px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.report-info {
    margin-bottom: 40px;
}

.report-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(21, 112, 230, 0.3);
    margin-bottom: 30px;
}

.report-info h1 {
    color: rgb(21, 112, 230);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(21, 112, 230, 0.3);
}

.report-info h1 i {
    font-size: 2.5rem;
    color: rgb(21, 112, 230);
}

.report-info p {
    color: #cccccc;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contenedor-tarjetas-report {
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
}


.contenedor-tarjetas-report .review-list {
    max-height: 65vh;
    overflow-y: auto;
    padding: 20px;
    padding-right: 10px;
    background-color: transparent;
    border-radius: 8px;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.contenedor-tarjetas-report .review-list::-webkit-scrollbar {
    width: 8px;
}

.contenedor-tarjetas-report .review-list::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 10px;
}

.contenedor-tarjetas-report .review-list::-webkit-scrollbar-thumb {
    background: rgb(21, 112, 230);
    border-radius: 10px;
}

.contenedor-tarjetas-report .review-list::-webkit-scrollbar-thumb:hover {
    background: rgb(25, 130, 255);
}


.contenedor-tarjetas-report .review-block {
    background: linear-gradient(135deg, #2b2b2b 0%, #333 100%);
    border: 1px solid #444;
    border-left: 4px solid rgb(21, 112, 230);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contenedor-tarjetas-report .review-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(21, 112, 230) 0%, rgb(25, 130, 255) 100%);
    transition: width 0.3s ease;
}

.contenedor-tarjetas-report .review-block:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(21, 112, 230, 0.2);
    border-color: #555;
}

.contenedor-tarjetas-report .review-block:hover::before {
    width: 6px;
}

.contenedor-tarjetas-report .review-block .review-meta {
    color: #aaa;
    font-size: 0.95em;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contenedor-tarjetas-report .review-block .review-meta strong {
    color: #fff;
    font-weight: 600;
}

.contenedor-tarjetas-report .review-block .review-meta strong:first-child {
    color: rgb(21, 112, 230);
    font-size: 1.05em;
}

.contenedor-tarjetas-report .review-block .review-meta strong:nth-child(2) {
    color: #4CAF50;
}

.contenedor-tarjetas-report .review-block .review-date {
    color: rgb(21, 112, 230);
    font-weight: 600;
    background-color: rgba(21, 112, 230, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    margin-left: auto;
}

.contenedor-tarjetas-report .review-block .review-text {
    color: #e0e0e0;
    font-size: 1.05em;
    margin: 0;
    line-height: 1.6;
    padding-left: 5px;
}

/* Mensaje cuando no hay reportes */
.contenedor-tarjetas-report .noReports {
    color: rgb(21, 112, 230);
    font-size: 1.3rem;
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(21, 112, 230, 0.05);
    border: 2px dashed rgba(21, 112, 230, 0.3);
    border-radius: 10px;
    font-weight: 500;
}

/* Responsive para reportes */
@media (max-width: 768px) {
    body.reportes-page {
        background-attachment: scroll;
    }
    
    .background-report {
        margin: 10px;
        padding: 140px 15px 20px 15px;
        border-radius: 12px;
        margin-top: 15vh;
        min-height: calc(100vh - 150px);
    }

    .report-info h1 {
        font-size: 2rem;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .report-info h1 i {
        font-size: 1.8rem;
    }

    .report-info p {
        font-size: 0.95rem;
    }

    .contenedor-tarjetas-report {
        padding: 10px;
        max-width: 100%;
    }

    .contenedor-tarjetas-report .review-list {
        padding: 10px;
        gap: 12px;
        max-height: calc(100vh - 350px);
        min-height: 300px;
    }

    .contenedor-tarjetas-report .review-block {
        padding: 12px 15px;
        min-width: 0;
    }

    .contenedor-tarjetas-report .review-block .review-meta {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        font-size: 0.85em;
    }

    .contenedor-tarjetas-report .review-block .review-meta strong:first-child {
        font-size: 0.95em;
    }

    .contenedor-tarjetas-report .review-block .review-date {
        margin-left: auto;
        font-size: 0.8em;
        padding: 3px 8px;
    }

    .contenedor-tarjetas-report .review-block .review-text {
        font-size: 0.9em;
        line-height: 1.5;
        padding-left: 3px;
    }
}

@media (max-width: 480px) {
    .background-report {
        margin: 8px;
        padding: 120px 10px 15px 10px;
        margin-top: 12vh;
    }

    .report-info h1 {
        font-size: 1.6rem;
        gap: 8px;
    }

    .report-info h1 i {
        font-size: 1.5rem;
    }

    .report-info p {
        font-size: 0.85rem;
    }

    .contenedor-tarjetas-report {
        padding: 8px;
    }

    .contenedor-tarjetas-report .review-list {
        padding: 8px;
        gap: 10px;
        max-height: calc(100vh - 320px);
    }

    .contenedor-tarjetas-report .review-block {
        padding: 10px 12px;
    }

    .contenedor-tarjetas-report .review-block .review-meta {
        font-size: 0.8em;
        gap: 5px;
    }

    .contenedor-tarjetas-report .review-block .review-meta strong:first-child {
        font-size: 0.9em;
    }

    .contenedor-tarjetas-report .review-block .review-date {
        font-size: 0.75em;
        padding: 2px 6px;
    }

    .contenedor-tarjetas-report .review-block .review-text {
        font-size: 0.85em;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .background-report {
        padding: 110px 8px 12px 8px;
        margin: 5px;
    }

    .report-info h1 {
        font-size: 1.4rem;
    }

    .report-info p {
        font-size: 0.8rem;
    }

    .contenedor-tarjetas-report .review-list {
        max-height: calc(100vh - 300px);
        padding: 6px;
    }

    .contenedor-tarjetas-report .review-block {
        padding: 8px 10px;
    }

    .contenedor-tarjetas-report .review-block .review-meta {
        font-size: 0.75em;
    }

    .contenedor-tarjetas-report .review-block .review-text {
        font-size: 0.8em;
    }
}