body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.logo {
    display: block;
    width: 20%;
    height: 20%;
    margin: 0 auto 20px; /* Centra la imagen horizontalmente y agrega espacio inferior */
}


h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 20px;
}

label {
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    display: block;
}

.textarea-container {
    margin-bottom: 20px;
    text-align: center;
}

textarea {
    width: 100vh;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
    height: 150px;
    margin: 0 auto;
    display: block;
    margin-top: 20px;
    padding: 20px;
}

#charCount {
    color: #777;
    font-size: 12px;
    text-align: right;
    padding: 20px;
}

.channel-options {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.channel-options input[type="radio"] {
    display: none;
}

.channel-options label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50; /* Color verde */
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
    border-radius: 20px;
}

.channel-options input[type="radio"]:checked + label {
    background-color: #164a18; /* Color verde más oscuro al seleccionar */
}

button {
    background-color: #4CAF50; /* Color verde */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    border-radius: 20px;
}

button:hover {
    background-color: #388E3C; /* Color verde más oscuro al hacer hover */
}

@media (max-width: 1080px) {
    .container {
        padding: 15px;
    }

    .logo {
        width: 40%; /* Tamaño ajustado para dispositivos móviles */
        height: 40%;
        margin: 10px auto;
    }

    h1, p, label {
        font-size: 14px;
        text-align: justify;
        padding: 20px;

    }

    button {
        padding: 20px; /* Aumenta el padding para hacer los botones más grandes */
        font-size: 28px; /* Aumenta el tamaño de la fuente para los botones */
    }

    .rating-options label, .channel-options label {
        padding: 15px; /* Aumenta el padding para los botones de calificación */
        font-size: 28px; /* Ajusta el tamaño de la fuente para estos botones */
    }

    

    textarea {
        width: calc(100% - 7%); /* Ajuste para el ancho en móviles */
        margin-top: 20px;
    }
}

.progress-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente oscuro */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de otros elementos */
}

.progress-spinner {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Azul */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Animación de rotación */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Estilos para los círculos de calificación */
.rating-options {
    display: flex;
    justify-content: center; /* Centrar los círculos horizontalmente */
    margin-top: 10px;
}

.rating-options input[type="radio"] {
    display: none;
}

.rating-options label {
    display: inline-block;
    width: 80px; /* Ancho del círculo */
    height: 80px; /* Alto del círculo */
    text-align: center;
    line-height: 80px; /* Centra el número en el círculo */
    background-color: #4CAF50; /* Color del círculo (verde) */
    color: #fff;
    border-radius: 50%; /* Forma de círculo */
    cursor: pointer;
    margin-right: 10px; /* Espacio entre los círculos */
    transition: background-color 0.3s ease;
    font-size: 30px; /* Tamaño de fuente del número dentro del círculo */
}

.rating-options input[type="radio"]:checked + label {
    background-color: #164a18; /* Color del círculo cuando está seleccionado (verde oscuro) */
}