/* ==========================================================================
   TÜRKİYE FİNANS MOBİL ŞUBE - STİL DOSYASI
   ========================================================================== */

:root {
    --tf-primary: #00a896;
    --tf-primary-dark: #008f80;
    --tf-primary-light: #e6f7f5;
    --tf-green: #82c341;
    --tf-green-dark: #70ac34;
    --tf-green-light: #f1f9e9;
    --tf-navy: #1e293b;
    --tf-slate: #64748b;
    --tf-light-bg: #f8fafc;
    --tf-border: #e2e8f0;
    --tf-card-bg: #ffffff;
    --tf-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --tf-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--tf-font);
    background-color: #e5e9f0;
    color: var(--tf-navy);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

/* --------------------------------------------------------------------------
   Mobil Cihaz Kapsayıcısı (Responsive Mobile Frame)
   -------------------------------------------------------------------------- */
.mobile-wrapper {
    width: 100%;
    max-width: 440px;
    height: 940px;
    max-height: 98vh;
    background-color: var(--tf-light-bg);
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 10px #2d3748;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background-color: var(--tf-light-bg);
    }
    .mobile-wrapper {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
}

.mobile-screen {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    scrollbar-width: none;
}
.mobile-screen::-webkit-scrollbar {
    display: none;
}

/* --------------------------------------------------------------------------
   1. Üst Başlık (Header)
   -------------------------------------------------------------------------- */
.tf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px 14px;
    background: transparent;
    z-index: 10;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--tf-navy);
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.2s;
}
.lang-selector:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tf-logo-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.tf-logo-wrap:hover {
    transform: rotate(45deg);
}

.tf-logo-img {
    width: 38px;
    height: 38px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--tf-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    position: relative;
    transition: background 0.2s;
}
.btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}
.btn-icon .badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background-color: #ef4444;
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   2. Kullanıcı & Şifre Kartı (Login Card)
   -------------------------------------------------------------------------- */
.login-card {
    background: var(--tf-card-bg);
    margin: 8px 16px 14px;
    border-radius: 24px;
    padding: 24px 20px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.user-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.user-name-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #111827;
    text-align: center;
    text-transform: uppercase;
}

.btn-switch-user {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}
.btn-switch-user:hover {
    background: #f1f5f9;
    color: var(--tf-primary);
}

.pin-label {
    font-size: 15px;
    font-style: italic;
    color: #64748b;
    margin-bottom: 10px;
    padding-left: 14px;
    font-weight: 500;
}

.pin-input-pill {
    background: #ffffff;
    border: 1.5px solid #cfd8e3;
    border-radius: 9999px;
    height: 60px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.pin-input-pill:hover,
.pin-input-pill.focused {
    border-color: var(--tf-primary);
    box-shadow: 0 0 0 3.5px rgba(0, 168, 150, 0.15);
}

.pin-input-pill.shake {
    animation: shakeAnim 0.4s ease-in-out;
    border-color: #ef4444;
}

@keyframes shakeAnim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.pin-dots-container {
    display: flex;
    align-items: center;
    gap: 13px;
}

.pin-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.6px solid #4b5563;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin-dot.filled {
    background: #1e293b;
    border-color: #1e293b;
    transform: scale(1.18);
}

.btn-forgot-pin {
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    color: #111827;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.btn-forgot-pin:hover {
    color: var(--tf-primary);
}

/* Gerçek klavye girişi için gizli input */
.hidden-pin-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* --------------------------------------------------------------------------
   3. Hikaye Çemberleri (Story Circles Row)
   -------------------------------------------------------------------------- */
.stories-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 16px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    max-width: 82px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.story-item:hover {
    transform: translateY(-2px);
}
.story-item:active {
    transform: scale(0.96);
}

.story-ring-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 2.5px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.story-ring-wrap.ring-green {
    border: 2.5px solid var(--tf-green);
}
.story-ring-wrap.ring-teal {
    border: 2.5px solid var(--tf-primary);
}
.story-ring-wrap.ring-dark {
    border: 2.5px solid #334155;
}

.story-thumb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.story-thumb-1 img {
    object-position: center 65%;
    transform: scale(1.35);
}

.story-thumb-2 img {
    object-position: center 78%;
    transform: scale(1.3);
}

.story-thumb-3 img {
    object-position: center 50%;
    transform: scale(1.3);
}

.story-thumb-4 img {
    object-position: center 25%;
    transform: scale(1.25);
}

.story-thumb-5 img {
    object-position: center 25%;
    transform: scale(1.35);
}

.story-star-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--tf-green);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.story-caption {
    font-size: 11.5px;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
    margin-top: 8px;
    line-height: 1.25;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   4. Kampanya Banner Kartı (Promo Carousel)
   -------------------------------------------------------------------------- */
.promo-carousel-wrapper {
    padding: 4px 16px 16px;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
}
.promo-carousel-wrapper:active {
    cursor: grabbing;
}
.promo-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.promo-card {
    background: var(--tf-card-bg);
    border-radius: 20px;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    min-width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    flex-shrink: 0;
    border: 1px solid rgba(226, 232, 240, 0.7);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
}
.promo-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.promo-phone-art {
    width: 102px;
    height: 125px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.promo-phone-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--tf-navy);
    margin-bottom: 5px;
}

.promo-desc {
    font-size: 12.5px;
    color: var(--tf-slate);
    line-height: 1.35;
    margin-bottom: 12px;
}

.promo-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tf-primary);
    text-decoration: none;
}
.promo-btn-link:hover {
    color: var(--tf-primary-dark);
}

/* --------------------------------------------------------------------------
   5. Alt Sabit Hızlı İşlem Barı (Bottom Quick Actions)
   -------------------------------------------------------------------------- */
.bottom-quick-bar {
    margin-top: auto;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 14px 10px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 20;
}

.quick-action-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    padding: 0 3px;
}

.quick-action-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    height: 40px;
    width: 1px;
    background-color: #e2e8f0;
}

.quick-action-btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background-color: var(--tf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(130, 195, 65, 0.25);
    border: none;
    outline: none;
}
.quick-action-col:hover .quick-action-btn {
    background-color: var(--tf-green-dark);
    transform: scale(0.96);
}
.quick-action-btn img {
    width: 26px;
    height: 26px;
}

.quick-action-text {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
    max-width: 65px;
}

/* --------------------------------------------------------------------------
   6. Sanal Numerik Tuş Takımı (Virtual Keypad Drawer)
   -------------------------------------------------------------------------- */
.keypad-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.16);
    padding: 16px 24px 28px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.3s;
    z-index: 100;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

.keypad-drawer.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.keypad-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.keypad-drag-pill {
    width: 38px;
    height: 4.5px;
    background: #cbd5e1;
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.btn-close-keypad {
    background: #f1f5f9;
    border: none;
    color: var(--tf-navy);
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-close-keypad:hover {
    background: #e2e8f0;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.key-btn {
    height: 52px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 600;
    color: var(--tf-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.key-btn:active {
    background: var(--tf-primary);
    color: #ffffff;
    border-color: var(--tf-primary);
    transform: scale(0.94);
}
.key-btn.key-action {
    background: #f1f5f9;
    font-size: 15px;
    color: var(--tf-slate);
}

/* --------------------------------------------------------------------------
   7. Modallar (Modals & Overlays)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999;
    padding: 16px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-dialog {
    transform: scale(1);
}

.modal-header {
    padding: 18px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}
.modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--tf-navy);
}
.modal-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--tf-slate);
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--tf-slate);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    color: var(--tf-navy);
    outline: none;
    transition: border-color 0.2s;
}
.form-control:focus {
    border-color: var(--tf-primary);
}

.btn-primary-block {
    width: 100%;
    height: 48px;
    background: var(--tf-primary);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary-block:hover {
    background: var(--tf-primary-dark);
}

/* Döviz Tablosu */
.rates-table {
    width: 100%;
    border-collapse: collapse;
}
.rates-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--tf-slate);
    text-align: right;
    padding: 8px 4px;
    border-bottom: 1px solid #e2e8f0;
}
.rates-table th:first-child {
    text-align: left;
}
.rates-table td {
    padding: 12px 4px;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
    font-weight: 600;
}
.rates-table td:first-child {
    text-align: left;
    color: var(--tf-navy);
}
.rate-badge-up {
    color: #16a34a;
}
.rate-badge-down {
    color: #dc2626;
}

/* --------------------------------------------------------------------------
   8. Dashboard Stilleri (Giriş Yapıldıktan Sonra)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   8. Yeni Dashboard Stilleri (Kullanıcının Görselindeki Tasarım)
   -------------------------------------------------------------------------- */
.dashboard-body {
    background-color: #f3f5f8;
}

.dash-screen-content {
    background-color: #f7f9fa;
    padding-bottom: 24px;
}

/* Üst Header */
.tf-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    background: transparent;
}

.hdr-group-left,
.hdr-group-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-hdr-icon-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    border-radius: 8px;
    transition: background 0.15s;
}
.dash-hdr-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hdr-group-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tf-center-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.btn-robot-asistan {
    position: relative;
}
.dash-bot-img {
    width: 26px;
    height: 26px;
}

/* Üst İkili Kampanya Kartları (Ayın Hayata Katılanı & Âlâ Dünyası) */
.dash-top-duo-cards {
    padding: 4px 16px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.duo-card {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    padding: 10px 10px 10px 12px;
    height: 68px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
    gap: 8px;
}
.duo-card:hover {
    transform: translateY(-2px);
}

.duo-card-green {
    background: linear-gradient(135deg, #b2f0e0 0%, #81e6d0 50%, #5eead4 100%);
    box-shadow: 0 3px 12px rgba(94, 234, 212, 0.3);
}

.duo-trophy-col {
    flex-shrink: 0;
}
.duo-trophy-img-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duo-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.duo-title-row {
    display: flex;
    align-items: center;
}
.duo-title {
    font-size: 12px;
    font-weight: 700;
    color: #065f52;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duo-thumbs-row {
    display: flex;
    gap: 2px;
    font-size: 13px;
    margin-top: 4px;
}
.thumb-icon {
    opacity: 0.3;
    filter: grayscale(1);
    font-size: 13px;
}
.thumb-icon.active {
    opacity: 1;
    filter: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Turuncu chevron badge — sağ taraf */
.duo-chevron-badge {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.4);
}


.duo-card-black {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #000000;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.ala-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ala-overlay-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.ala-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ala-script-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.ala-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
}
.ala-sub-text {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
}
.ala-arrow {
    font-size: 13px;
    font-weight: 800;
    color: #cbd5e1;
}

/* Duyuru / Ürün Kartı (TL Katılma Hesap) */
.dash-announcement-card {
    background: #e6f9f5;
    border-radius: 18px;
    margin: 4px 16px 14px;
    padding: 14px 14px;
    display: flex;
    gap: 12px;
    position: relative;
    border: 1px solid rgba(0, 168, 150, 0.12);
}

.announcement-left-icon {
    flex-shrink: 0;
}
.wallet-sq-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #cbf3eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-content {
    flex: 1;
}

.announcement-hdr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}
.announcement-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
}

.btn-close-announcement {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
}

.announcement-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.35;
    margin-bottom: 8px;
}

.announcement-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #00a896;
    text-decoration: none;
}
.announcement-link:hover {
    color: #008f80;
}

/* Kutulu Bölümler (Favori Hesaplarım & Favori Kartlarım) */
.dash-box-section {
    margin-bottom: 16px;
}

.dash-box-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    padding: 0 18px 8px;
}

.dash-white-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 18px 22px;
    margin: 0 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.empty-glass-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-text {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-turquoise-pill {
    background: #00bfa5;
    color: #111827;
    border-radius: 9999px;
    height: 48px;
    width: 100%;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 191, 165, 0.22);
}
.btn-turquoise-pill em {
    font-style: italic;
    font-weight: 600;
}
.btn-turquoise-pill:hover {
    background: #00a896;
    color: #ffffff;
}

/* Aktif Hesap Görünümü */
.account-active-view {
    text-align: left;
    padding: 4px;
}
.acc-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.acc-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.acc-badge {
    font-size: 11px;
    background: #dcfce7;
    color: #16a34a;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.acc-balance-display {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.acc-balance-display .balance-currency {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}
.acc-iban-row {
    font-size: 12px;
    color: #64748b;
    font-family: monospace;
}

/* Orta Hızlı Butonlar Row */
.dash-middle-quick-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 14px 18px;
    background: transparent;
}

.mid-quick-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    padding: 0 2px;
}
.mid-quick-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    height: 42px;
    width: 1px;
    background-color: #e2e8f0;
}

.mid-quick-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--tf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(130, 195, 65, 0.25);
    transition: transform 0.15s, background-color 0.15s;
}
.mid-quick-col:hover .mid-quick-btn {
    transform: scale(0.95);
    background: var(--tf-green-dark);
}
.mid-quick-btn img {
    width: 25px;
    height: 25px;
}

.mid-quick-label {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
}

/* 7. Koyu Alt Menü Barı (Dark Bottom Navigation) */
.dash-dark-bottom-nav {
    height: 68px;
    background: #181f25;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 50;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    transition: color 0.15s;
}
.dark-nav-item.active {
    color: #82c341;
}
.dark-nav-item.active svg {
    stroke: #82c341;
}
.dark-nav-item:hover {
    color: #ffffff;
}

/* Toast Bildirim */
.toast-msg {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    background: #1e293b;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}
.toast-msg.error {
    background: #dc2626;
}
.toast-msg.success {
    background: #16a34a;
}

/* Hesap/Kart menüsü */
.mobile-screen[hidden] {
    display: none;
}
.account-card-screen {
    background: #f8f8fa;
    color: #090a0b;
}
.account-menu-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.account-card-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 8px;
    padding: 6px 20px 8px;
    flex-shrink: 0;
}
.account-card-header h1 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.6px;
}
.account-profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #2eb7ac;
    border-radius: 50%;
    background: #fff;
    color: #090a0b;
    cursor: pointer;
    overflow: hidden;
}
.account-profile-button svg { width: 36px; height: 36px; }
.account-header-actions { display: flex; align-items: center; gap: 6px; }
.account-header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 40px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.account-header-button svg { width: 26px; height: 26px; }
.account-menu-content { padding: 0 20px 28px; }
.account-menu-section { margin-bottom: 29px; }
.account-menu-section:last-child { margin-bottom: 0; }
.account-menu-section h2 {
    margin: 0 8px 12px;
    color: #686868;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.7px;
}
.account-menu-list {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 19px 25px rgba(30, 41, 59, 0.09);
}
.account-menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 62px;
    padding: 15px 20px;
    border: 0;
    background: #fff;
    color: inherit;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.4px;
    cursor: pointer;
    transition: background-color 0.15s;
}
.account-menu-item + .account-menu-item { border-top: 1px solid #eeeeef; }
.account-menu-item:hover { background: #f7faf2; }
.account-menu-item:active { background: #eff5e5; }
.account-menu-item span { flex: 1; min-width: 0; }
.account-menu-icon { width: 27px; height: 27px; flex-shrink: 0; color: #6b7e8c; }
.account-menu-chevron { width: 13px; height: 20px; flex-shrink: 0; color: #a6cd39; }
.account-menu-item:focus-visible,
.account-profile-button:focus-visible,
.account-header-button:focus-visible { outline: 2px solid #00a896; outline-offset: -3px; }
.mobile-wrapper.account-card-mode .dash-dark-bottom-nav { background: #292929; }
.mobile-wrapper.account-card-mode .dark-nav-item { color: #979797; font-weight: 400; }
.mobile-wrapper.account-card-mode .dark-nav-item.active { color: #fff; }
.mobile-wrapper.account-card-mode .dark-nav-item.active svg { stroke: #a6cd39; }
.account-menu-dialog {
    margin: auto;
    width: calc(100% - 32px);
    max-width: 380px;
    padding: 24px;
    border: 0;
    border-radius: 20px;
    color: var(--tf-navy);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}
.account-menu-dialog::backdrop { background: rgba(15, 23, 42, 0.55); }
.account-menu-dialog h2 { font-size: 19px; margin-bottom: 12px; }
.account-menu-dialog p { font-size: 14px; line-height: 1.6; color: #64748b; margin-bottom: 22px; }
@media (max-width: 360px) {
    .account-card-header { padding-left: 16px; padding-right: 16px; grid-template-columns: 64px minmax(0, 1fr) 74px; }
    .account-card-header h1 { font-size: 18px; }
    .account-header-actions { gap: 0; }
    .account-menu-content { padding-left: 16px; padding-right: 16px; }
    .account-menu-item { gap: 10px; padding-left: 16px; padding-right: 16px; font-size: 15px; }
}

/* Tüm Hesaplar ekranı */
.all-accounts-screen {
    min-height: 0;
    overflow: hidden;
    background: #f8f8fa;
    color: #080909;
}
.dash-dark-bottom-nav[hidden] { display: none; }
.all-accounts-header {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    min-height: 56px;
    padding: 0 16px;
    flex-shrink: 0;
}
.all-accounts-header h1 { font-size: 18px; font-weight: 600; text-align: center; letter-spacing: -0.6px; }
.all-accounts-header a { color: inherit; text-decoration: none; }
.all-accounts-back { display: flex; align-items: center; width: 40px; height: 44px; }
.all-accounts-back svg { width: 18px; height: 25px; }
.all-accounts-cancel { justify-self: end; padding: 12px 0 12px 8px; font-size: 16px; font-weight: 500; }
.account-search-wrap { position: relative; margin: 4px 16px 22px; flex-shrink: 0; }
.account-search-input {
    width: 100%;
    height: 54px;
    padding: 0 54px 0 27px;
    border: 1px solid #dedfe1;
    border-radius: 30px;
    background: #fff;
    color: #121619;
    font: 500 17px var(--tf-font);
    appearance: none;
}
.account-search-input::placeholder { color: #6b7e8c; opacity: 1; }
.account-search-wrap > svg { position: absolute; width: 25px; height: 25px; right: 28px; top: 15px; color: #6b7e8c; pointer-events: none; }
.account-search-input:focus-visible { outline: 2px solid #20bbb4; outline-offset: 2px; }
.account-type-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex-shrink: 0; }
.account-type-tab {
    position: relative;
    min-width: 0;
    height: 42px;
    padding: 0 4px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #6d7d8b;
    font: 500 16px var(--tf-font);
    cursor: pointer;
}
.account-type-tab + .account-type-tab::before { content: ''; position: absolute; left: 0; top: 1px; width: 1px; height: 25px; background: #dddfe2; }
.account-type-tab.active { color: #080909; font-weight: 800; border-bottom-color: #24bdb5; }
.all-accounts-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-width: none; }
.all-accounts-list::-webkit-scrollbar { display: none; }
.account-list-item {
    display: block;
    width: 100%;
    min-height: 124px;
    padding: 21px 16px 16px;
    border: 0;
    border-bottom: 1px solid #dedfe1;
    background: #fff;
    color: inherit;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}
.account-list-item[hidden], .account-list-empty[hidden] { display: none; }
.account-list-item:hover { background: #fbfdfb; }
.account-list-top { display: grid; grid-template-columns: minmax(0, 1fr) auto 13px; align-items: center; gap: 10px; }
.account-list-name { font-size: 15px; line-height: 1.3; font-weight: 650; letter-spacing: -0.45px; overflow-wrap: anywhere; }
.account-list-total { font-size: 19px; font-weight: 800; font-style: italic; white-space: nowrap; letter-spacing: -0.6px; }
.account-list-arrow { width: 13px; height: 21px; color: #a6cd39; }
.account-list-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 24px; }
.account-list-branch { font-size: 14px; line-height: 1.45; color: #71818c; letter-spacing: -0.45px; }
.account-list-number { display: block; }
.account-list-available { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; white-space: nowrap; }
.account-list-available > span { color: #a0a8ad; font-size: 12px; letter-spacing: -0.4px; }
.account-list-available strong { color: #20b9b2; font-size: 17px; font-weight: 600; }
.account-list-empty { padding: 36px 24px; text-align: center; color: #71818c; font-size: 14px; line-height: 1.5; }
.all-accounts-footer { display: flex; flex-direction: column; gap: 16px; padding: 10px 16px max(42px, env(safe-area-inset-bottom)); background: #f8f8fa; flex-shrink: 0; }
.all-accounts-footer button { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 30px; font: italic 500 16px var(--tf-font); color: #080909; cursor: pointer; }
.all-accounts-primary { background: #00bfb3; border: 1px solid #00bfb3; }
.all-accounts-primary:hover { background: #00b1a7; }
.all-accounts-secondary { background: #fff; border: 1px solid #e6e6e8; letter-spacing: -0.4px; }
.all-accounts-secondary:hover { background: #f0f7f6; }
.all-accounts-screen a:focus-visible, .all-accounts-screen button:focus-visible { outline: 2px solid #00a896; outline-offset: -3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 360px) {
    .all-accounts-header { grid-template-columns: 62px minmax(0, 1fr) 62px; }
    .all-accounts-header h1 { font-size: 17px; }
    .all-accounts-cancel { font-size: 15px; }
    .account-list-top { gap: 6px; }
    .account-list-name { font-size: 13px; }
    .account-list-total { font-size: 17px; }
    .account-list-branch { font-size: 12px; }
    .account-list-available > span { font-size: 11px; }
    .account-list-available strong { font-size: 16px; }
    .all-accounts-footer button { font-size: 14px; }
}
@media (max-height: 650px) {
    .all-accounts-footer { gap: 10px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
    .account-search-wrap { margin-bottom: 12px; }
}

/* Hesap Detayı */
.account-detail-screen { min-height: 0; overflow: hidden; background: #f8f8fa; color: #080909; }
.account-detail-header { flex-shrink: 0; background: #f8f8fa; z-index: 1; }
.account-detail-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c7cbcc transparent; }
.account-detail-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: center; gap: 12px; min-height: 56px; padding: 13px 16px; border-bottom: 1px solid #e3e4e7; }
.account-detail-row dt { color: #71818c; font-size: 15px; font-weight: 400; letter-spacing: -0.4px; }
.account-detail-row dd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; font-size: 16px; font-weight: 650; text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
.detail-icon-button { display: flex; align-items: center; justify-content: center; width: 25px; min-height: 28px; flex-shrink: 0; padding: 0; border: 0; background: transparent; color: #20b9b2; cursor: pointer; }
.detail-icon-button svg { width: 23px; height: 27px; }
.account-detail-iban { grid-template-columns: 45px minmax(0, 1fr); }
.account-detail-iban dd { gap: 9px; font-size: 15px; letter-spacing: -0.6px; }
.detail-qr-button { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.detail-qr-button svg { width: 23px; height: 23px; color: #20b9b2; }
.account-extra-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 12px 16px; list-style: none; font-size: 18px; font-weight: 650; letter-spacing: -0.5px; cursor: pointer; }
.account-extra-details > summary::-webkit-details-marker { display: none; }
.account-extra-details > summary svg { width: 19px; height: 14px; flex-shrink: 0; color: #a6cd39; transition: transform 0.15s; }
.account-extra-details[open] > summary svg { transform: rotate(180deg); }
.account-extra-details dl { padding: 0 16px 12px; }
.account-extra-details dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 14px; }
.account-extra-details dt { color: #71818c; }
.account-extra-details dd { text-align: right; font-weight: 600; }
.account-recent-section { margin-top: 35px; }
.account-recent-section h2, .account-pending-section h2 { font-size: 16px; font-weight: 400; padding: 0 16px 9px; letter-spacing: -0.4px; }
.account-transactions { border-top: 1px solid #e0e2e5; }
.account-transaction { position: relative; background: #fff; border-bottom: 1px solid #e0e2e5; }
.account-transaction-main { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 13px; align-items: center; gap: 12px; width: 100%; min-height: 94px; padding: 24px 16px 32px; border: 0; background: transparent; color: inherit; text-align: left; font-family: inherit; cursor: pointer; }
.transaction-direction { width: 19px; height: 23px; color: #71818c; }
.transaction-description { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.transaction-description time { font-size: 10px; line-height: 1.2; font-weight: 800; color: #71818c; }
.transaction-description > span { font-size: 14px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; letter-spacing: -0.3px; }
.transaction-amount { color: #a0abb3; font-size: 14px; font-weight: 700; white-space: nowrap; letter-spacing: -0.6px; }
.transaction-chevron { width: 13px; height: 20px; color: #a6cd39; }
.transaction-receipt { position: absolute; right: 13px; bottom: 7px; display: flex; align-items: center; justify-content: center; width: 28px; height: 27px; padding: 2px; border: 0; color: #080909; background: transparent; cursor: pointer; }
.transaction-receipt svg { width: 20px; height: 24px; }
.account-movements-wrap { display: flex; justify-content: flex-end; padding: 12px 16px 0; }
.account-movements-button { width: 50%; min-height: 44px; padding: 10px; border: 1px solid #dedfe1; border-radius: 28px; color: inherit; background: #fff; font: italic 500 15px var(--tf-font); cursor: pointer; }
.account-pending-section { margin-top: 40px; }
.account-pending-empty { margin: 0 16px; padding: 18px 12px 16px; text-align: center; background: #fff; border: 1px solid #e2e4e6; border-radius: 16px; box-shadow: 0 4px 8px rgba(30, 41, 59, 0.025); color: #71818c; }
.account-pending-empty svg { width: 36px; height: 36px; margin-bottom: 9px; }
.account-pending-empty p { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: -0.4px; }
.account-detail-actions { display: flex; flex-direction: column; align-items: center; gap: 42px; padding: 32px 16px 44px; }
.account-transfer-button { width: 100%; min-height: 52px; padding: 12px; border: 0; border-radius: 30px; background: #00bfb3; color: #080909; font: italic 500 17px var(--tf-font); cursor: pointer; }
.account-close-button { padding: 12px; border: 0; background: transparent; color: #080909; font: italic 500 15px var(--tf-font); text-decoration: underline; cursor: pointer; }
.account-detail-screen button:hover { filter: brightness(0.94); }
.account-detail-screen button:focus-visible, .account-extra-details summary:focus-visible { outline: 2px solid #00a896; outline-offset: 2px; }
.account-menu-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
#accountMenuDialogMessage { white-space: pre-line; overflow-wrap: anywhere; }
.detail-name-label { display: block; margin: 12px 0 8px; color: #71818c; font-size: 14px; }
.detail-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.detail-dialog-actions button { padding: 10px 18px; border: 0; border-radius: 20px; background: #f1f5f9; font: 500 14px var(--tf-font); cursor: pointer; }
.detail-dialog-actions button[type="submit"] { background: #00bfb3; }
.account-qr-dialog { text-align: center; }
.account-qr-dialog img { display: block; max-width: 100%; height: auto; margin: 16px auto; }
.account-qr-dialog p { overflow-wrap: anywhere; font-size: 13px; }
@media (max-width: 360px) {
    .account-detail-row { gap: 8px; }
    .account-detail-row dt { font-size: 13px; }
    .account-detail-row dd { font-size: 14px; }
    .account-detail-iban dd { font-size: 11px; gap: 5px; }
    .account-detail-iban .detail-icon-button { width: 21px; }
    .account-extra-details > summary { font-size: 16px; }
    .account-transaction-main { grid-template-columns: 18px minmax(0, 1fr) auto 11px; gap: 7px; }
    .transaction-description > span { font-size: 12px; }
    .transaction-description time { font-size: 9px; }
    .transaction-amount { font-size: 12px; }
    .account-pending-empty p { font-size: 12px; }
    .account-movements-button { width: 58%; font-size: 14px; }
}

/* ==========================================================================
   HESAP HAREKETLERİ & DEKONT GÖRÜNÜMÜ (Görsel Birebir Uyumu)
   ========================================================================== */
.tx-screen-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

/* 1. Üst Header: < | Hesap Hareketleri (Demo) | Filtrele */
.tx-page-header {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    padding: 12px 16px 10px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.tx-back-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 36px;
    height: 36px;
    color: #111827;
    text-decoration: none;
    border-radius: 50%;
    transition: opacity 0.15s;
}
.tx-back-btn:hover {
    opacity: 0.7;
}
.tx-header-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tx-header-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.tx-demo-badge {
    margin-top: 3px;
    display: inline-block;
    font-size: 11px;
    color: #4b5563;
    background: #f1f5f9;
    padding: 1px 10px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.3;
    border: 1px solid #e5e7eb;
}
.tx-filter-btn {
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    padding: 6px 0;
    text-align: right;
    transition: opacity 0.15s;
}
.tx-filter-btn:hover {
    opacity: 0.7;
}

/* 2. Detaylı Hesap Bilgileri Akordeon */
.account-details-accordion {
    padding: 14px 18px 6px;
    background: #ffffff;
    flex-shrink: 0;
}
.accordion-header-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    text-align: left;
}
.acc-details-title {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.3px;
}
.acc-chevron-icon {
    color: #82c341;
    stroke: #82c341;
    transition: transform 0.2s ease;
}
.accordion-body-content {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
}
.acc-info-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.acc-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}
.acc-info-row .lbl {
    color: #64748b;
    font-weight: 500;
}
.acc-info-row .val {
    color: #0f172a;
    font-weight: 600;
    font-family: monospace;
}

/* 3. Son İşlemler Başlığı */
.tx-section-title-box {
    padding: 10px 18px 10px;
    background: #ffffff;
    flex-shrink: 0;
}
.tx-section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    letter-spacing: -0.2px;
}

/* 4. İşlem Listesi (Transactions List) */
.tx-list-container {
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.tx-list-container::-webkit-scrollbar {
    width: 4px;
}
.tx-list-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Her Bir İşlem Satırı (Item Card) */
.tx-item-card {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.15s;
    position: relative;
}
.tx-item-card:hover {
    background-color: #fbfdfb;
}

/* Sol Yön Oku */
.tx-arrow-icon-wrap {
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    margin-right: 12px;
}
.tx-arrow-icon-wrap svg {
    display: block;
}

/* Orta Bilgiler (Tarih ve Açıklama) */
.tx-middle-info {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.tx-timestamp {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.2;
}
.tx-desc-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.2px;
    word-break: break-word;
}

/* Sağ Bilgiler (Tutar, Yeşil Chevron ve Dekont Simgesi) */
.tx-right-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.tx-amount-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tx-amount-val {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.tx-amount-val.amount-outgoing {
    color: #64748b; /* Ekrandaki gri Fast giden tutarı */
}
.tx-amount-val.amount-incoming {
    color: #16a34a; /* Gelen para için yeşil tutar */
}
.tx-chevron {
    stroke: #82c341;
    color: #82c341;
    flex-shrink: 0;
}

/* Dekont Butonu (Dikdörtgen çizgili ikon) */
.tx-receipt-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.btn-open-receipt {
    background: transparent;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, opacity 0.15s;
}
.btn-open-receipt:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
.btn-open-receipt svg {
    display: block;
    stroke: #111827;
}

/* 5. Alt Sabit Butonlar (Toplu Dekont Gönder & PDF olarak Görüntüle) */
.tx-bottom-actions-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px 24px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.btn-turquoise-pill-alt {
    width: 100%;
    height: 52px;
    border-radius: 9999px;
    background: #00bfb3;
    border: none;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.15s, transform 0.1s;
}
.btn-turquoise-pill-alt em {
    font-style: italic;
    font-weight: 600;
}
.btn-turquoise-pill-alt:hover {
    filter: brightness(0.96);
}
.btn-turquoise-pill-alt:active {
    transform: scale(0.99);
}

.btn-white-outline-pill {
    width: 100%;
    height: 52px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, transform 0.1s;
}
.btn-white-outline-pill em {
    font-style: italic;
    font-weight: 600;
}
.btn-white-outline-pill:hover {
    background-color: #f8fafc;
}
.btn-white-outline-pill:active {
    transform: scale(0.99);
}

/* ==========================================================================
   RESMİ TÜRKİYE FİNANS ELEKTRONİK DEKONTU STİLİ
   ========================================================================== */
.receipt-dialog {
    max-width: 440px !important;
    width: 92% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.receipt-paper {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    border: 1px solid #e2e8f0;
    position: relative;
}
.receipt-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.receipt-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.receipt-tf-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.receipt-bank-name {
    display: flex;
    flex-direction: column;
}
.receipt-bank-name strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}
.receipt-bank-name span {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.receipt-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 14px 0 16px;
}
.receipt-summary-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    margin-bottom: 16px;
}
.receipt-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0284c7;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.receipt-total-amount {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
.receipt-status-text {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
}
.receipt-details-table {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}
.rcpt-section-sep {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #00a896;
    margin-top: 10px;
    margin-bottom: 2px;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccfbf1;
}
.rcpt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 12.5px;
    padding: 2px 0;
}
.rcpt-row.full {
    flex-direction: column;
    gap: 3px;
}
.rcpt-label {
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
}
.rcpt-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}
.rcpt-val.mono {
    font-family: monospace;
    font-size: 11px;
}
.receipt-footer-security {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    margin-bottom: 16px;
}
.rcpt-qrcode-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbf7d0;
}
.rcpt-stamp-text {
    font-size: 10px;
    color: #166534;
    line-height: 1.35;
}
.rcpt-stamp-text .sec-code {
    font-family: monospace;
    font-size: 9px;
    color: #15803d;
    margin-top: 2px;
}
.receipt-action-buttons {
    display: flex;
    gap: 10px;
}
.btn-receipt-print, .btn-receipt-share {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-receipt-print {
    background: #00bfb3;
    color: #000000;
    border: none;
}
.btn-receipt-print:hover {
    filter: brightness(0.95);
}
.btn-receipt-share {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
.btn-receipt-share:hover {
    background: #f8fafc;
}


/* ================================================================
   CANLI DESTEK CHAT PANELİ
   ================================================================ */
.chat-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}
.chat-overlay.active {
    display: flex;
    background: rgba(0,0,0,0.35);
}
.chat-panel {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.chat-overlay.active .chat-panel {
    transform: translateY(0);
}
.chat-panel-header {
    background: #00a896;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-header-bot-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}
.chat-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid #00a896;
}
.chat-header-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}
.chat-header-status {
    color: rgba(255,255,255,0.85);
    font-size: 11.5px;
    margin-top: 1px;
}
.chat-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Mesaj Alanı */
.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 240px;
}
.chat-welcome-msg,
.chat-msg-wrap {
    display: flex;
    flex-direction: column;
}
.chat-msg-admin {
    align-items: flex-start;
}
.chat-msg-user {
    align-items: flex-end;
}
.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}
.chat-bubble-admin {
    background: #ffffff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.chat-bubble-user {
    background: #00a896;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}
.chat-msg-time {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 4px;
    margin-bottom: 6px;
}

/* Input Alanı */
.chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}
.chat-text-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
}
.chat-text-input:focus {
    border-color: #00a896;
    background: #ffffff;
}
.chat-send-btn {
    background: #00a896;
    border: none;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.chat-send-btn:hover {
    background: #008f80;
}
