

.balance-page {
    padding: 20px;
    min-height: 100vh;
}


.balance-header {
    background: rgba(20, 25, 45, 0.6);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.balance-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 400;
}

.balance-display-amount {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-currency {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.balance-usd {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}


.balance-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.balance-tab {
    flex: 1;
    padding: 12px 20px;
    background: rgba(20, 25, 45, 0.4);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.balance-tab:hover {
    background: rgba(74, 158, 255, 0.15);
}

.balance-tab.active {
    background: linear-gradient(135deg, #4a9eff, #667eea);
    color: #ffffff;
    border-color: rgba(74, 158, 255, 0.5);
}


.balance-content {
    background: rgba(20, 25, 45, 0.6);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-input {
    padding: 14px 16px;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:disabled {
    background: rgba(20, 25, 45, 0.5);
    cursor: not-allowed;
}


.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}


.withdraw-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.info-icon {
    font-size: 18px;
}


.withdraw-button {
    padding: 16px 24px;
    background: linear-gradient(135deg, #4a9eff, #667eea);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.withdraw-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.4);
}

.withdraw-button:active {
    transform: translateY(0);
}

.withdraw-button:disabled {
    background: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
}


.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    padding: 16px;
    background: rgba(20, 25, 45, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-amount {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.history-status {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.history-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.history-status.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.history-status.rejected {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.history-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.history-wallet {
    word-break: break-all;
    font-family: 'Courier New', monospace;
}

.history-date {
    color: rgba(255, 255, 255, 0.6);
}


.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.empty-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}


.wallet-status {
    padding: 12px 16px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    color: #ffc107;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.wallet-status.connected {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}
