:root {
    --hudamar-red: #e41a22;
}

body {
    background-color: #f4f7f6;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Header: Kırmızı alan ve yükseklik ayarı */
.app-header {
    background-color: var(--hudamar-red);
    height: 200px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    position: relative;
}

/* Beyaz kutulu dev logo tasarımı */
.main-logo-boxed {
    height: 85px;
    width: auto;
    padding: 12px;
    border-radius: 18px;
    object-fit: contain;
}

.user-greeting {
    margin-top: 5px;
}

/* Bakiye Kartı: Header'ın altına tam ortalı yerleşim */
.balance-card {
    background: white;
    border-radius: 25px;
    position: absolute;
    bottom: -65px;
    left: 0;
    right: 0;
    z-index: 10;
}

.divider {
    height: 1px;
    background: #f0f0f0;
    width: 85%;
    margin: 10px auto;
}

.small-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
}

.extra-small {
    font-size: 0.8rem;
}

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-danger-light {
    background-color: #fff1f2;
}

/* Giriş Ekranı Özel Stilleri */
.login-wrapper {
    background-color: var(--hudamar-red); /* Daha önce tanımladığımız #e41a22 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: -40px; /* Kartın header'a biraz yaklaşması için */
    z-index: 1;
}

.login-logo {
    height: 100px; /* İstediğiniz dev boyut */
    width: auto;
    object-fit: contain;
}

.login-card {
    background: white;
    border-radius: 30px;
    z-index: 2;
    position: relative;
}

.input-group-text {
    border-radius: 12px 0 0 12px !important;
}

.form-control {
    border-radius: 0 12px 12px 0 !important;
    height: 50px;
    border: 1px solid #eee;
}

    .form-control:focus {
        box-shadow: none;
        border-color: var(--hudamar-red);
    }

.btn-danger {
    background-color: var(--hudamar-red);
    border: none;
    letter-spacing: 1px;
}

.btn-danger:hover {
    background-color: #c2151b;
}

/* Fiş İkonu Kutusu */
.receipt-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Tablo satırı hover etkisi */
.list-group-item {
    transition: background-color 0.2s;
    cursor: pointer;
}

    .list-group-item:hover {
        background-color: #fffafa;
    }

/* Detayı Gör butonu için küçük yazı tipi */
.extra-small {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Arama kutusu odaklanma rengi */
.form-control:focus {
    border-color: var(--hudamar-red);
    box-shadow: none;
}

/* Bakiye Hareket İkonları */
.movement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Yuvarlak ikonlar daha soft durur */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.bg-success-light {
    background-color: #e6fcf5; /* Hafif Yeşil */
}

.bg-danger-light {
    background-color: #fff5f5; /* Hafif Kırmızı */
}

.text-success {
    color: #0ca678 !important;
}

.extra-small {
    font-size: 0.72rem;
}

/* Fiş Detay Özel Stilleri */
.border-dashed {
    border-style: dashed !important;
    border-color: #dee2e6 !important;
    border-width: 0 0 2px 0 !important;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 0.5rem;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.navigation-bar {
    position: relative;
    z-index: 15; /* Beyaz kartın (z-index: 10) üzerinde kalması için */
    height: 40px;
}

.back-button {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none !important; /* Alt çizgi oluşmasın */
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .back-button:hover, .back-button:active {
        background: rgba(255, 255, 255, 0.4);
        color: white;
    }

/* Layout'taki ana içerik alanı */
.content-body {
    margin-top: 20px; /* Kartın altına daha yakın durması için düşürdük */
    padding-bottom: 1px;
}

/* Navigasyon barı ve içerik arası mesafe */
.navigation-bar {
    margin-bottom: 1px !important; /* RenderBody ile olan arasını daralttık */
}

.back-link {
    display: inline-flex; /* Sadece içeriği kadar yer kaplasın */
    padding: 5px 0;
}