.login-wrapper {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
}

.login-box {
    width: 900px;
    background: #fff;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.login-col {
    padding: 40px;
}

.login-col h2 {
    margin-bottom: 20px;
}

.login-col input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.login-col button {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.login-col.register {
    background: #fafafa;
    text-align: center;
}

/* ===== MODAL CADASTRO ===== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* INPUTS DO MODAL */
.modal-content input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* BOTÃO */
.modal-content button {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.modal-content button:hover {
    background: #1ebe5d;
}

/* FECHAR */
.close {
    position: absolute;
    right: 15px;
    top: 12px;
    cursor: pointer;
    font-size: 22px;
}

/* MENSAGEM */
#msgCadastro {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}


@media (max-width: 768px) {
    .login-box {
        grid-template-columns: 1fr;
    }
}
