/* Beautiful Withdrawal Cards Styles */

.withdrawal-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.withdrawal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.withdrawal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.withdrawal-card:hover::before {
    transform: translateX(100%);
}

.withdrawal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.withdrawal-card-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.withdrawal-card-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-failed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.withdrawal-card-body {
    color: rgba(255, 255, 255, 0.9);
}

.withdrawal-amount {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.withdrawal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.withdrawal-detail {
    display: flex;
    flex-direction: column;
}

.withdrawal-detail-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.withdrawal-detail-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.withdrawal-address {
    font-family: 'Courier New', monospace;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .withdrawal-card {
        margin: 10px 0;
        padding: 15px;
    }
    
    .withdrawal-details {
        grid-template-columns: 1fr;
    }
    
    .withdrawal-amount {
        font-size: 20px;
    }
}

/* Animation for new cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.withdrawal-card.new {
    animation: slideInUp 0.5s ease-out;
}

/* Loading state */
.withdrawal-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.withdrawal-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
