/* Balance Modal Styles */
.balance-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.balance-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 200px;
    position: relative;
}

.balance-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
}

.balance-modal-close:hover {
    color: #333;
}

.balance-modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.balance-modal .form-group {
    margin-bottom: 20px;
}

.balance-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.balance-modal input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.balance-modal input:focus {
    border-color: #4a90e2;
    outline: none;
}

.balance-modal .form-actions {
    margin-top: 25px;
    text-align: center;
}

.balance-modal .balance-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-orange);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.balance-modal .balance-btn:hover {
    background-color: #f35d4f;
}

.balance-modal .form-footer {
    margin-top: 20px;
    text-align: center;
    color: #666;
}

.balance-modal .form-footer a {
    color: #3860be;
    text-decoration: none;
}

.balance-modal .form-footer a:hover {
    text-decoration: underline;
}