body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #20282F;
}

/* Barra superior */
.menu-bar {
    width: 100%;
    background: #E40040;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.title {
    color: white;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin-left: 10px;
}

.menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menú desplegable */
.menu {
    display: none;
    position: absolute;
    right: 10px;
    top: 50px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 150px;
    text-align: left;
    z-index: 100;
}

.menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #20282F;
    border-bottom: 1px solid #ddd;
}

.menu a:last-child {
    border-bottom: none;
}

.menu a:hover {
    background: #f0f0f0;
}

.show {
    display: block;
}

/* Contenedores principales */
.container, .configuracion {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 300px;
    margin-top: 20px;
}

/* Ocultar configuración al inicio */
.configuracion {
    display: none;
}

/* Espaciado entre botones en la fila superior */
.button-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.button-row button {
    flex: 1;
}

/* Estilos de los inputs y botones */
p {
    font-size: 14px;
    margin: 5px 0;
    text-align: left;
}

select, input, button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

/* Estilos para los botones */
.btn {
    background-color: #E40040;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background-color: #D30036;
}

button {
    background-color: #E40040;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #D30036;
}

#errorMessage {
    display: none;
    background-color: #E40040; /* Color de error */
    color: white; /* Texto en blanco */
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}
