/* Wallet Page Styles */

.wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.icon-btn-back {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn-back:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(-2px);
}

.icon-btn-back svg {
    color: #8b5cf6;
}

.wallet-title {
    font-family: 'Jellee', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.wallet-content {
    padding: 1.5rem;
    padding-bottom: 100px;
    max-width: 600px;
    margin: 0 auto;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.coin-icon {
    margin: 0 auto 1rem;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.coin-icon svg {
    color: white;
}

.balance-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.balance-amount {
    font-family: 'Jellee', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.balance-inr {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.balance-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.action-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.action-btn svg {
    color: #8b5cf6;
}

.action-btn span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title svg {
    color: #8b5cf6;
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
}

.form-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.withdraw-info {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.withdraw-info p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.withdraw-info strong {
    color: #8b5cf6;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Pending Withdrawals */
.pending-section {
    margin-bottom: 1.5rem;
}

.pending-card {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.pending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pending-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
}

.status-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.pending-details {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.pending-details p {
    margin: 0.25rem 0;
}

/* Transaction History */
.history-section {
    margin-bottom: 1.5rem;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.transaction-item {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-info {
    flex: 1;
}

.transaction-type {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.transaction-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.transaction-amount {
    font-size: 1.125rem;
    font-weight: 700;
}

.transaction-amount.positive {
    color: #10B981;
}

.transaction-amount.negative {
    color: #EF4444;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
    .balance-amount {
        font-size: 2.5rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }
}