.wallet-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Efektleri */
.wallet-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Arkaplan Işık Efekti */
.wallet-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 40%;
    background: linear-gradient(to left, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}

/* Logo Kutusu */
.bank-icon-box {
    width: 130px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.bank-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Bilgi Alanı */
.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Text taşmasını önler */
}

.iban-display {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    color: #e2e8f0;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Kopyala Butonu */
.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    flex-shrink: 0;
}
.action-btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
}
.action-btn:active { transform: scale(0.95); }

/* Mobil Düzenleme */
@media (max-width: 640px) {
    .wallet-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }
    .bank-icon-box { margin-bottom: 10px; }
    .action-btn { position: absolute; top: 20px; right: 20px; }
    .iban-display { font-size: 0.85rem; white-space: normal; word-break: break-all; }
    
    /* MOBİLDE KART DÜZENLEMESİ */
    .credit-card-wrap {
        margin-top: 40px;
        justify-content: center;
    }
    .credit-card {
        /* Mobilde kartın taşmasını engellemek için */
        width: 100% !important; 
        max-width: 310px !important;
        height: 220px !important; /* Orantılı yükseklik */
    }
    /* Kartın içindeki paddingleri mobilde biraz kısalım ki taşmasın */
    .credit-card .p-8 {
        padding: 1.5rem !important;
    }
}

/* 3D Kredi Kartı CSS (Responsive Güncellendi) */
.credit-card-wrap { perspective: 1000px; display: flex; justify-content: center; }

.credit-card {
    width: 100%; /* Sabit 380px yerine %100 */
    max-width: 380px; /* Maksimum genişlik sınırı */
    aspect-ratio: 1.58/1; /* Kredi kartı en/boy oranını koru */
    height: auto; /* Yükseklik otomatik */
    
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px; position: relative;
    transform-style: preserve-3d; transition: transform 0.6s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.credit-card:hover { transform: rotateY(10deg) rotateX(10deg); }
.card-shine {
    position: absolute; inset: 0; border-radius: 20px;
    background: linear-gradient(125deg, rgba(255,255,255,0.3) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.3) 100%);
    opacity: 0.5; pointer-events: none;
}
.neon-btn {
    background: transparent; color: #fff; border: 1px solid #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2), inset 0 0 10px rgba(59, 130, 246, 0.1);
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.5); transition: 0.3s;
}
.neon-btn:hover {
    background: #3b82f6; color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), inset 0 0 20px rgba(59, 130, 246, 0.4);
    text-shadow: 0 0 10px #fff; transform: translateY(-2px);
}

/* Toast Bildirim */
#toast {
    visibility: hidden; min-width: 250px; background-color: #10b981; color: #fff;
    text-align: center; border-radius: 50px; padding: 16px; position: fixed;
    z-index: 9999; left: 50%; bottom: 30px; transform: translateX(-50%);
    font-size: 15px; font-weight: bold; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    opacity: 0; transition: all 0.5s;
    display: flex; align-items: center; justify-content: center; gap: 8px; /* Hizalama eklendi */
}
#toast.show { visibility: visible; opacity: 1; bottom: 50px; }