body {
    background-color: #f4f6f9;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bakiye-alacakli {
    color: #198754;
    font-weight: 600;
}

.bakiye-borclu {
    color: #dc3545;
    font-weight: 600;
}

.bakiye-notr {
    color: #6c757d;
    font-weight: 600;
}

.table-hover tbody tr {
    cursor: pointer;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Müşteri listesi - dikey liste görünümü */
.musteri-liste-kart {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 30, 60, 0.07);
}

.musteri-satir {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-bottom: 1px solid #eef0f4;
    transition: background-color 0.15s ease;
}

.musteri-satir:last-child {
    border-bottom: none;
}

.musteri-satir:hover {
    background-color: #f8f9fc;
}

.musteri-info-link {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
}

.musteri-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.avatar-alacakli { background: linear-gradient(135deg, #34d399, #16a34a); }
.avatar-borclu   { background: linear-gradient(135deg, #fb7185, #dc2626); }
.avatar-notr     { background: linear-gradient(135deg, #b0b7c3, #6c757d); }

.musteri-bilgi {
    flex: 1 1 auto;
    min-width: 0;
}

.musteri-ad {
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.musteri-alt {
    font-size: 0.8rem;
    color: #8a8f98;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.musteri-bakiye {
    flex-shrink: 0;
    text-align: right;
    min-width: 130px;
    padding-left: 8px;
}

.musteri-bakiye-tutar {
    font-weight: 700;
    font-size: 1rem;
}

.musteri-durum {
    font-size: 0.72rem;
}

.musteri-durum-alacakli { color: #16a34a; }
.musteri-durum-borclu   { color: #dc2626; }
.musteri-durum-notr     { color: #8a8f98; }

.musteri-aksiyon {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
    padding-right: 16px;
}

@media (max-width: 576px) {
    .musteri-info-link {
        padding: 12px;
        gap: 10px;
    }
    .musteri-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .musteri-bakiye {
        min-width: 90px;
    }
    .musteri-aksiyon {
        padding-right: 8px;
    }
}

.min-width-0 {
    min-width: 0;
}

/* Panel - özet kartları */
.ozet-kart {
    border-radius: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ozet-kart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 30, 60, 0.1);
}

.ozet-ikon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.ozet-ikon-yesil   { background: linear-gradient(135deg, #34d399, #16a34a); }
.ozet-ikon-kirmizi { background: linear-gradient(135deg, #fb7185, #dc2626); }
.ozet-ikon-mavi    { background: linear-gradient(135deg, #60a5fa, #2563eb); }

.ozet-alt {
    font-size: 0.78rem;
    text-decoration: none;
}

/* Panel - liste kartlarının başlığı */
.panel-liste-baslik {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 18px;
    border-bottom: 1px solid #eef0f4;
}

/* Panel - Son Hareketler satırları */
.hareket-satir {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #eef0f4;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.hareket-satir:last-child {
    border-bottom: none;
}

.hareket-satir:hover {
    background-color: #f8f9fc;
}

.hareket-ikon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.hareket-bilgi {
    flex: 1 1 auto;
    min-width: 0;
}

.hareket-ad {
    font-size: 0.78rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hareket-alt {
    font-size: 0.7rem;
    color: #8a8f98;
}

.hareket-tutar {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
}
