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

.modal-overlay.active {
    display: flex;
    color: #d01f2e;
}

.modal-box {
    background: #111;
    padding: 30px 25px;
    border-radius: 12px;
    width: 75%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #3c3c3c;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: #d01f2e;
}

.modal-icon img {
    width: 150px;
    margin-bottom: 15px;
}

.modal-box h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.modal-box p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal-box form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 0.95rem;
    text-align: left;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.modal-box form input:focus {
    border-color: #3deb64;
    outline: none;
}

.modal-box .btn-submit {
    background: #3deb64;
    border: none; /* Remove qualquer borda */
    color: #000;
    font-weight: bold;
    padding: 12px 0;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.modal-box .btn-submit:hover {
    background: #34d459;
}


.modal-footer {
    margin-top: 15px;
    color: #aaa;
    font-size: 0.9rem;
}

.modal-footer a {
    color: #34d459;
    text-decoration: none;
}

/* Ajuste do checkbox + termos */
.checkbox-label {
    display: flex;
    align-items: center; /* Alinhamento vertical perfeito */
    gap: 8px;
    color: #ccc;
    font-size: 0.60rem;
    white-space: nowrap;
    margin: 8px 0 15px 0;
}

.checkbox-label a {
    color: #3deb64;
    font-weight: 500;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Checkbox circular refinado */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background: #222;
    border: 2px solid #333;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.checkbox-label input[type="checkbox"]:focus {
    border-color: #3deb64;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #34d459;
    border-color: #34d459;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #111;
    font-size: 10px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.password-warning {
    display: none;
    color: #d01f2e;
    font-size: 0.56rem;
    margin-top: 4px;
    text-align: left;
}




.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 40px; /* Espaço para o ícone */
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    top: 40%;
    transform: translateY(-50%); /* Centraliza verticalmente */
    cursor: pointer;
    font-size: 1.3rem;
    color: #aaa;
    transition: color 0.3s;
}

.password-wrapper .toggle-password:hover {
    color: #fff;
}



.deposito-modal .input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.deposito-modal .input-wrapper i {
    position: absolute;
    top: 40%;
    left: 12px;
    transform: translateY(-50%);
    color: #777;
    font-size: 1rem;
}

.deposito-modal .input-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 35px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
    font-size: 1rem;
}

.deposit-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.deposit-btn {
    background: #222;
    color: #3deb64;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-btn:hover,
.deposit-btn.active {
    background: #3deb64;
    color: #000;
}

