/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Botão para abrir o modal */
.open-modal-btn {
    border: none;
    cursor: pointer;
}

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

/* Caixa do modal */
.modal-box {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* Botão de fechar */
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: none;
}

/* Estilização do formulário */
.modal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.modal-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.modal-form a {
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal-form a:hover {
    color: white;
}

/* Responsividade */
@media (max-width: 480px) {
    .modal-box {
        width: 95%;
    }
    .open-modal-btn {
        padding: 5px;
        margin: 5px;
    }
}
