.balance-container {
    height: 100%;
}

.balance-overview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header Section */
.balance-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.balance-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 600;
}

.balance-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.balance-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.balance-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.3);
}

.balance-card i {
    font-size: 24px;
    color: #4CAF50;
}

.balance-card:nth-child(2) i {
    color: #ff9800;
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.balance-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.balance-amount {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

/* Actions Section */
.balance-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.balance-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.section-header i {
    font-size: 18px;
    color: #4CAF50;
}

.balance-section:nth-child(2) .section-header i {
    color: #ff9800;
}

.section-header h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Quick Amount Buttons */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.amount-btn.deposit:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.amount-btn.withdraw:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
    transform: translateY(-2px);
}

/* Custom Amount Input */
.custom-amount {
    margin-top: 10px;
}

.custom-amount label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 14px;
}

.custom-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.custom-input:focus-within {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.balance-section:nth-child(2) .custom-input:focus-within {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.currency {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    font-size: 14px;
}

#custom-deposit,
#custom-withdraw {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    width: 100%;
    outline: none;
}

/* Action Buttons */
.action-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    margin-top: auto;
}

#submit-deposit {
    background: #4CAF50;
}

#submit-withdraw {
    background: #ff9800;
}

#submit-deposit:hover {
    background: #45a049;
    transform: translateY(-2px);
}

#submit-withdraw:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

.action-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

/* Error Message */
.deposit-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}



