/* ========================================================================== */
/* app.css (Reorganized by Object ID)                                          */
/* Generated: 2026-02-02 12:08:26                   */
/*                                                                            */
/* Goal: Keep all CSS for the same UI object together (e.g. #modal_X, #dt_X).  */
/* Notes:                                                                     */
/*  - Global rules are kept in the GLOBAL section.                             */
/*  - Rules are grouped by first-match ID token: #modal_* and #dt_*.           */
/*  - If a rule targets multiple objects (or no object), it stays in GLOBAL.  */
/* ========================================================================== */

/* ============================= TABLE OF CONTENTS ========================== */
/*  GLOBAL                                                                    */
/*  modal_CihazDurum */
/*  dt_CihazListesi */
/*  modal_MusteriDetay */
/*  dt_MusteriListesi */
/*  modal_MusteriCihazlari */
/*  modal_KullaniciCihazlari */
/* ========================================================================== */

/* ============================== GLOBAL ============================== */

:root {
            --bg-body: #020617;
            --bg-shell: #020617;
            --bg-sidebar: #020617;
            --bg-card: #020617;
            --border-color-soft: #1e293b;
            --border-color-strong: #0f172a;
            --accent-blue: #2563eb;
            --accent-gradient: linear-gradient(135deg, #fb923c, #facc15);
            --accent-gradient-2: linear-gradient(135deg, #800000, #b40101);
            --sidebar-width: 260px;
        }

*,
        *::before,
        *::after {
            box-sizing: border-box;
        }

body {
            margin: 0;
            font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top left, #020617 0, #020617 55%, #020617 100%);
            color: #e5e7eb;
        }

  .DurumKayit{background-color: #0D69F2;}
  .DurumInceleme{background-color: #0DC1E6;}
  .DurumOnay{background-color: #F3B809;}
  .DurumOnarim{background-color: #D23343;}
  .DurumTest{background-color: #6A40B9;}
  .DurumHazir{background-color: #198152;}
  .DurumTeslim{background-color: #20C997;}
  .DurumIptal{background-color: #677079;}
  .DurumIade{background-color: #FD7E14;}

  .cDurumKayit{--c: #0D69F2;}
  .cDurumInceleme{--c: #0DC1E6;}
  .cDurumOnay{--c: #F3B809;}
  .cDurumOnarim{--c: #D23343;}
  .cDurumTest{--c: #6A40B9;}
  .cDurumHazir{--c: #198152;}
  .cDurumTeslim{--c: #20C997;}
  .cDurumIptal{--c: #677079;}
  .cDurumIade{--c: #FD7E14;}

 
  /* Index Chart Deneme */ 

      /* Dashboard chart cards */
    .dash-chart-card .card-header { padding-top: .85rem; padding-bottom: .65rem; }
    .dash-chart-wrap{
        position: relative;
        height: 260px;
        width: 100%;
    }
    .dash-chart-wrap-lg{
        height: 340px;
    }
    /* Better dark contrast for Chart.js canvas */
    .dash-chart-card canvas{ max-width:100%; }
/* Index Chart Deneme */ 



.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    font-size: 0.8rem;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.08);
}


.btn_Success_Pulse{
   animation: pulse_Success 2s  1.2s ease-in-out infinite;;
}
@keyframes pulse_Success {
    0%   { box-shadow: 0 0 0 0 rgba(13,109,57,.9); }
    70%  { box-shadow: 0 0 0 8px rgba(13,109,57,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,109,57,0); }
}


@keyframes pulse_Info {
    0%   { box-shadow: 0 0 0 0 rgba(8,145,178,.9); }
    70%  { box-shadow: 0 0 0 8px rgba(8,145,178,0); }
    100% { box-shadow: 0 0 0 0 rgba(8,145,178,0); }
}


  .table{
    width: 100%;
  }

  .w-18{
    width: 18px;
  }
  .w-90{
    width: 90px !important;
  }
  .t-a-c{
    text-align: center;
  }

  .flatpickr-calendar {
    z-index: 20000 !important;
  }

  .btn-cancel{
    --bs-btn-color: rgba(255,255,255,.85);
    --bs-btn-border-color: rgba(255,255,255,.25);
    --bs-btn-bg: transparent;

    --bs-btn-hover-color: #fff;                /* KRİTİK: siyaha düşmesin */
    --bs-btn-hover-bg: rgba(255,255,255,.12);
    --bs-btn-hover-border-color: rgba(255,255,255,.45);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255,255,255,.18);
    --bs-btn-active-border-color: rgba(255,255,255,.55);

    --bs-btn-focus-shadow-rgb: 255,255,255;

    font-weight: 500;
  }

.dt-count-badges .badge-soft.badge-soft-success{
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.22),
    rgba(5, 150, 105, 0.16)
  ) !important;

  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
}

.dt-count-badges .badge-soft.badge-soft-success .value{
  font-weight: 600;
}
  
.app-shell {
			height: 100vh;
      display: flex;
      width: 100%;
      margin: 0;
      border-radius: 0;
      background: radial-gradient(circle at top left, #0b1120 0, #020617 55%, #020617 100%);
      box-shadow: none;
      /*overflow: hidden;*/
  }

.sidebar {
      width: var(--sidebar-width);
			height: 100vh;
			overflow-y: auto;
      background: linear-gradient(180deg, #020617 0, #020617 100%);
      border-right: 1px solid var(--border-color-soft);
      padding: 1rem;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1050;
      transition: transform 0.2s ease;
      flex-shrink: 0;
  }

.sidebar-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}


.sidebar-logo-img{
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    display:block;
}

.sidebar-sep{
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.18),
    transparent
  );
  flex-shrink: 0;   /* olmazsa olmaz */
}





.sidebar-logo-text-main {
            font-size: 0.95rem;
            letter-spacing: 0.04em;
        }

.sidebar-logo-text-sub {
            font-size: 0.75rem;
            color: #9ca3af;
        }

.sidebar-nav {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
            flex: 1 1 auto;
        }

        

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.75rem;
    margin-bottom: 0.12rem;
    color: rgba(229,231,235,.78);
    background: transparent;
    border-radius: 0.65rem;
    font-size: 0.925rem;
    text-decoration: none;
    width: 100%;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav .nav-link:hover {
  background: rgba(255,255,255,.035); /* çok hafif */
  color: rgba(255,255,255,.94);
}

.sidebar-nav .nav-link:hover .nav-icon{
  color: rgba(255,255,255,.72);
}

.sidebar-nav .nav-link.active{
background: rgba(249,115,22,.08);
  color: #fff;
  box-shadow: inset 1.5px 0 0 #f97316;
}

.sidebar-nav .nav-link.active:hover{
  background: rgba(249,115,22,.11);   /* .08 → .11 */
}


.sidebar-nav .nav-link.active .nav-icon{
  color: #f97316;
}

/* Disable "active group header becomes orange" */
.sidebar-group:has(.nav-link.active) .sidebar-section-label{
  color: rgba(255,255,255,.85);
}
.sidebar-group:has(.nav-link.active) .sidebar-group-caret{
  color: #f97316 !important;
}

.sidebar-group:has(.nav-link.active) 
.sidebar-group-btn{
  background: transparent !important;
  box-shadow: none !important;
}

.sidebar-group-btn:hover{
  background: rgba(255,255,255,.03) !important;
}


.sidebar-nav .nav-link .nav-icon {
            width: 1.2rem;
            display: inline-flex;
            justify-content: center;
            color: rgba(229,231,235,.55);
        }

.sidebar-nav .nav-link .link-text {
            white-space: nowrap;
        }

.sidebar-nav .nav-link.nav-sublink {
            padding-left: 0.75rem;
            font-size: 0.88rem;
            opacity: 0.95;
        }




.sidebar-group{ margin-top: .35rem; }

.sidebar-group-btn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .75rem;
  padding: .4rem .75rem .25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.sidebar-group-btn .sidebar-section-label{
  padding: 0;          /* label padding’i butonda */
  margin: 0;
}

.sidebar-group-caret{
  font-size: .75rem;
  color: rgba(229,231,235,.45);
  transition: transform .18s ease;
}

/* kapalı grup */
.sidebar-group-btn[aria-expanded="false"] + .sidebar-group-list{
  display: none;
}

.sidebar-group-btn[aria-expanded="false"] .sidebar-group-caret{
  transform: rotate(-90deg);
}

/* grup listesi iç boşluğu */
.sidebar-group-list{
  list-style:none;
  margin: 0;
  padding: 0;
}


/* ==========================================
   Sidebar Footer
   ========================================== */

.sidebar-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 14px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.02),
        transparent
    );
}

.sidebar-footer-logo {
    max-width: 110px;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.sidebar-footer-logo:hover {
    opacity: 1;
}

.sidebar-footer-version {
    font-size: 11px;
    font-weight: 500;
    color: rgba(229, 231, 235, 0.45);
    letter-spacing: 0.4px;
    line-height: 1;
}



/* Desktop'ta sidebar toggle görünmesin */
@media (min-width: 992px){
  #sidebarToggle{
    display: none !important;
  }
}



/* ==========================================
   Sidebar
   ========================================== */

.sidebar-user {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    line-height: 1.2;
}

.sidebar-user-username {
    font-size: 12px;
    color: #9ca3af;
}

/* --- Sidebar User Card --- */
.sidebar-usercard {
    margin-top: 10px;
}

.sidebar-usercard-inner {
    position: relative;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* subtle glow gradient */
.sidebar-usercard-inner::before {
    content: "";
    position: absolute;
    inset: -40px -40px auto auto;
    width: 140px;
    height: 140px;
    pointer-events: none;
    filter: blur(2px);
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    flex-shrink: 0;
    display: grid;
    place-items: center;

    /* modern ring */
    background: linear-gradient(135deg, rgba(59,130,246,0.85), rgba(168,85,247,0.75));
    padding: 2px;
    animation: avatarPulse 1.2s ease-in-out infinite;
}

@keyframes avatarPulse{
  0%   { box-shadow: 0 0 0 0 rgba(32,201,151,.00); }
  50%  { box-shadow: 0 0 0 3px rgba(32,201,151,.18); }
  100% { box-shadow: 0 0 0 0 rgba(32,201,151,.00); }
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(0,0,0,0.25);
}

.sidebar-avatar span {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
}

.sidebar-username-link {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    color: #e5e7eb;
    text-decoration: none;
    line-height: 1.2;
}

.sidebar-username-link:hover {
    color: #fff;
}

/* ==========================================
   Sidebar
   ========================================== */





/* Header Topbar */

.topbar-status {
    font-size: 0.75rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    white-space: nowrap;
}


.status-badge i{
    opacity: .9;
    margin-right: 2px;
}


.status-badge b {
    margin-left: 2px;
    font-weight: 600;
}

.status-repair{
    color: #ff6b6b;
}
.status-repair i{
    color: #ff6b6b;
}

/* Teslim – yeşil */
.status-done{
    color: #4cd964;
}
.status-done i{
    color: #4cd964;
}

/* İptal – gri */
.status-cancel{
    color: #adb5bd;
}
.status-cancel i{
    color: #adb5bd;
}

/* İade – turuncu */
.status-return{
    color: #ffa94d;
}
.status-return i{
    color: #ffa94d;
}

/* Hazır – sarımsı / amber, dikkat çekici ama sakin */
.status-ready{
    color: #facc15; /* amber-400 */
}
.status-ready i{
    color: #facc15;
}

/* Hover sadece biraz belirginleşsin */
.status-badge:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}



/* ===== Topbar status – mobile hide ===== */
@media (max-width: 576px){
  .topbar-status{
    display: none !important;
  }
}


/* Header Topbar */






.main-area {
			height: 100vh;
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            min-width: 0;
            background: linear-gradient(180deg, #020617 0, #020617 100%);
        }

.topbar {
            min-height: 56px;
            padding: 0.6rem 1.1rem;
            border-bottom: 1px solid var(--border-color-soft);
            background: #020617;
            position: sticky;
            top: 0;
            z-index: 1020;
        }


.app-content {
      padding: 1.1rem 1.5rem 1.5rem;
			flex: 1 1 auto;
			overflow-y: auto;
      -webkit-overflow-scrolling: touch;
			overflow-x: hidden;
        }

.app-page {
            display: none;
            animation: fadeIn 0.18s ease-out;
        }

.app-page.active {
            display: block;
        }

@keyframes fadeIn {
            from { opacity: 0; transform: translateY(4px); }
            to { opacity: 1; transform: translateY(0); }
        }


        /* Index Dashboard */

        .dash-stats { flex: 0 0 auto; }
        .dash-stat-card{
            position: relative;
            border: 1px solid rgba(255,255,255,.08);
            background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
            overflow: hidden;
            --accent: #3b82f6;
        }
        .dash-stat-card[data-accent] { --accent: attr(data-accent color); }

        .dash-stat-card::before{
            content: "";
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 4px;
            background: var(--accent, #3b82f6);
            opacity: .95;
        }
        .dash-stat-card:hover{
            border-color: color-mix(in srgb, var(--accent, #3b82f6) 35%, rgba(255,255,255,.12));
        }
        .dash-stat-card .card-body { padding: .75rem .9rem; position: relative; z-index: 1; }

        .dash-stat-label { font-size: .78rem; letter-spacing: .2px; opacity: .85; }

        .dash-stat-icon{
            width: 32px; height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            color: var(--accent, #3b82f6);
            background: color-mix(in srgb, var(--accent, #3b82f6) 14%, rgba(255,255,255,.02));
            border: 1px solid color-mix(in srgb, var(--accent, #3b82f6) 25%, rgba(255,255,255,.08));
        }

        .dash-stat-value {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.1;
            color: var(--accent, #3b82f6);
            filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent, #3b82f6) 30%, transparent));
        }

        .dash-stat-sub { font-size: .74rem; opacity: .65; }

        /* Table card grows and scrolls internally */
        .dash-table-card { flex: 1 1 auto; min-height: 0; }
        .dash-table-card .card-body { height: 100%; display: flex; flex-direction: column; min-height: 0; }
        .dash-table-wrap { flex: 1 1 auto; min-height: 0; overflow: auto; }

        /* Reduce vertical footprint of the title area */
        .dash-title { margin-bottom: .5rem !important; }
        .dash-desc { margin-bottom: 0 !important; }

        .dash-stat-card {
            transition: transform .15s ease, box-shadow .15s ease;
        }
        .dash-stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,.35);
        }

        /* Index Darhboard */



.card-dark {
            background: #020617;
            border-color: var(--border-color-soft);
            border-radius: 0.3rem;
            
        }

.card-dark .card-header {
            border-bottom-color: rgba(30,64,175,0.4);
        }

.stat-card-value {
            font-size: 1.5rem;
            font-weight: 600;
        }

.stat-card-label {
            font-size: 0.85rem;
            color: #9ca3af;
        }

.table-dark {
            --bs-table-bg: #020617;
            --bs-table-striped-bg: #020617;
            --bs-table-striped-color: #e5e7eb;
            --bs-table-hover-bg: #0b1120;
            --bs-table-hover-color: #ffffff;
            border-radius: 0.9rem;
            overflow: hidden;
        }

.dt-length select,
        .dt-search input {
            background-color: #020617 !important;
            color: #e5e7eb !important;
            border-color: #111827 !important;
        }

.dt-info,
        .dt-paging .page-link {
            color: #e5e7eb !important;
        }

.dt-paging .page-link {
            background-color: #020617;
            border-color: #111827;
        }

.dt-paging .page-item.active .page-link {
            background: var(--accent-gradient);
            border-color: transparent;
            color: #020617 !important;
        }

.form-control,
        .form-select,
        .form-control:focus,
        .form-select:focus {
            background-color: #020617;
            border-color: #111827;
            color: #e5e7eb;
            box-shadow: inset 0 0 0 1px rgba(15,23,42,0.9);
        }

.form-control::placeholder {
            color: #6b7280;
        }

.btn-primary {
            background: var(--accent-gradient);
            border: none;
            color: #020617;
            font-weight: 600;
        }

.btn-primary:hover {
            filter: brightness(1.05);
        }

.btn-success {
            background: linear-gradient(135deg, #22c55e, #4ade80);
            border: none;
            color: #020617;
            font-weight: 600;
        }

.btn-success:hover {
            filter: brightness(1.05);
        }

/* Uyarı (amber ton, primary ile aynı ailede) */
        .btn-warning {
            background: linear-gradient(135deg, #f97316, #facc15);
            border: none;
            color: #020617;
            font-weight: 600;
        }

.btn-warning:hover {
            filter: brightness(1.05);
        }

/* Bilgi / ikincil aksiyon (mavi) */
        .btn-info {
            background: linear-gradient(135deg, #38bdf8, #0ea5e9);
            border: none;
            color: #020617;
            font-weight: 600;
        }

.btn-info:hover {
            filter: brightness(1.05);
        }

/* Kritik / silme işlemleri (kırmızı) */
        .btn-danger {
            background: linear-gradient(135deg, #ef4444, #b91c1c);
            border: none;
            color: #020617;
            font-weight: 600;
        }

.btn-danger:hover {
            filter: brightness(1.05);
        }

.btn-outline-light {
            border-color: #1f2937;
            color: #e5e7eb;
        }

.btn-outline-light:hover {
            background-color: #0b1120;
        }

.badge-soft {
            background: #020617;
            border-radius: 999px;
            padding: 0.15rem 0.65rem;
            font-size: 0.75rem;
            color: #9ca3af;
            border: 1px solid rgba(15,23,42,1);
        }

.badge-soft-warning {
            color: #fb923c;
        }

.sidebar-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1040;
        }

.breadcrumb-sm {
            font-size: 0.8rem;
            cursor: default;
        }

.breadcrumb-sm .active{
  color:orange;
}

.form-row-label {
            color: #e5e7eb;
            font-size: 0.85rem;
            padding-top: 0.55rem;
        }

.badge {
    font-weight: 400 !important;
}


/* Desktop: page scroll kapalı (sende zaten var) */
/* html, body { height: 100%; overflow: hidden; } */





@media (max-width: 768px) {
.sidebar {
				height: 100vh;
                position: fixed;
                top: 0;
                left: 0;
                bottom: 0;
                transform: translateX(-100%);
                width: var(--sidebar-width);
            }

body.sidebar-open .sidebar {
                transform: translateX(0);
            }

body.sidebar-open .sidebar-backdrop {
                display: block;
            }
}

/* === Scrollbar Stil Güncellemesi (Sidebar + İçerik) === */

		/* Firefox için ince ve koyu scrollbar */
		.sidebar,
		.app-content {
			scrollbar-width: thin; /* ince */
			scrollbar-color: #4b5563 #020617; /* thumb | track */
		}

/* Chrome / Edge / Safari için */
		.sidebar::-webkit-scrollbar,
		.app-content::-webkit-scrollbar {
			width: 8px;
			height: 8px;
		}

/* Track (arkaplan) */
		.sidebar::-webkit-scrollbar-track,
		.app-content::-webkit-scrollbar-track {
			background: #020617;
		}

/* Thumb (kaydırma çubuğu) */
		.sidebar::-webkit-scrollbar-thumb,
		.app-content::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, #1f2937, #111827); /* koyu, nötr gövde */
			border-radius: 999px;
			border: 2px solid #020617; /* track ile aynı, ince çerçeve efekti */
			box-shadow:
				0 0 0 1px rgba(15,23,42,0.9),
				0 4px 10px rgba(0,0,0,0.7);
		}

/* Hover’da hafif vurgu (turuncu – mavi palete uyumlu) */
		.sidebar::-webkit-scrollbar-thumb:hover,
		.app-content::-webkit-scrollbar-thumb:hover {
			background: linear-gradient(180deg, #38bdf8, #f97316);
		}

/* Hem default hem bootstrap-5 theme için ortak selectorlar */
        .select2-container--default .select2-selection,
        .select2-container--bootstrap-5 .select2-selection {
            background-color: #020617 !important;
            border-color: #1f2937 !important;
            color: #e5e7eb !important;
            min-height: 2.35rem;
        }

/* Focus görünümü (mavi yerine temaya uygun) */
        .select2-container--default.select2-container--open .select2-selection,
        .select2-container--bootstrap-5.select2-container--open .select2-selection,
        .select2-container--default.select2-container--focus .select2-selection,
        .select2-container--bootstrap-5.select2-container--focus .select2-selection {
            border-color: #38bdf8 !important;
            box-shadow: 0 0 0 1px #0f172a, 0 0 0 0.25rem rgba(56,189,248,0.35) !important;
        }

/* Placeholder rengi */
        .select2-container--default .select2-selection__placeholder,
        .select2-container--bootstrap-5 .select2-selection__placeholder {
            color: #6b7280 !important;
        }

/* Açılır liste */
        .select2-container--default .select2-dropdown,
        .select2-container--bootstrap-5 .select2-dropdown {
            background-color: #020617 !important;
            border-color: #1f2937 !important;
        }

/* Arama kutusu */
        .select2-container--default .select2-search__field,
        .select2-container--bootstrap-5 .select2-search__field {
            background-color: #020617 !important;
            border-color: #1f2937 !important;
            color: #e5e7eb !important;
        }

/* Opsiyonlar */
        .select2-container--default .select2-results__option,
        .select2-container--bootstrap-5 .select2-results__option {
            background-color: #020617;
            color: #e5e7eb;
        }

/* Hover/klavye ile seçili satır */
        .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
        .select2-container--bootstrap-5 .select2-results__option--highlighted.select2-results__option--selectable {
            background-color: #1f2937 !important;
            color: #e5e7eb !important;
        }

/* Seçili satır */
        .select2-container--default .select2-results__option--selected,
        .select2-container--bootstrap-5 .select2-results__option--selected {
            background-color: #111827 !important;
        }

/* Ok ikonu biraz daha soft */
        .select2-container--default .select2-selection__arrow b,
        .select2-container--bootstrap-5 .select2-selection__arrow b {
            border-color: #9ca3af transparent transparent transparent !important;
        }

/* Bootstrap .form-select-sm ile boy/üş yakalasın */
        .select2-container--bootstrap-5 .select2-selection--single {
            min-height: 2.1rem;
            padding: 0.15rem 2rem 0.15rem 0.5rem;
            font-size: 0.875rem;
        }

.select2-container--bootstrap-5 .select2-selection__rendered {
            line-height: 1.5;
        }

/* ==========================
   Select2 – Temaya Uygun Solid Görünüm
   ========================== */

/* Tek seçimli select2 için ana görünüm */
.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--default .select2-selection--single {
    background-color: #020617 !important;              /* karttan biraz farklı ama koyu */
    border-radius: 0.5rem !important;
    border: 1px solid rgba(148,163,184,0.35) !important;
    /*box-shadow:
        0 0 0 1px rgba(15,23,42,0.85),
        0 8px 20px rgba(15,23,42,0.7);*/
    min-height: 2.35rem;
    display: flex;
    align-items: center;
}

/* İçteki metin (seçilen değer) */
.select2-container--bootstrap-5 .select2-selection__rendered,
.select2-container--default .select2-selection__rendered {
    color: #e5e7eb !important;
    font-size: 0.875rem;
    padding-left: 0.6rem !important;
}

/* Hover’da biraz daha belirgin border */
.select2-container--bootstrap-5 .select2-selection--single:hover,
.select2-container--default .select2-selection--single:hover {
    border-color: #4b5563 !important;
}

/* Placeholder hâlâ okunur kalsın */
.select2-container--bootstrap-5 .select2-selection__placeholder,
.select2-container--default .select2-selection__placeholder {
    color: #9ca3af !important;
}

/* Sağdaki ok ve clear ikonları biraz daha belirgin */
.select2-container--bootstrap-5 .select2-selection__arrow b,
.select2-container--default .select2-selection__arrow b {
    border-color: #e5e7eb transparent transparent transparent !important;
}

.select2-container--bootstrap-5 .select2-selection__clear,
.select2-container--default .select2-selection__clear {
    color: #9ca3af !important;
}

.select2-container--bootstrap-5 .select2-selection__clear:hover,
.select2-container--default .select2-selection__clear:hover {
    color: #e5e7eb !important;
}

/* Modal'ı uygulama temasıyla birebir hizala */
.modal-content.modal-theme{
  background: var(--bg-card);                 /* #020617 */
  color: #e5e7eb;
  border: 1px solid var(--border-color-soft); /* #1e293b */
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.85),
    0 18px 60px rgba(0,0,0,0.75);
}

.modal-content.modal-theme .modal-header,
.modal-content.modal-theme .modal-footer{
  background: var(--bg-shell); /* #020617 */
  border-color: var(--border-color-soft);
}

.modal-content.modal-theme .modal-body{
  background: var(--bg-card);
}

/* Modal içindeki close butonu biraz daha net olsun */
.modal-content.modal-theme .btn-close{
  filter: invert(1) grayscale(100%);
  opacity: .85;
}

.modal-content.modal-theme .btn-close:hover{
  opacity: 1;
}

/* Modal loading overlay */
.modal-loading{
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-loading-inner{
  text-align: center;
  padding: 18px 22px;
  border: 1px solid var(--border-color-soft);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.92);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

/* =========================
   DataTable – İşlem Butonları
   ========================= */

table.dataTable .btn-group .btn{
    background: transparent;
    border-color: #1f2937;
    color: #cbd5f5;
    padding: 0.25rem 0.45rem;
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

/* ❌ Bootstrap’in siyah hover’ını iptal */
table.dataTable .btn-group .btn-outline-light:hover,
table.dataTable .btn-group .btn-outline-light:focus{
    background-color: transparent;
    box-shadow: none;
}

/* Genel hover – hafif glow */
table.dataTable .btn-group .btn:hover{
    background-color: rgba(255,255,255,0.03);
    transform: translateY(-1px);
}

/* =========================
   Aksiyon bazlı ikon renkleri
   ========================= */

/* Düzenle */
table.dataTable .btn_Duzenle:hover i{
    color: #38bdf8; /* mavi */
}

/* Sil */
table.dataTable .btn_Sil:hover i{
    color: #ef4444; /* kırmızı */
}

/* Cihazlar */
table.dataTable .btn_Cihazlar:hover i{
    color: #22c55e; /* yeşil */
}

/* Normal durumda ikonlar soft */
table.dataTable .btn-group .btn i{
    color: #94a3b8;
    transition: color 0.15s ease;
}

/* Focus outline’ı temaya uydur */
table.dataTable .btn-group .btn:focus{
    box-shadow:
        0 0 0 1px rgba(15,23,42,0.9),
        0 0 0 0.2rem rgba(56,189,248,0.25);
}

/* + butonu hover siyaha düşmesin (senin temaya uygun) */
#btn_MusteriYeni.btn-outline-light:hover{
    background-color: rgba(255,255,255,0.03);
}



/* Müşteri Arama */

/* Desktop'ta arama alanı yarım genişlik (mobilde full kalsın) */
.musteri-search{
  width: 100%;
  position: relative; /* dropdown referansı bu olsun */
}

@media (min-width: 992px){
  .musteri-search-wrap{ max-width: 520px; }
  .musteri-search{ max-width: 520px; }
}



/* Varsayılanda Sonuç Yokken Gizli Kalsın */
.AramaSonuc{
  display: none;
  margin-top: 0 !important;      /* eski hack’i öldür */
  position: absolute;
  left: 0;
  top: calc(100% + 8px);         /* input altına 8px boşluk */
  width: 100%;
  cursor: pointer;
  overflow-y: auto;
  max-height: 260px;
  box-sizing: border-box;
  z-index: 9900;                 /* modal vs üstünde kalsın */
}

/* Sonuç varken göster */
.AramaSonuc.is-open{
  display: block;
}

#div_AramaSonuc_Musteri:before{
  display: none;
}

.AramaSonuc.is-open #div_AramaSonuc_Musteri:before{
  display: block;
}


/* Kutu görünümü */
#div_AramaSonuc_Musteri{
  background: rgba(2, 6, 23, 0.96);                 /* mevcutla aynı değil, cam gibi */
  border: 1px solid rgba(148, 163, 184, 0.18);      /* daha açık */
  border-radius: 12px;
  overflow: hidden;
  position: relative;

  /* katman hissi: çift gölge + hafif outline */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 18px 60px rgba(0,0,0,0.80),
    0 6px 18px rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}




/* Satırlar */
#div_AramaSonuc_Musteri .list-group-item{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #e5e7eb;
  padding: 10px 12px;
}

#div_AramaSonuc_Musteri .list-group-item:hover,
#div_AramaSonuc_Musteri .list-group-item:focus{
  background: rgba(56, 189, 248, 0.08);            /* açık mavi glow */
  box-shadow: inset 0 0 0 1px rgba(56,189,248,0.18);
}

#div_AramaSonuc_Musteri .list-group-item:last-child{
  border-bottom: none;
}

#div_SeciliMusteri{
  width: 100%;
  max-width: 100%;
}

#div_SeciliMusteri .musteri-card{ /* kartı basarken bu class'ı ekle */
  width: 100%;
}

.musteri-search-wrap{ width:100%; }
  @media (min-width: 992px){
    .musteri-search-wrap{ max-width: 520px; } /* input neyse kart da o */
}

/* ************************* */
/* Cihazlar listesinde ki Cihaz ekle modalı için bunlar ekstradan yazıldı  */

/* Varsayılanda Sonuç Yokken Gizli Kalsın */
.AramaSonuc_CihazEkle{
  display: none;
  margin-top: 0 !important;      /* eski hack’i öldür */
  position: absolute;
  left: 0;
  top: calc(100% + 8px);         /* input altına 8px boşluk */
  width: 100%;
  cursor: pointer;
  overflow-y: auto;
  max-height: 260px;
  box-sizing: border-box;
  z-index: 9900;                 /* modal vs üstünde kalsın */
}

/* Sonuç varken göster */
.AramaSonuc_CihazEkle.is-open{
  display: block;
}

#div_AramaSonuc_CihazEkle_Musteri:before{
  display: none;
}

.AramaSonuc_CihazEkle.is-open #div_AramaSonuc_CihazEkle_Musteri:before{
  display: block;
}


/* Kutu görünümü */
#div_AramaSonuc_CihazEkle_Musteri{
  background: rgba(2, 6, 23, 0.96);                 /* mevcutla aynı değil, cam gibi */
  border: 1px solid rgba(148, 163, 184, 0.18);      /* daha açık */
  border-radius: 12px;
  overflow: hidden;
  position: relative;

  /* katman hissi: çift gölge + hafif outline */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 18px 60px rgba(0,0,0,0.80),
    0 6px 18px rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}




/* Satırlar */
#div_AramaSonuc_CihazEkle_Musteri .list-group-item{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #e5e7eb;
  padding: 10px 12px;
}

#div_AramaSonuc_CihazEkle_Musteri .list-group-item:hover,
#div_AramaSonuc_CihazEkle_Musteri .list-group-item:focus{
  background: rgba(56, 189, 248, 0.08);            /* açık mavi glow */
  box-shadow: inset 0 0 0 1px rgba(56,189,248,0.18);
}

#div_AramaSonuc_CihazEkle_Musteri .list-group-item:last-child{
  border-bottom: none;
}

#div_SeciliMusteri_CihazEkle{
  width: 100%;
  max-width: 100%;
}

#div_SeciliMusteri_CihazEkle .musteri-card{ /* kartı basarken bu class'ı ekle */
  width: 100%;
}

.musteri-search-wrap{ width:100%; }
  @media (min-width: 992px){
    .musteri-search-wrap{ max-width: 520px; } /* input neyse kart da o */
}



/* ********************* */

/* Senin template’te kullandığın sınıflar: title/meta daha düzenli dursun */
.musteri-li-title{
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;              /* uzun isim taşmasın */
}

.musteri-li-meta{
  display: flex;
  gap: 12px;
  color: rgba(229,231,235,0.75);
  font-size: 12px;
}

.musteri-li-meta i{
  margin-right: 6px;
  opacity: .85;
}

.musteri-selected-badge{
  margin-top: 5px;
}

.musteri-selected-badge .box{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;

  border: 1px solid rgba(148,163,184,0.22);    /* border geri geldi */
  background: rgba(255,255,255,0.04);          /* bir tık daha belirgin */
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);     /* kart hissi */
  padding: 10px 12px;                           /* biraz daha premium */
  border-radius: 12px;
}

.musteri-selected-badge .name{
  font-weight: 600;
}

.musteri-selected-badge .meta{
  font-size: 0.82rem;
  color: #9ca3af;
}

.musteri-selected-badge .box .badge{
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset;
}

.musteri-selected-badge .info-content {
  flex: 1;
}

/* QR resminin kart içinde çok devasa durmasını engeller ve estetik katar */
.musteri-selected-badge .qr-box img {
  
  display: block; /* Resmin altındaki varsayılan boşluğu kaldırır */
  border-radius: 8px; /* Ufak bir kavis */
  background: white; /* Resmin arkasında temiz bir beyazlık sağlar */
  padding: 4px; /* QR kodun sınırlarının daha şık görünmesi için iç boşluk */
}



.cihaz-selected-badge{
  margin-top: 10px;
}

/* Müşteri kartıyla aynı box dili */
.cihaz-selected-badge .box{
  width: 100%;
  border: 1px solid rgba(148,163,184,0.22);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  padding: 10px 12px;
  border-radius: 12px;
}

/* Üst satır */
.cihaz-selected-badge .cihaz-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

/* Servis No badge */
.cihaz-selected-badge .badge-servisno{
  display:inline-flex;
  align-items:center;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset;
  font-weight: 600;
}

/* Tarih pill */
.cihaz-selected-badge .cihaz-date{
  display:inline-flex;
  align-items:center;
  padding: .22rem .55rem;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(0,0,0,0.10);
  font-size: .80rem;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Alt meta: içerik kadar ama max 240px */
.cihaz-selected-badge .cihaz-meta{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(max-content, 240px);
  grid-auto-rows: auto;
  column-gap: 10px;
  align-items: start;
  font-size: 12px;

  /* Sığmazsa alta insin */
  overflow-x: auto; /* istemezsen kaldır, ama modal daralınca yatay taşmayı engeller */
}

/* Cihaz item */
.cihaz-selected-badge .cihaz-item{
  position: relative;
  padding: 0 10px 0 0;
  min-width: 0; /* kritik */
}

/* Etiket/değer */
.cihaz-selected-badge .cihaz-item .lbl{
  display:block;
  font-size: .78rem;
  color:#9ca3af;
  margin-bottom: 2px;
}

.cihaz-selected-badge .cihaz-item .val{
  display:block;
  font-weight:600;
  color:#e5e7eb;

  max-width: 240px;           /* max 240 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dikey ayraç */
.cihaz-selected-badge .cihaz-item:not(:last-child)::after{
  content: "";
  position: absolute;
  right: -5px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
}





.dt-date {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.badge-status{
    display: inline-flex;
    align-items: center;
    /*justify-content: center;*/
    /*min-width: 180px;*/
    padding: .2rem .6rem;
    font-weight: 600;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.12);
    white-space: nowrap;
    cursor: pointer;
}

.badge-odeme{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .6rem;
    font-weight: 600;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.12);
    white-space: nowrap;
    cursor: pointer;
}

.badge-odemeAlinmadi{
   animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
    70% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}


.bg-purple{ background-color:#6f42c1 !important; color:#fff !important; }

.bg-teal{ background-color:#20c997 !important; color:#0b1a14 !important; }

.bg-orange{ background-color:#fd7e14 !important; color:#1b0e03 !important; }

/* Timeline container */
.timeline-wrap{
    position: relative;
    padding-left: 18px;
    max-height: 280px;       /* modal içinde taşmasın */
    overflow: auto;
}

/* Dikey çizgi */
.timeline-wrap::before{
    content:"";
    position:absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(255,255,255,.12);
}

/* Timeline item */
.timeline-mini{
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;       /* ✅ yatay scroll'u öldür */
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-right: .25rem;    /* scrollbar içeride kalsın */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) rgba(255,255,255,.08);
}

.timeline-mini.compact .tl-row{
    padding: .3rem .45rem;
    font-size: .78rem;
}

/* Webkit (Chrome, Edge, Safari) */
.timeline-mini::-webkit-scrollbar{
    width: 8px;
}

.timeline-mini::-webkit-scrollbar-track{
    background: rgba(255,255,255,.06);
    border-radius: 10px;
}

.timeline-mini::-webkit-scrollbar-thumb{
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.45),
        rgba(255,255,255,.25)
    );
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,.25); /* thumb iç boşluk efekti */
    opacity: .6;
    transition: opacity .2s ease;
}

.timeline-mini::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.65),
        rgba(255,255,255,.35)
    );
    opacity: 1;
}

.tl-row{
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .55rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: .5rem;
    background: rgba(0,0,0,.18);
    min-width: 0;             /* ✅ flex overflow fix */
}

.tl-row.is-latest{
    border-color: rgba(40, 199, 111, .45);
    box-shadow: 0 0 0 1px rgba(40,199,111,.15);
}

.tl-time{
    flex: 0 0 128px;          /* sol sabit */
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    white-space: nowrap;
}

.tl-badge{
    flex: 1 1 auto;           /* orta esnek */
    min-width: 0;             /* ✅ truncate çalışsın */
}

.tl-user{
    flex: 0 0 120px;          /* sağ sabit */
    font-size: .80rem;
    color: rgba(255,255,255,.85);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge taşarsa kırp */
.tl-badge .badge-status{
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* mobilde daha iyi */
@media (max-width: 576px){
    .tl-row{ align-items: flex-start; }
    .tl-time{ flex: 0 0 auto; }
    .tl-user{ flex: 0 0 auto; text-align:left; color: rgba(255,255,255,.70); }
}

/* ==========================================
   toogle için özel ayarlar
   ========================================== */

.custom-toggle .btn {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1; /* kritik */
    height: 28px;   /* input-group-sm ile uyumlu */
}

.custom-toggle {
    height: 30px;
}

/* Datatable işlem dropdown toggle (dark uyumlu hover) */
/* DataTable işlem butonu hover fix */
.dt-action-btn {
    color: #f8f9fa;
    border-color: rgba(255,255,255,0.35);
}

.dt-action-btn:hover,
.dt-action-btn:focus,
.dt-action-btn.show {
    background-color: rgba(255,255,255,0.08); /* hafif açık */
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
}

.dt-action-btn:hover i,
.dt-action-btn:focus i,
.dt-action-btn.show i {
    color: #ffffff;
}

.dt-dd-inbody { z-index: 2000; }



/* Tooltip dark theme garanti */
.tooltip .tooltip-inner{
  background: rgba(15, 23, 42, .96); /* koyu */
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .82rem;
  padding: .35rem .5rem;
  white-space: pre-line;
  line-height: 1.35;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before{ border-top-color: rgba(15, 23, 42, .96); }
.tooltip.bs-tooltip-bottom .tooltip-arrow::before{ border-bottom-color: rgba(15, 23, 42, .96); }
.tooltip.bs-tooltip-start .tooltip-arrow::before{ border-left-color: rgba(15, 23, 42, .96); }
.tooltip.bs-tooltip-end .tooltip-arrow::before{ border-right-color: rgba(15, 23, 42, .96); }





/* ===== DataTables footer (info + pagination) compact ===== */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding: 0.25rem 0 !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
}

/* ===== Pagination (Bootstrap markup) - compact + tam ortalı ===== */
.dataTables_wrapper .dataTables_paginate ul.pagination {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .page-item {
    margin: 0 !important;
}

/* TAM ORTALAMA: height + line-height aynı, padding üst-alt 0 */
.dataTables_wrapper .dataTables_paginate .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 28px !important;
    line-height: 28px !important;

    padding: 0 12px !important;     /* üst-alt 0, sağ-sol 12 */
    font-size: 0.8rem !important;

    border-radius: 6px !important;
}

/* Sayı butonları sabit genişlik (1,2,3…) */
.dataTables_wrapper .dataTables_paginate .page-item:not(:first-child):not(:last-child) .page-link {
    width: 34px !important;
    padding: 0 !important;          /* width varken padding istemiyoruz */
}

/* Önceki/Sonraki */
.dataTables_wrapper .dataTables_paginate .page-item:first-child .page-link,
.dataTables_wrapper .dataTables_paginate .page-item:last-child .page-link {
    min-width: 64px !important;
    padding: 0 14px !important;
}

.dataTables_wrapper .dataTables_paginate .page-link { top: 0 !important; }

.dataTables_filter input {
    min-width: 260px;
    font-size: 0.85rem;
}

/* Pasif kayıt satırı */
tr.dt-row-passive td {
    opacity: 0.55;
}

/* Pasif kayıt sütunu */
.dt-cell-passive {
    color: #9aa0a6 !important;
    /*background-color: rgba(255,255,255,0.02) !important;*/
}

/* Tablo üstüne toplam sayıyı gösteren alan */
#dtCihazCount {
    opacity: .75;
    font-size: .85rem;
    white-space: nowrap;
}




/* dt_cihazListesi arama alanı*/


/* Arama alanı wrapper */

/* Desktop default */
.dt-toolbar {
  gap: .75rem;
}

.reportCardHeader{
  display:flex;
  align-items:center;
  gap:.75rem;
}

.reportCard-title-wrap{
    white-space: nowrap;
}

.reportDt-toolbar{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:.5rem;
  white-space:nowrap;
}

/* ********************************************* */
/* RAPORLAR İÇİN */
/* MOBİL: kırdır, toolbar alt satıra gelsin  */
@media (max-width: 576px){
  .reportCardHeader{
    flex-wrap:wrap;              /* kritik */
    align-items:flex-start;
  }

  .reportCard-title-wrap{
    flex: 1 1 100%;              /* başlık tam satır */
    white-space: normal;         /* gerekirse kır */
  }

  .reportDt-toolbar{
    flex: 1 1 100%;              /* toolbar tam satır */
    margin-left:0;               /* artık sağa itme yok */
    justify-content: space-between;
    white-space: normal;         /* gerekirse kır */
  }

  /* Export kısmı çok uzunsa yatay kaydır */
  .dt-export-wrap{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Butonlar tek satır kalsın, wrap olmasın */
  #dtExportButtons{
    display:inline-flex;
    gap:.4rem;
    white-space: nowrap;
  }
}
/* RAPORLAR İÇİN */
/* MOBİL: kırdır, toolbar alt satıra gelsin  */
/* ********************************************* */


/* Mobilde: search üstte tam genişlik, sayaçlar altta */
@media (max-width: 576px) {
  .dt-toolbar {
    flex-direction: column;
    align-items: stretch !important;
  }

  /* search bloğu tam genişlik */
  #dt_CihazListesi_filter,
  #dt_CihazListesi_filter .dataTables_filter,
  #dt_CihazListesi_filter .dataTables_filter label,
  #dt_CihazListesi_filter .dataTables_filter input.dt-search {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* search bloğu tam genişlik */
  #dt_MusteriListesi_filter,
  #dt_MusteriListesi_filter .dataTables_filter,
  #dt_MusteriListesi_filter .dataTables_filter label,
  #dt_MusteriListesi_filter .dataTables_filter input.dt-search {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* sayaçlar tek satırda, taşarsa yatay kaydır */
  #dtCihazCount .dt-count-badges {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  #dtCihazCount .dt-count-badges::-webkit-scrollbar {
    height: 4px;
  }
}

/* Datatable filtre gösteren tasarım */

/* Sayaç badge grubu */
.dt-count-badges{
  display:flex;
  align-items:center;
  gap:.5rem;
  white-space:nowrap;
}

/* Soft badge (dark theme uyumlu) */
.badge-soft{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  font-weight:600;
  padding:.35rem .55rem;
  border-radius:.55rem;
}

/* Varyantlar */
.badge-soft.badge-soft-info{
  border-color: rgba(13,202,240,.25);
  background: rgba(13,202,240,.08);
  color: rgba(13,202,240,.95);
}

.badge-soft.badge-soft-warning{
  border-color: rgba(255,193,7,.25);
  background: rgba(255,193,7,.08);
  color: rgba(255,193,7,.95);
}

.badge-soft .label{
  opacity:.75;
  font-weight:600;
  margin-right:.25rem;
}

.badge-soft .value{
  font-weight:800;
}

/* Pasif satırda işlem butonları yine okunur kalsın istersen */
tr.dt-row-passive td:last-child {
    opacity: 0.85;
}

tr.dt-row-passive .btn,
tr.dt-row-passive .action-btn {
    opacity: 0.6;
}

tr.dt-row-passive:hover td {
    opacity: 0.8;
}

.dt-badge-passive {
    background-color: #2a2f3a !important;
    color: #9aa3b2 !important;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 6px;
}

/* ===== DataTables Scrollbar (Dark Theme) ===== */

/* Chrome, Edge, Safari */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 8px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #0b1220;              /* tablo arka planına yakın */
    border-radius: 8px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: rgba(43, 53, 72, 0.4);
}

.dataTables_scrollBody:hover::-webkit-scrollbar-thumb {
    background-color: #2b3548;
}

/* Firefox */
.dataTables_scrollBody {
    scrollbar-width: thin;
    scrollbar-color: #2b3548 #0b1220;
}

.dt-price{
  font-weight: 600;
  white-space: nowrap !important;
}

.dt-price small{
    opacity: .6;
    margin-left: 2px;
}

.dt-price i {
    font-size: 0.85rem;
    vertical-align: middle;
    cursor: help;
}

.dt-action i {
    cursor: help;
}

/* ===== Dark Theme Tooltip ===== */
.tooltip {
    --bs-tooltip-bg: #1e2430;          /* koyu arka plan */
    --bs-tooltip-color: #f1f5f9;       /* açık yazı */
    --bs-tooltip-opacity: 1;
    font-size: 0.8rem;
}

.tooltip .tooltip-inner {
    background-color: var(--bs-tooltip-bg);
    color: var(--bs-tooltip-color);
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Ok rengi (placement'a göre) */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--bs-tooltip-bg);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--bs-tooltip-bg);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--bs-tooltip-bg);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--bs-tooltip-bg);
}

/* ==========================================================
   MUSTERI DETAY MODAL - dt_MusteriCihazlar FINAL CSS
   Scope: Sadece ve sadece dt_MusteriCihazlar
   ========================================================== */

/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
.dt_MusteriCihazlar.table,
.dt_MusteriCihazlar.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
.dt_MusteriCihazlar {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
.dt_MusteriCihazlar thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
.dt_MusteriCihazlar tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
.dt_MusteriCihazlar tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
.dt_MusteriCihazlar td,
.dt_MusteriCihazlar th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
.dt_MusteriCihazlar td:nth-child(1) {
  white-space: normal !important;
  line-height: 1.15;
}

/* Marka-Model taşma kontrolü */
.dt_MusteriCihazlar td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
.dt_MusteriCihazlar tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
.dt_MusteriCihazlar .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

.dt_MusteriCihazlar tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

.dt_MusteriCihazlar tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}


/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
.dt_MusteriCihazlar thead .sorting:before,
.dt_MusteriCihazlar thead .sorting:after,
.dt_MusteriCihazlar thead .sorting_asc:before,
.dt_MusteriCihazlar thead .sorting_asc:after,
.dt_MusteriCihazlar thead .sorting_desc:before,
.dt_MusteriCihazlar thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */
.dt_MusteriCihazlar_wrapper .dataTables_paginate {
  padding-top: 10px;
}

.dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(10, 16, 30, 0.60) !important;
  color: rgba(255,255,255,0.80) !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

.dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(13,110,253,0.85) !important;
  border-color: rgba(13,110,253,0.95) !important;
  color: #fff !important;
}

.dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
.dt_MusteriCihazlar_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
.dt_MusteriCihazlar_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
.dt_MusteriCihazlar_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
.dt_MusteriCihazlar_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
.dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

.dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

.dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

.dt_MusteriCihazlar tbody tr.dt-row-passive td{
  opacity: .65;
}

.dt_MusteriCihazlar .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}


/* ---------------------------------------------------------
   Müşteri Detay - Kalan Borç Paneli
   --------------------------------------------------------- */
.musteri-borc-panel {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}

.musteri-borc-baslik {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.musteri-borc-baslik i {
  color: rgba(220, 53, 69, 0.85);
}

.musteri-borc-liste {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 32px;
}

.musteri-borc-satir {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

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

.musteri-borc-tutar {
  font-size: 15px;
  font-weight: 700;
  color: #ff6b7a;
}

.musteri-borc-pb {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.musteri-borc-bos {
  font-size: 12px;
  color: rgba(40, 167, 69, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}




/* ==========================================================
   MUSTERI DETAY MODAL - dt_MusteriCihazlar FINAL CSS
   Scope: Sadece #modal_MusteriCihazlari ve sadece dt_MusteriCihazlar
   ========================================================== */

   /* =========================================================
   MÜŞTERİ TOPLU ÖDEME MODAL - CSS
   Scope: Sadece #modal_MusteriOdeme
   ========================================================= */

/* -------- Para Birimi Seçim Butonları -------- */
#modal_MusteriOdeme .musteri-odeme-pb-secim {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#modal_MusteriOdeme .musteri-odeme-pb-btn {
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

#modal_MusteriOdeme .musteri-odeme-pb-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

#modal_MusteriOdeme .musteri-odeme-pb-btn.active {
  background: rgba(13, 110, 253, 0.18);
  border-color: rgba(13, 110, 253, 0.65);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

#modal_MusteriOdeme .musteri-odeme-pb-btn .pb-kod {
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

#modal_MusteriOdeme .musteri-odeme-pb-btn .pb-tutar {
  font-weight: 700;
  font-size: 14px;
  color: #ff6b7a;
}

#modal_MusteriOdeme .musteri-odeme-pb-btn.active .pb-kod {
  color: rgba(255, 255, 255, 0.85);
}

/* -------- Kalan Borç Vurgusu -------- */
#modal_MusteriOdeme .musteri-odeme-kalan-borc {
  font-size: 18px;
  font-weight: 700;
  color: #ff6b7a;
  padding: 6px 0;
}

#modal_MusteriOdeme .musteri-odeme-kalan-borc small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 4px;
}

/* -------- Tutar uyarı satırı -------- */
#modal_MusteriOdeme #div_MusteriOdeme_TutarUyari {
  font-size: 11.5px;
  min-height: 16px;
}

#modal_MusteriOdeme #div_MusteriOdeme_TutarUyari.text-danger {
  color: #ff6b7a !important;
}

/* -------- Dağılım Tablosu (modal'ın diğer table stillerine uyumlu) -------- */
#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim {
  font-size: 12.5px;
}

#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim thead th {
  background: rgba(10, 16, 30, 0.92) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 8px 10px !important;
  white-space: nowrap;
}

#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim tbody td {
  background: rgba(13, 20, 38, 0.70) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 12.5px !important;
  padding: 8px 10px !important;
  vertical-align: middle !important;
}

#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim td.text-end,
#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim th.text-end {
  text-align: end;
}

#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim .dagilim-odenecek {
  color: #4ade80;
  font-weight: 700;
}

#modal_MusteriOdeme #dt_MusteriOdeme_Dagilim .dagilim-kapandi {
  color: rgba(255, 255, 255, 0.45);
}



/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#modal_MusteriCihazlari #ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar.table,
#modal_MusteriCihazlari .dt_MusteriCihazlar.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
#modal_MusteriCihazlari .dt_MusteriCihazlar tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
#modal_MusteriCihazlari .dt_MusteriCihazlar td,
#modal_MusteriCihazlari .dt_MusteriCihazlar th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
#modal_MusteriCihazlari .dt_MusteriCihazlar td:nth-child(1) {
  white-space: normal !important;
  line-height: 1.15;
}

/* Marka-Model taşma kontrolü */
#modal_MusteriCihazlari .dt_MusteriCihazlar td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
#modal_MusteriCihazlari .dt_MusteriCihazlar tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
#modal_MusteriCihazlari .dt_MusteriCihazlar .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting:before,
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting:after,
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting_asc:before,
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting_asc:after,
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting_desc:before,
#modal_MusteriCihazlari .dt_MusteriCihazlar thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate {
  padding-top: 10px;
}

#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(10, 16, 30, 0.60) !important;
  color: rgba(255,255,255,0.80) !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(13,110,253,0.85) !important;
  border-color: rgba(13,110,253,0.95) !important;
  color: #fff !important;
}

#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

#modal_MusteriCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

#modal_MusteriCihazlari .dt_MusteriCihazlar tbody tr.dt-row-passive td{
  opacity: .65;
}

#modal_MusteriCihazlari .dt_MusteriCihazlar .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}

/* ==========================================================
   Scope: Sadece #modal_KullaniciCihazlari ve sadece dt_MusteriCihazlar
   ========================================================== */

/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#modal_KullaniciCihazlari #ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}




/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar.table,
#modal_KullaniciCihazlari .dt_MusteriCihazlar.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
#modal_KullaniciCihazlari .dt_MusteriCihazlar td,
#modal_KullaniciCihazlari .dt_MusteriCihazlar th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
#modal_KullaniciCihazlari .dt_MusteriCihazlar td:nth-child(1) {
  /*white-space: normal !important;*/
  line-height: 1.15;
}

/* tüm hücreler tek satır */
#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody td {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* tarih hücresindeki small'ı da tek satır yap (istersen) */
#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody td small {
  display: inline !important;
  margin-left: 6px;
}

/* Marka-Model taşma kontrolü */
#modal_KullaniciCihazlari .dt_MusteriCihazlar td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
#modal_KullaniciCihazlari .dt_MusteriCihazlar .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting:before,
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting:after,
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting_asc:before,
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting_asc:after,
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting_desc:before,
#modal_KullaniciCihazlari .dt_MusteriCihazlar thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */

/* wrapper arka planını ve paddingini sıfırla */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate {
  background: transparent !important;
  padding: 0 !important;
  margin-top: .75rem;
  float: right !important;
  text-align: right !important;

  display: flex !important;
  gap: 2px !important;
  justify-content: flex-end;
}

/* Butonların arka planını tamamen kaldır */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  color: rgba(255,255,255,0.75) !important;

  padding: 4px 8px !important;
  margin: 0 1px !important;
  border-radius: 6px !important;

  font-size: 12px !important;
  transition: color .15s ease;
}

/* Önceki ve Sonraki de sıkı dursun */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button.previous,
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button.next{
  margin: 0 4px !important;
}

/* Sayıların olduğu span'ı da flex yap -> gerçek spacing kontrolü */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_paginate span {
  display: inline-flex !important;
  gap: 2px !important;          /* 1-2 arası yap */
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* hover sadece renk değişsin */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button:hover {
  background: transparent !important;
  color: #fff !important;
}

/* aktif sayfa */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button.current {
  background: transparent !important;
  color: #0d6efd !important;
  font-weight: 600 !important;
}

/* disabled */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button.disabled {
  opacity: .35 !important;
  cursor: default !important;
}

/* focus ring kalıntılarını da temizle */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .paginate_button:focus {
  outline: none !important;
  box-shadow: none !important;
}


/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

#modal_KullaniciCihazlari .dt_MusteriCihazlar_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

#modal_KullaniciCihazlari .dt_MusteriCihazlar tbody tr.dt-row-passive td{
  opacity: .65;
}

#modal_KullaniciCihazlari .dt_MusteriCihazlar .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}


/* Ödeme Geçmişi Özet Bilgi */

/* Header içinde sağ özet alanı */
.odeme-header .odeme-ozet{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 0;
}

/* Sağ üst pill */
.ozet-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.28rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
  line-height: 1;
  white-space: nowrap;
}

/* Label (Kalan / Ödenen vs) */
.ozet-label{
  font-size: .75rem;
  opacity: .80;
  letter-spacing: .2px;
}

/* Değer */
.ozet-value{
  font-size: .82rem;
  font-weight: 700;
}

/* Ortak pill zaten var: .ozet-pill */

/* Kalan = 0  → Yeşil */
.ozet-pill.is-paid{
  border-color: rgba(25, 210, 120, .45);
  background: rgba(25, 210, 120, .14);
  color: #7CFFB2;
}

/* Kalan > 0 → Sarı */
.ozet-pill.is-pending{
  border-color: rgba(255, 193, 7, .45);
  background: rgba(255, 193, 7, .14);
  color: #FFD76A;
}

/* Mobilde taşmayı önle */
@media (max-width: 576px){
  .ozet-pill{
    max-width: 52vw;
    overflow:hidden;
    text-overflow: ellipsis;
  }
}
/* Ödeme Geçmişi Özet Bilgi */



/* ==========================================================
   dt_CihazOdemeler_OdemeEkleDuzenle FINAL CSS
   Scope: Sadece #modal_OdemeDuzenle ve sadece dt_CihazOdemeler_OdemeEkleDuzenle
   ========================================================== */

/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#modal_OdemeDuzenle #ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}


/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle.table,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle td,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle td:nth-child(1) {
  white-space: normal !important;
  line-height: 1.15;
}

/* Marka-Model taşma kontrolü */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

#dt_CihazOdemeler_OdemeEkleDuzenle tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

#dt_CihazOdemeler_OdemeEkleDuzenle tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}


/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting:before,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting:after,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting_asc:before,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting_asc:after,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting_desc:before,
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_paginate {
  padding-top: 10px;
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(10, 16, 30, 0.60) !important;
  color: rgba(255,255,255,0.80) !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(13,110,253,0.85) !important;
  border-color: rgba(13,110,253,0.95) !important;
  color: #fff !important;
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle tbody tr.dt-row-passive td{
  opacity: .65;
}

#modal_OdemeDuzenle #dt_CihazOdemeler_OdemeEkleDuzenle .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}





/* ==========================================================
   dt_CihazOdemeler FINAL CSS
   Scope: Sadece #modal_FiyatDuzenle ve sadece dt_CihazOdemeler
   ========================================================== */

/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#modal_FiyatDuzenle #ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}


/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler.table,
#modal_FiyatDuzenle #dt_CihazOdemeler.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
#modal_FiyatDuzenle #dt_CihazOdemeler tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
#modal_FiyatDuzenle #dt_CihazOdemeler td,
#modal_FiyatDuzenle #dt_CihazOdemeler th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
#modal_FiyatDuzenle #dt_CihazOdemeler td:nth-child(1) {
  white-space: normal !important;
  line-height: 1.15;
}

/* Marka-Model taşma kontrolü */
#modal_FiyatDuzenle #dt_CihazOdemeler td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
#modal_FiyatDuzenle #dt_CihazOdemeler tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
#modal_FiyatDuzenle #dt_CihazOdemeler .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

#dt_CihazOdemeler tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

#dt_CihazOdemeler tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}


/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting:before,
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting:after,
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting_asc:before,
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting_asc:after,
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting_desc:before,
#modal_FiyatDuzenle #dt_CihazOdemeler thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_paginate {
  padding-top: 10px;
}

#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(10, 16, 30, 0.60) !important;
  color: rgba(255,255,255,0.80) !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(13,110,253,0.85) !important;
  border-color: rgba(13,110,253,0.95) !important;
  color: #fff !important;
}

#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

#modal_FiyatDuzenle #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

#modal_FiyatDuzenle #dt_CihazOdemeler tbody tr.dt-row-passive td{
  opacity: .65;
}

#modal_FiyatDuzenle #dt_CihazOdemeler .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}

/* ==========================================================
   MUSTERI DETAY MODAL - dt_CihazOdemeler FINAL CSS
   Scope: Sadece #modal_MusteriCihazlari ve sadece dt_CihazOdemeler
   ========================================================== */

/* -----------------------------
   Card yüzeyi (cihazlar bölümü)
   ----------------------------- */
#modal_MusteriCihazlari #ms_cihaz_card {
  background: linear-gradient(180deg, rgba(15, 24, 44, 0.55), rgba(7, 12, 22, 0.55)) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

/* -----------------------------------
   Bootstrap table-dark varsayımları kır
   ----------------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler.table,
#modal_MusteriCihazlari #dt_CihazOdemeler.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgba(255,255,255,0.92) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-border-color: rgba(255,255,255,0.08) !important;
}

/* -----------------------------
   Genel font / compact ayar
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler {
  font-size: 12.5px;
}

/* -----------------------------
   Header (thead)
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler thead th {
  background: rgba(10, 16, 30, 0.92) !important; /* #0a101e */
  color: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;

  font-weight: 700 !important;
  font-size: 12px !important;

  padding: 10px 10px !important;
  white-space: nowrap;
}

/* -----------------------------
   Body (tbody)
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler tbody td {
  background: rgba(13, 20, 38, 0.70) !important; /* #0d1426 */
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;

  color: rgba(255,255,255,0.92) !important;

  font-size: 12.5px !important;
  padding: 10px 10px !important;
  vertical-align: middle !important;
}

/* Hover */
#modal_MusteriCihazlari #dt_CihazOdemeler tbody tr:hover td {
  background: rgba(18, 28, 52, 0.85) !important; /* #121c34 */
}

/* Grid çizgilerini yumuşat */
#modal_MusteriCihazlari #dt_CihazOdemeler td,
#modal_MusteriCihazlari #dt_CihazOdemeler th {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Tarih hücresi 2 satır */
#modal_MusteriCihazlari #dt_CihazOdemeler td:nth-child(1) {
  white-space: normal !important;
  line-height: 1.15;
}

/* Marka-Model taşma kontrolü */
#modal_MusteriCihazlari #dt_CihazOdemeler td:nth-child(4) {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarih hücresindeki küçük saat satırı */
#modal_MusteriCihazlari #dt_CihazOdemeler tbody td small {
  font-size: 11px !important;
  opacity: .75;
}

/* Badge ölçeği */
#modal_MusteriCihazlari #dt_CihazOdemeler .badge {
  font-size: 11.5px !important;
  padding: 4px 8px !important;
}

/* -----------------------------
   DataTables sorting okları
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting:before,
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting:after,
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting_asc:before,
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting_asc:after,
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting_desc:before,
#modal_MusteriCihazlari #dt_CihazOdemeler thead .sorting_desc:after {
  opacity: .25 !important;
}

/* -----------------------------
   DataTables pagination
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_paginate {
  padding-top: 10px;
}

#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(10, 16, 30, 0.60) !important;
  color: rgba(255,255,255,0.80) !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(13,110,253,0.85) !important;
  border-color: rgba(13,110,253,0.95) !important;
  color: #fff !important;
}

#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

/* -----------------------------
   DataTables responsive child row
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper table.dataTable > tbody > tr.child td.child {
  background: rgba(10, 16, 30, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
}

/* -----------------------------
   DataTables filter (Arama) + Bootstrap Icons search icon
   - "Ara:" yazısı gizlenir
   - padding çakışması yok
   ----------------------------- */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* label wrapper */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter label{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0; /* Ara: gizle */
}

/* icon */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* input */
#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px; /* tek satır */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 12.5px;
}

#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

#modal_MusteriCihazlari #dt_CihazOdemeler_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

#modal_MusteriCihazlari #dt_CihazOdemeler tbody tr.dt-row-passive td{
  opacity: .65;
}

#modal_MusteriCihazlari #dt_CihazOdemeler .dt-badge-passive{
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 8px;
}










/* ==========================================
   Profil sayfası
   ========================================== */
.profile-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.profile-hero::before{
    content:"";
    position:absolute;
    inset:-60px -60px auto auto;
    width:220px;height:220px;
    filter: blur(2px);
    pointer-events:none;
}

.profile-hero::after{
    content:"";
    position:absolute;
    inset:auto auto -80px -80px;
    width:260px;height:260px;
    filter: blur(4px);
    pointer-events:none;
}

.profile-avatar {
    width: 72px; height: 72px;
    border-radius: 999px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(59,130,246,0.85), rgba(168,85,247,0.75));
    flex-shrink: 0;
}

.profile-avatar img{
    width: 100%; height: 100%;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(0,0,0,0.25);
}

.profile-avatar .fallback{
    width: 100%; height: 100%;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
    background: rgba(0,0,0,0.35);
}

.profile-name{
    font-weight: 800;
    letter-spacing: .2px;
}

.pill-muted{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(229,231,235,0.85);
}

.kv-row{
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 10px 0;
}

.kv-row:last-child{ border-bottom: 0; }

.kv-k{
    font-size: 12px;
    color: rgba(229,231,235,0.60);
}

.kv-v{
    font-size: 14px;
    color: rgba(229,231,235,0.92);
    word-break: break-word;
}

.btn-soft{
    background: rgba(59,130,246,0.14);
    border: 1px solid rgba(59,130,246,0.22);
    color: rgba(255,255,255,0.92);
}

.btn-soft:hover{
    background: rgba(59,130,246,0.20);
    border-color: rgba(59,130,246,0.30);
    color: #fff;
}

.btn-danger-soft{
    background: rgba(239,68,68,0.14);
    border: 1px solid rgba(239,68,68,0.22);
    color: rgba(255,255,255,0.92);
}

.btn-danger-soft:hover{
    background: rgba(239,68,68,0.20);
    border-color: rgba(239,68,68,0.30);
    color: #fff;
}

.hint{
    color: rgba(229,231,235,0.55);
    font-size: 12px;
}

/* ==========================================
   Profil sayfası
   ========================================== */







/* ==========================================
   Tüm Datatable öğeleri için geçerli compact tasarım
   ========================================== */

table.dt-compact {
    font-size: 0.85rem;
}

/* Hücre yüksekliği */
table.dt-compact thead th,
table.dt-compact tbody td {
    padding: 0.35rem 0.5rem !important;
    vertical-align: middle;
}

/* Badge / button / ikonlar */
table.dt-compact .badge,
table.dt-compact .btn,
table.dt-compact i {
    font-size: 0.8rem;
}

/* İşlem kolonundaki ikonlar sıkışmasın */
table.dt-compact td:last-child {
    white-space: nowrap;
}


/* ==========================================
   Tüm Datatable öğeleri için geçerli compact tasarım
   ========================================== */








   
/* Bootstrap form-text override (koyu tema için) */
.modal-theme .form-text {
  margin-top: 6px;                 /* input ile nefes */
  font-size: 12px;                 /* Bootstrap’la uyumlu */
  line-height: 1.3;
  color: rgba(233, 236, 239, 0.55); /* soft ama okunur */
}

.modal-theme textarea.form-control {
  resize: vertical; /* horizontal kapalı */
  min-height: 96px;
}

.modal-theme textarea.form-control::placeholder {
  color: rgba(233,236,239,0.45);
}

.user-badge {
    font-size: 13px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ============================== modal_CihazDurum ============================== */



/* =========================================================
   Servis Takip - Cihaz Durumu Modal (modal_CihazDurum)
   Unified background: modal arka planı ile aynı, ayrım sadece border ile
   - ID / class isimleri değiştirilmez
   - Sadece bu modalı etkiler
   ========================================================= */

/* İçteki "Teslim Bilgileri" kutusu: aynı zemin + border */
#modal_CihazDurum .teslimBilgileri .border.border-secondary{
  background: transparent !important;
  border-color: rgba(255,255,255,.12) !important;
}

/* KV (cihaz özeti) */
#modal_CihazDurum .kv-key{ color: rgba(255,255,255,.55); }
#modal_CihazDurum .kv-val{ color: rgba(255,255,255,.92); }

#modal_CihazDurum .kv-row{
    display: grid !important;
    grid-template-columns: 86px 1fr !important;
    gap: .5rem !important;
    align-items: center !important;
    min-width: 0 !important;
}

#modal_CihazDurum .kv-key{
    color: rgba(255,255,255,.62) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

#modal_CihazDurum .kv-val{
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: .15rem .55rem !important;
    border-radius: .45rem !important;
    background: rgba(255,255,255,.06) !important;
    color: rgba(255,255,255,.92) !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* Timeline container */
#modal_CihazDurum #mdl_DurumTimeline{
  background: transparent !important;
}


/* XL modalda alt bölümün yüksekliği kontrol altında olsun */
@media (min-width: 992px) {
  #mdl_DurumTimeline {
    max-height: 460px;   /* ekranına göre 400-520 arası ideal */
    overflow: auto;
    padding-right: 4px;
  }
}

/* Sol form alanları da şişmesin */
#txt_CihazaYapilanIslemler { max-height: 140px; }
#txt_TeslimAlan_Notlar { max-height: 70px; }

/* Durum Güncelle kartına ince vurgu */
.card.status-accent { position: relative; overflow: hidden; }
.card.status-accent::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  /*border-left: 2px solid rgba(32,201,151,.6);*/
}
.card.status-accent[data-durum="TESLIM"]::before { background: rgba(32,201,151,.95); }
.card.status-accent[data-durum="ONARIM"]::before { background: rgba(220,53,69,.95); }
.card.status-accent[data-durum="INCELEME"]::before { background: rgba(13,202,240,.95); }
.card.status-accent[data-durum="HAZIR"]::before { background: rgba(25,135,84,.95); }
.card.status-accent[data-durum="IADE"]::before { background: rgba(253,126,20,.95); }
.card.status-accent[data-durum="SERVIS_KAYIT"]::before { background: rgba(13,110,253,.95); }



/* Aktif durum: koduna göre */
.ms-step.is-active[data-kod="TESLIM"] .ms-dot {
    background: rgba(32,201,151,1);
    border-color: rgba(32,201,151,1);
}

.ms-step.is-active[data-kod="ONARIM"] .ms-dot {
    background: rgba(220,53,69,1);
    border-color: rgba(220,53,69,1);
}

.ms-step.is-active[data-kod="TEST"] .ms-dot {
    background: rgba(111,66,193,1);
    border-color: rgba(111,66,193,1);
}

.ms-step.is-active[data-kod="ONAY"] .ms-dot {
    background: rgba(255,193,7,1);
    border-color: rgba(255,193,7,1);
}

/* Terminal */
.ms-step.is-active[data-kod="IPTAL"] .ms-dot {
    background: rgba(108,117,125,1);
    border-color: rgba(108,117,125,1);
}

.ms-step.is-active[data-kod="IADE"] .ms-dot {
    background: rgba(253,126,20,1);
    border-color: rgba(253,126,20,1);
}


/* TESLIM bloğu hafif vurgulu */
.teslimBilgileri .border {
  border-color: rgba(32,201,151,.55) !important;
  box-shadow: 0 0 0 1px rgba(32,201,151,.20) inset;
}

/* =========================================================
   Servis Takip - Durum Geçmişi (Milestone Rail)
   VERTICAL ONE-LINE (v5) - ALIGN FIX
   Fix:
   - Active (son durum) satırı SAĞA kaymasın: padding sabit, highlight inset shadow
   - Aradaki NOKTA işaretleri ile dot'lar aynı dikey eksende: ortak center (var(--ms-x))
   - Çizgi yok, sadece nokta
   - Son/aktif dot: pulse
   ========================================================= */

.ms-rail { padding: 8px 6px 4px; }

/* Ortak eksen: 18px ikon kolonunun ortası = 9px */
:root{
  --ms-icon-col: 18px;
  --ms-x: 15px;                 /* kolon ortası (18/2) */
  --ms-gap: 12px;
}

/* container */
.ms-track.is-vertical{
  display:flex;
  flex-direction: column-reverse;   /* eski -> yeni yukarı */
  gap: 8px;
  padding: 6px 4px;
}

/* satır */
.ms-track.is-vertical .ms-step{
  position: relative;
  display: grid;
  grid-template-columns: var(--ms-icon-col) 1fr;
  column-gap: var(--ms-gap);
  align-items: center;
  min-width: 0;

  /* Tüm satırlar aynı hizada kalsın diye padding SABİT */
  padding: 4px 6px;                /* <-- aktif/normal aynı */
  border-radius: 10px;
}

/* çizgiyi tamamen kapat */
.ms-track.is-vertical .ms-step::before{ display:none !important; }

/* connector dot (her satırın ALTINDA küçük nokta)
   - dot ile aynı eksende */
.ms-track.is-vertical .ms-step::after{
  content:"";
  position:absolute;
  left: var(--ms-x);
  bottom: -6px;                    /* satır altına */
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  transform: translateX(-50%);
  z-index: 0;
}
.ms-track.is-vertical .ms-step:first-child::after{ display:none; } /* en altta nokta olmasın */

.ms-track.is-vertical .ms-step:hover{
  background: rgba(255,255,255,.035);
}


/* dot (ikon) */
.ms-dot{
  grid-column: 1;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display:inline-block;
  justify-self: center;
  background: rgba(255,255,255,.14);
  /*border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 0 3px rgba(0,0,0,.55);*/
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* label satırı */
.ms-label{
  grid-column: 2;
  min-width: 0;
  display:flex;
  align-items:center;
  gap: 10px;
}

/* status */
.ms-status{
  flex: 0 0 auto;
  font-weight: 500;
  font-size: 13px;
  color: rgba(255,255,255,.88);

  max-width: 220px;
  min-width: 0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* meta */
.ms-meta-inline{
  flex: 0 0 auto;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  opacity: .9;
}
.ms-meta-inline .ms-user{
  max-width: 160px;
  display:inline-block;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align: bottom;
}
.ms-meta-inline.is-empty{ display:none; }

/* note chip */
.ms-note{
  flex: 1 1 auto;
  min-width: 120px;

  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);

  font-size: 12px;
  color: rgba(255,255,255,.62);
  line-height: 1.2;

  cursor:pointer;
  user-select:none;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-note.is-open{
  white-space: normal;
  overflow: visible;
  border-radius: 10px;
}

/* ACTIVE highlight: layout oynatmasın */
.ms-track.is-vertical .ms-step.is-active{
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);  /* border yerine inset */
}

/* Pulse sadece aktif dot */
.ms-track.is-vertical .ms-step.is-active .ms-dot{
  animation: msPulse 1.2s ease-in-out infinite;
}
@keyframes msPulse{
  0%   { box-shadow: 0 0 0 0 rgba(32,201,151,.00); }
  50%  { box-shadow: 0 0 0 4px rgba(32,201,151,.18); }
  100% { box-shadow: 0 0 0 0 rgba(32,201,151,.00); }
}

/* fallback done/active (renkler kod bazlı aşağıda zaten) */
.ms-step.is-done .ms-dot{ background: rgba(25,135,84,.75); border-color: rgba(25,135,84,.95); }
.ms-step.is-active .ms-dot{ background: rgba(32,201,151,.95); border-color: rgba(32,201,151,1); }

/* dot colors by status code */
.ms-step[data-kod="KAYIT"]    .ms-dot{ background: rgba(13,110,253,.95);  border-color: rgba(13,110,253,1); }
.ms-step[data-kod="INCELEME"] .ms-dot{ background: rgba(13,202,240,.95);  border-color: rgba(13,202,240,1); }
.ms-step[data-kod="ONAY"]     .ms-dot{ background: rgba(255,193,7,.95);   border-color: rgba(255,193,7,1); }
.ms-step[data-kod="ONARIM"]   .ms-dot{ background: rgba(220,53,69,.95);   border-color: rgba(220,53,69,1); }
.ms-step[data-kod="TEST"]     .ms-dot{ background: rgba(111,66,193,.95);  border-color: rgba(111,66,193,1); }
.ms-step[data-kod="HAZIR"]    .ms-dot{ background: rgba(25,135,84,.95);   border-color: rgba(25,135,84,1); }
.ms-step[data-kod="TESLIM"]   .ms-dot{ background: rgba(32,201,151,.95);  border-color: rgba(32,201,151,1); }
.ms-step[data-kod="IPTAL"]    .ms-dot{ background: rgba(108,117,125,.95); border-color: rgba(108,117,125,1); }
.ms-step[data-kod="IADE"]     .ms-dot{ background: rgba(253,126,20,.95);  border-color: rgba(253,126,20,1); }

/* bottom summary ("Son:") */
.ms-meta{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ms-meta-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.ms-last-badge{ display:inline-block; }
.ms-meta-right{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.ms-meta-right .ms-user{
  max-width: 220px;
  display:inline-block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* panel scroll */
@media (min-width: 992px){
  #mdl_DurumTimeline{
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
  }
}

/* small screens */
@media (max-width: 576px){
  .ms-status{ max-width: 150px; font-size: 12.5px; }
  .ms-meta-inline .ms-user{ max-width: 90px; }
  .ms-note{ min-width: 90px; }
}














/* ============================== dt_CihazListesi ============================== */

/* WRAPPER'A POSITION RELATIVE - KRİTİK */
#dt_CihazListesi_wrapper {
    position: relative;
}

/* Overlay */
.dt-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 1.25rem;
    animation: fadeIn 0.2s ease;
}

.dt-loading-overlay.hidden {
    display: none;
}

.dt-loading-overlay .spinner {
    width: 4rem;
    height: 4rem;
    position: relative;
    border: none;
    animation: none;
}

.dt-loading-overlay .spinner::before,
.dt-loading-overlay .spinner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.dt-loading-overlay .spinner::before {
    border-top-color: #3b82f6;
    border-right-color: #3b82f6;
    animation: dt-spin 1s cubic-bezier(0.5, 0.1, 0.5, 1) infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.dt-loading-overlay .spinner::after {
    border-bottom-color: #818cf8;
    border-left-color: #818cf8;
    animation: dt-spin 1.5s cubic-bezier(0.5, 0.1, 0.5, 1) infinite reverse;
    inset: 6px;
}

.dt-loading-overlay .loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-left: 0;
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes dt-spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


/* ==========================================
   dt_CihazListesi - Search (Ara) satırı
   ========================================== */

#dt_CihazListesi_wrapper .dataTables_filter{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  position:relative;
}

/* label wrapper */
#dt_CihazListesi_wrapper .dataTables_filter label{
  position:relative;
  margin:0;
  display:inline-flex;
  align-items:center;
}

/* search icon */
#dt_CihazListesi_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* search input */
#dt_CihazListesi_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px;   /* 👈 TEK SATIR */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 13px;
}

/* focus */
#dt_CihazListesi_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

/* placeholder */
#dt_CihazListesi_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

/* "Ara:" yazısını gizle ama layout bozma */
#dt_CihazListesi_wrapper .dataTables_filter label{
  font-size:0;
}

#dt_CihazListesi_wrapper .dataTables_filter label input{
  font-size:13px;
}

/* Filter bizim div içine taşındı */
#dt_CihazListesi_filter .dataTables_filter {
    margin: 0 !important;
}

#dt_CihazListesi_filter .dataTables_filter label {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: .5rem;
}

#dt_CihazListesi_filter .dataTables_filter input {
    margin-left: 0 !important;
}

#dt_CihazListesi_filter .dataTables_filter {
    position: relative;
    margin: 0 !important;
}

/* Label artık sadece container gibi çalışsın */
#dt_CihazListesi_filter .dataTables_filter label {
    margin: 0 !important;
    display: block;
}

/* Input – eski stile yakın */
#dt_CihazListesi_filter .dataTables_filter input.dt-search {
    width: 350px;          /* eski genişliğin */
    padding-left: 34px;    /* ikon için boşluk */
    border-radius: 10px;   /* senin UI çizgine uygun */
}

/* Bootstrap Icons – arama ikonu */
#dt_CihazListesi_filter .dataTables_filter::before {
    content: "\F52A"; /* bi-search */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: .6;
    pointer-events: none;
}

#dt_CihazListesi tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

#dt_CihazListesi tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}





/* ============================== modal_MusteriDetay ============================== */

#ms_cihaz_card .card-body {
  padding: 14px 14px 10px;
}

/* ============================== dt_MusteriListesi ============================== */

/* ==========================================
   dt_MusteriListesi - Search (Ara) satırı
   ========================================== */

#dt_MusteriListesi_wrapper .dataTables_filter{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  position:relative;
}

/* label wrapper */
#dt_MusteriListesi_wrapper .dataTables_filter label{
  position:relative;
  margin:0;
  display:inline-flex;
  align-items:center;
}

/* search icon */
#dt_MusteriListesi_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* search input */
#dt_MusteriListesi_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px;   /* 👈 TEK SATIR */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 13px;
}

/* focus */
#dt_MusteriListesi_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

/* placeholder */
#dt_MusteriListesi_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

/* "Ara:" yazısını gizle ama layout bozma */
#dt_MusteriListesi_wrapper .dataTables_filter label{
  font-size:0;
}

#dt_MusteriListesi_wrapper .dataTables_filter label input{
  font-size:13px;
}

#dt_MusteriListesi tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

#dt_MusteriListesi tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}


/* Filter bizim div içine taşındı */
#dt_MusteriListesi_filter .dataTables_filter {
    margin: 0 !important;
}

#dt_MusteriListesi_filter .dataTables_filter label {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: .5rem;
}

#dt_MusteriListesi_filter .dataTables_filter input {
    margin-left: 0 !important;
}

#dt_MusteriListesi_filter .dataTables_filter {
    position: relative;
    margin: 0 !important;
}

/* Label artık sadece container gibi çalışsın */
#dt_MusteriListesi_filter .dataTables_filter label {
    margin: 0 !important;
    display: block;
}

/* Input – eski stile yakın */
#dt_MusteriListesi_filter .dataTables_filter input.dt-search {
    width: 350px;          /* eski genişliğin */
    padding-left: 34px;    /* ikon için boşluk */
    border-radius: 10px;   /* senin UI çizgine uygun */
}

/* Bootstrap Icons – arama ikonu */
#dt_MusteriListesi_filter .dataTables_filter::before {
    content: "\F52A"; /* bi-search */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: .6;
    pointer-events: none;
}

#dt_MusteriListesi tbody tr:hover .dt-badge-count{
  background: rgba(13,202,240,.28);
  border-color: rgba(13,202,240,.60);
}





/* ============================== modal_MusteriCihazlari ============================== */

#modal_MusteriCihazlari #ms_cihaz_card .card-body {
  padding: 14px 14px 10px;
}





/* Modal Scroll-bar */

/* ===== Modal Body Scrollbar (WebKit: Chrome, Edge, Safari) ===== */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(148,163,184,.35); /* slate-400 */
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148,163,184,.6);
}

/* ===== Firefox ===== */
.modal-dialog-scrollable .modal-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,.45) transparent;
}

.modal-dialog-scrollable .modal-body {
    scrollbar-gutter: stable;
}




/* Tabloda Tarih Saat Gösterimi */

.dt-date{
    line-height: 1.2;
    white-space: nowrap;
}

.dt-date small {
    opacity: .55;
    font-size: .75rem;
}

.dt-sortkey{ display:none !important; }



/*
.form-actions-sticky{
    position: sticky;
    bottom: 0;
    z-index: 20;

    display: flex;
    gap: 8px;
    justify-content: flex-end; /* aksiyon = sağ */

    /*padding: 12px 0 6px;
}
*/





.custom-card{
  margin: 0 auto;
}

.custom-card .card-body{
  padding: 18px;
}

.form-row-label{
  padding-top: 6px;
  opacity: .92;
  white-space: nowrap;
}

/* Sol/sağ bloklar: hafif ayrışsın ama modal temasına uyumlu kalsın */
.cihaz-box{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px;
  background: rgba(0,0,0,.08);
}


/* 
  Sticky action bar
  Form Altında ki buton alanı
 */
.form-actions-sticky{
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 0 6px;
}
/* 
  Sticky action bar
  Form Altında ki buton alanı
 */


.dt-dd-teleport {
  z-index: 2000;
}


/*
  Firma Logo
*/

/* ✅ Yan yana hizalama wrapper’ı */
.logo-row{
    display: flex;
    gap: 24px;
    align-items: flex-start; /* ⬅️ aynı hiza */
    flex-wrap: wrap;         /* mobilde alt alta düşsün */
}

/* ✅ Her bir blok: başlık + kutu */
.logo-col{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ Üst başlıklar aynı baseline */
.logo-title,
.current-logo-label{
    font-size: 12px;
    color: #888;
    margin-bottom: 6px; /* eşitle */
}

/* Upload kutusu */
.logo-upload {
    position: relative;
    width: 180px;
    height: 120px;
}

.logo-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.logo-preview {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #aaa;
    font-size: 13px;
    text-align: center;
    transition: all .2s ease;
}

.logo-preview i {
    font-size: 26px;
    opacity: .7;
}

.logo-upload:hover .logo-preview {
    border-color: #ffc107;
    color: #ffc107;
    background: rgba(255,193,7,.05);
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* Mevcut logo kutusu */
.current-logo-preview {
    width: 180px;
    height: 120px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.current-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* Mevcut logo kapsayıcı (istersen kalsın, şart değil) */
.current-logo-box {
    width: 180px;
}

/*
  Firma Logo
*/




/* Datatable BADGE */


.dt-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2px;
  user-select: none;
}

.dt-badge-count{
  color: rgba(255,255,255,.92);
  background: rgba(13,202,240,.22);              /* info tonunu temaya uydur */
  border: 1px solid rgba(13,202,240,.45);
  box-shadow: 0 0 0 .15rem rgba(13,202,240,.08); /* hafif glow */
}


/* 0 cihaz = PASİF görünüm (daha sönük) */
.dt-badge-count.zero{
  background: rgba(255,255,255,.03) !important;
  border-color: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.38) !important;
  box-shadow: none !important;
  filter: saturate(.6);
}

/* 1–2 cihaz */
.dt-badge-count.low{
  background: rgba(13,202,240,.18);
  border-color: rgba(13,202,240,.40);
}

/* 3–5 cihaz */
.dt-badge-count.mid{
  background: rgba(13,202,240,.26);
  border-color: rgba(13,202,240,.65);
  box-shadow: 0 0 0 .18rem rgba(13,202,240,.10);
}

/* 6+ cihaz (dikkat çeken) */
.dt-badge-count.high{
  background: rgba(32,201,151,.30);   /* yeşile kay */
  border-color: rgba(32,201,151,.75);
  box-shadow: 0 0 0 .2rem rgba(32,201,151,.14);
}

/* Toplam Cihaz badge: her yerde ortalı */
.dt-badge-toplamcihaz{
  margin: 0 auto;
  display: inline-flex;
}

/* Datatable BADGE */





/* =========================================================
   Datatable Export Buttons (FINAL v2 - softer, theme-match)
   - Default: softer border + background
   - Hover: brighter + subtle glow
   - Icon-only: square buttons, optically centered icons
   ========================================================= */

.dt-export-label{
  font-size: .75rem;
  opacity: .65;
  white-space: nowrap;
  line-height: 1;
}

/* DataTables Buttons container */
.dt-export .dt-buttons{
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .30rem;
}

/* Icon-only export buttons */
.dt-export .dt-buttons .dt-btn-export{
  width: 34px !important;
  height: 30px !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: .60rem !important;
  line-height: 1 !important;

  /* softer default */
  background: rgba(255,255,255,.020) !important;
  border: 1px solid rgba(255,255,255,.090) !important;
  color: rgba(255,255,255,.82) !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
}

/* kill outline variants so they don't pop */
.dt-export .dt-buttons .dt-btn-export.btn-outline-success,
.dt-export .dt-buttons .dt-btn-export.btn-outline-danger,
.dt-export .dt-buttons .dt-btn-export.btn-outline-light{
  background: rgba(255,255,255,.020) !important;
  border-color: rgba(255,255,255,.090) !important;
  color: rgba(255,255,255,.82) !important;
}

/* icon: optical centering + crisp */
.dt-export .dt-buttons .dt-btn-export i{
  margin: 0 !important;
  width: auto !important;
  font-size: 1rem;
  line-height: 1;
  position: relative;
  top: .5px;          /* optical fix */
  opacity: .98;       /* slightly crisper */
}

/* hover: brighten + premium lift */
.dt-export .dt-buttons .dt-btn-export:hover{
  background: rgba(255,255,255,.060) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
}

/* optional subtle accent glow */
.dt-export .dt-buttons .dt-btn-export.dt-btn-excel:hover{
  box-shadow:
    0 0 0 1px rgba(46, 204, 113, .22),
    0 0 10px rgba(46, 204, 113, .10);
}
.dt-export .dt-buttons .dt-btn-export.dt-btn-pdf:hover{
  box-shadow:
    0 0 0 1px rgba(231, 76, 60, .22),
    0 0 10px rgba(231, 76, 60, .10);
}

/* ========================================================= */



/* ============================== dt_RaporSonuclari ============================== */


  /* search bloğu tam genişlik */
  #dt_RaporSonuclari_filter,
  #dt_RaporSonuclari_filter .dataTables_filter,
  #dt_RaporSonuclari_filter .dataTables_filter label,
  #dt_RaporSonuclari_filter .dataTables_filter input.dt-search {
    width: 100% !important;
    max-width: 100% !important;
  }
  


/* ==========================================
   dt_RaporSonuclari - Search (Ara) satırı
   ========================================== */

#dt_RaporSonuclari_wrapper .dataTables_filter{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  position:relative;
}

/* label wrapper */
#dt_RaporSonuclari_wrapper .dataTables_filter label{
  position:relative;
  margin:0;
  display:inline-flex;
  align-items:center;
}

/* search icon */
#dt_RaporSonuclari_wrapper .dataTables_filter label::before{
  content: "\F52A"; /* bi-search */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}

/* search input */
#dt_RaporSonuclari_wrapper .dataTables_filter input[type="search"]{
  width: 260px;
  height: 34px;
  padding: 6px 10px 6px 34px;   /* 👈 TEK SATIR */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 13px;
}

/* focus */
#dt_RaporSonuclari_wrapper .dataTables_filter input[type="search"]:focus{
  border-color: rgba(13,110,253,0.65);
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.20);
}

/* placeholder */
#dt_RaporSonuclari_wrapper .dataTables_filter input[type="search"]::placeholder{
  color: rgba(255,255,255,0.40);
}

/* "Ara:" yazısını gizle ama layout bozma */
#dt_RaporSonuclari_wrapper .dataTables_filter label{
  font-size:0;
}

#dt_RaporSonuclari_wrapper .dataTables_filter label input{
  font-size:13px;
}

/* Filter bizim div içine taşındı */
#dt_RaporSonuclari_filter .dataTables_filter {
    margin: 0 !important;
}

#dt_RaporSonuclari_filter .dataTables_filter label {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: .5rem;
}

#dt_RaporSonuclari_filter .dataTables_filter input {
    margin-left: 0 !important;
}

#dt_RaporSonuclari_filter .dataTables_filter {
    position: relative;
    margin: 0 !important;
}

/* Label artık sadece container gibi çalışsın */
#dt_RaporSonuclari_filter .dataTables_filter label {
    margin: 0 !important;
    display: block;
}

/* Input – eski stile yakın */
#dt_RaporSonuclari_filter .dataTables_filter input.dt-search {
    width: 350px;          /* eski genişliğin */
    padding-left: 34px;    /* ikon için boşluk */
    border-radius: 10px;   /* senin UI çizgine uygun */
}

/* Bootstrap Icons – arama ikonu */
#dt_RaporSonuclari_filter .dataTables_filter::before {
    content: "\F52A"; /* bi-search */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: .6;
    pointer-events: none;
}

#dt_RaporSonuclari tbody tr:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

#dt_RaporSonuclari tbody tr.child:hover > * {
    background-color: rgba(255,255,255,.05) !important;
}

.dt-musteri {
  cursor: pointer;
  /*text-decoration: underline dotted;
  text-underline-offset: 3px;*/
}

.dt-musteri:hover {
  text-decoration-style: solid;
}


.borc-tooltip {
    text-align: left;
    min-width: 180px;
}

.borc-tooltip-baslik {
    font-weight: 700;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.borc-tooltip-altbaslik {
    font-size: 10.5px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.borc-tooltip > div:not(.borc-tooltip-baslik):not(.borc-tooltip-altbaslik) {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}