/* ============================================
   ESTILOS DE MODAL
   ============================================ */

/* Container do modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

/* Conteúdo do modal */
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

/* Inputs dentro do modal */
.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.modal-content input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
}

/* Container de botões do modal */
.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modal-buttons .btn-save {
    background-color: #27ae60;
    color: white;
}

.modal-buttons .btn-save:hover {
    background-color: #229954;
}

.modal-buttons .btn-cancel {
    background-color: #e74c3c;
    color: white;
}

.modal-buttons .btn-cancel:hover {
    background-color: #c0392b;
}