/* Wallet Component Styles */
.wallet-balance-card {
    background: linear-gradient(135deg, #667eea 0%, var(--main-color) 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-amount h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: #f6f9fc !important;
}

.balance-amount p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.balance-actions {
    display: flex;
    gap: 1rem;
}

.btn-topup, .btn-withdraw {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-topup:hover, .btn-withdraw:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pending-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-stats .row {
    margin-top: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
}

.stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.stat-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.transaction-item, .transaction-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.transaction-item:last-child, .transaction-row:last-child {
    border-bottom: none;
}

.transaction-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.transaction-details, .transaction-info {
    flex: 1;
}

.transaction-details h6, .transaction-info h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.transaction-meta {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.transaction-amount {
    font-weight: 600;
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.status-completed { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-failed { background: #f8d7da; color: #721c24; }
.status-processing { background: #cce7ff; color: #004085; }

.withdrawal-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.withdrawal-info {
    flex: 1;
}

.bank-details {
    margin-top: 0.5rem;
}

.withdrawal-amount {
    text-align: right;
}

.withdrawal-amount .amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Payment Gateway Styles */
.payment-gateway-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.gateway-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.payment-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gateway-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.gateway-option:hover {
    border-color: #007bff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.gateway-option .form-check {
    margin: 0;
}

.gateway-option .form-check-input:checked ~ .form-check-label {
    color: #007bff;
}

.gateway-option .form-check-input:checked ~ .form-check-label {
    font-weight: 600;
}

.gateway-logo {
    max-height: 30px;
    max-width: 80px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Enhanced Payment Options Styles */
.payment-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.payment-section-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #007bff;
}

.payment-method.selected {
    border-color: #007bff;
    background: #f0f8ff;
}

.payment-method .form-check {
    margin: 0;
}

.payment-method .form-check-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.payment-method .form-check-label i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: #007bff;
}

.wallet-balance {
    display: block;
    font-size: 0.8rem;
    color: #28a745;
    margin-top: 0.25rem;
    font-weight: 400;
}

.gift-card-input, .combined-options, .gift-card-combined-input {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    display: none;
}

.gift-card-input.active, .combined-options.active, .gift-card-combined-input.active {
    display: block;
}

.gift-card-input .form-control {
    margin-bottom: 0.5rem;
}

.gift-card-input .btn {
    width: 100%;
}

.combined-options .form-check {
    margin-bottom: 0.75rem;
}

/* Enhanced Checkout Styles */
.checkout-container .section-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.delivery-option, .payment-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.delivery-option:hover, .payment-option:hover {
    border-color: #007bff;
}

.delivery-option.selected, .payment-option.selected {
    border-color: #007bff;
    background: #f0f8ff;
}

.delivery-option .form-check-label, .payment-option .form-check-label {
    cursor: pointer;
    width: 100%;
}

.delivery-option .amount {
    font-weight: 600;
    color: #007bff;
}

/* Skeleton Styles */
.wallet-skeleton .skeleton-card {
    background: #f8f9fa;
    border-radius: 15px;
    height: 150px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-tabs {
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-content {
    height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
}

.skeleton-title {
    height: 30px;
    width: 200px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .balance-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .balance-actions {
        justify-content: center;
    }

    .payment-gateways {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        gap: 0.75rem;
    }
    
    .gateway-option, .payment-method {
        padding: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-info h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .wallet-balance-card {
        padding: 1.5rem;
    }
    
    .balance-amount h3 {
        font-size: 2rem;
    }
    
    .btn-topup, .btn-withdraw {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .transaction-item, .transaction-row, .withdrawal-row {
        padding: 0.75rem;
    }
}