/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Fondo */
body {
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor */
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Título */
.container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Inputs */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Botón principal */
.btn {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #27ae60;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Caja modal */
.modal {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 320px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modal h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.modal p {
    margin-bottom: 20px;
    color: #555;
}

/* Botones modal */
.modal-buttons {
    display: flex;
    gap: 10px;
}

.btn-cancel {
    flex: 1;
    padding: 10px;
    background: #bdc3c7;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-confirm {
    flex: 1;
    padding: 10px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-confirm:hover {
    background: #27ae60;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
}