body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #2c2c2c; /* Gris oscuro moderno */
    font-family: Arial, sans-serif;
    color: #f0f0f0; /* Texto claro para contraste */
}

.container {
    text-align: center;
}

.control-button {
    display: block;
    width: 90%;
    margin: 20px auto;
    padding: 24px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white; /* Asegura texto legible en botón */
}

#openButton {
    background-color: #4CAF50; /* Verde */
}

#closeButton {
    background-color: #f44336; /* Rojo */
}

.settings-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #f0f0f0; /* Claro para contraste */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Fondo semitransparente oscuro */
    padding-top: 60px;
}

.modal-content {
    background-color: #3a3a3a; /* Gris oscuro para modal */
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 8px;
    width: 80%;
    color: #f0f0f0; /* Texto claro */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.status-bar {
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    display: block;
    border-radius: 5px;
    background-color: #555; /* Gris medio */
    color: white;
}

.status-success {
    background-color: #4CAF50;
    color: white;
}

.status-error {
    background-color: #f44336;
    color: white;
}

.status-info {
    background-color: #2196F3;
    color: white;
}
