/*------------------------------comentarios----------------------------*/

.comContainer { 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    max-width: 1200px; 
    margin: 0 auto; 
}

h2 {
    color: #1c1948;
    text-align: center;
    margin-bottom: 1.5rem;
}

#comOpiniones {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 10px;
    margin: 20px 0;
    scroll-behavior: smooth;
}

#comOpiniones::-webkit-scrollbar {
    height: 8px;
    background-color: #f5f5f5;
}

#comOpiniones::-webkit-scrollbar-thumb {
    background: #1c1948;
    border-radius: 10px;
}

#comOpiniones::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.comOpinion { 
    background: #fff; 
    padding: 1.5rem; 
    border-radius: 12px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    min-width: 300px; 
    max-width: 350px; 
    flex-shrink: 0; 
    transition: transform 0.3s ease;
}

.comOpinion:hover { 
    transform: translateY(-5px); 
}

.comEstrellas { 
    color: #ffd700; 
    font-size: 1.4rem; 
    margin-bottom: 1rem;
}

#comFormContainer {
    display: none;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

input, textarea {
    width: 90%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input:focus, textarea:focus {
    border-color: #1c1948;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(28, 25, 72, 0.1);
}

.comRating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 1.5rem 0;
}

.comRating span {
    font-size: 32px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comRating span.comActive,
.comRating span:hover {
    color: #FFD700;
    transform: scale(1.1);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.comBoton {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #1c1948, #2a2766);
    color: white;
}

.comBoton:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 25, 72, 0.3);
}

.cancel-btn {
    background: #f8f9fa;
    color: #1c1948;
    border: 2px solid #e0e0e0;
}

@media (max-width: 768px) {
    .comContainer1 {
        padding: 1rem;
        margin: 10px;
    }
    
    #comOpiniones {
        gap: 15px;
    }
    
    .comOpinion {
        min-width: 280px;
        padding: 1rem;
    }
}
/*------------------------------comentarios----------------------------*/
