body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f1eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Asegura que el cuerpo ocupe toda la altura de la pantalla */
    margin: 0;
    color: #12372a;
    padding: 0; /* Elimina cualquier padding adicional */
    box-sizing: border-box; /* Asegura que el padding no afecte el tamaño total */
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #12372a;
    text-align: center;
}

.subtitle {
    font-style: italic;
    color: #1b5742;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.form-container {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Ajusta el ancho máximo para dispositivos móviles */
    width: 100%;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box; /* Asegura que el padding no afecte el tamaño total */
}

.form-container h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #12372a;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    margin-bottom: 20px;
    cursor: pointer;
}

.star {
    color: #ccc;
    transition: color 0.2s;
}

.star.hovered,
.star.selected {
    color: #f8b400;
}

input,
textarea {
    width: 90%;
    padding: 12px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #12372a;
    background-color: #f9f9f9;
}

textarea {
    resize: none;
}

button {
    width: 100%;
    padding: 12px 20px;
    background-color: #1b5742;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #144733;
    transform: scale(1.05);
}

.footer {
    margin-top: 10px;
    font-size: 15px;
    text-align: center;
}

.footer b {
    font-weight: bold;
    color: #12372a;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px; /* Ajusta el tamaño máximo del logo */
    height: auto; /* Mantiene la proporción del logo */
}

/* Media Queries para dispositivos móviles */
@media (max-width: 480px) {
    body {
        padding: 15px; /* Espaciado interno para evitar bordes pegados */
    }

    h1 {
        font-size: 24px;
    }

    .form-container {
        padding: 15px;
        border-radius: 10px;
    }

    .form-container h2 {
        font-size: 16px;
    }

    .rating-stars {
        font-size: 20px;
        gap: 8px;
    }

    input,
    textarea {
        font-size: 13px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        padding: 10px 15px;
    }

    .footer {
      margin-top: 25px;
    }
}