/*body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    transition: all 0.2s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    background-color: #0d6efd;
    color: white;
}

.form-range {
    cursor: pointer;
}*/
/* Estilos generales y fondo */
/* Estilos generales y fondo */
/* Estilos previos se mantienen igual hasta el sistema de calificación */

/* Sistema de calificación actualizado */
/* Estilos generales y fondo */
body {
    position: relative;
    background: linear-gradient(
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.3)
    ),
    url("https://cocobaleadas.com//public/uploads/1702507525_9264b678b7a54515157c.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px 0;
}

/* Contenedor principal */
.container {
    max-width: 100%;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Logo superior */
.header-logo {
    width: 180px;
    max-width: 80%;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Imagen del encabezado */
.header-image {
    width: 100%;
    height: auto;
    min-height: 100px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}


/* Tarjeta principal */
.card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: none;
    border-radius: 8px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.97);
    max-width: 800px;
    width: 95%;
}


/* Sistema de calificación */
.rating {
    display: flex;
    flex-direction: row-reverse; /* Volvemos a row-reverse para el orden correcto */
    justify-content: flex-end; /* Cambiamos a flex-end para alinear a la izquierda */
    gap: 10px;
    margin: 15px 0;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #495057;
    font-weight: 600;
    border: 2px solid #dee2e6;
    margin: 0;
    padding: 0;
}

/* Efectos hover y checked */
.rating label:hover {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
    transform: scale(1.1);
}

.rating label:hover ~ label {
    background-color: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
    transform: none;
}

.rating input:checked + label {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

/* Resto de estilos se mantienen igual... */

/* Media queries */
@media (max-width: 768px) {
    .card {
        width: 98%;
        margin: 10px auto;
    }
    
    .header-logo {
        width: 140px;
        margin: 15px auto;
    }
    
    .rating {
        gap: 8px;
    }
    
    .rating label {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px 0;
    }
    
    .header-logo {
        width: 120px;
    }
    
    .rating {
        gap: 5px;
    }
    
    .rating label {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

