:root {
  --rd-primary:#2563eb;
  --rd-primary-dark:#1d4ed8;
  --rd-info:#0ea5e9;
  --rd-success:#16a34a;
  --rd-danger:#dc2626;
  --rd-warning:#ea580c;
  --rd-text:#0f172a;
  --rd-muted:#64748b;
  --rd-soft:#f8fafc;
  --rd-line:#e2e8f0;
}
body { font-size:14px; color:var(--rd-text); background:#eef3f8; }
.small-muted { color:var(--rd-muted); font-size:12px; }
.content-wrapper { background:linear-gradient(180deg,#eef6ff 0,#f7f9fc 260px,#f4f6f9 100%); }
.main-sidebar { background:#0f172a!important; }
.brand-link { border-bottom:1px solid rgba(255,255,255,.08)!important; }
.brand-link .brand-text { font-weight:700!important; letter-spacing:.2px; }
.nav-sidebar .nav-link { border-radius:12px; margin:.12rem .55rem; }
.nav-sidebar .nav-link.active { background:linear-gradient(135deg,var(--rd-primary),var(--rd-info))!important; box-shadow:0 10px 24px rgba(37,99,235,.25); }
.nav-header { color:#94a3b8!important; font-size:11px; letter-spacing:.08em; }
.navbar-white { background:rgba(255,255,255,.88)!important; backdrop-filter: blur(10px); border-bottom:1px solid rgba(226,232,240,.8); }
.card { border:0; box-shadow:0 14px 34px rgba(15,23,42,.07); border-radius:18px; overflow:hidden; }
.card-header { border-bottom:1px solid #edf2f7; background:#fff; }
.card-title { font-weight:700; color:var(--rd-text); }
.info-box { border-radius:18px; box-shadow:0 14px 34px rgba(15,23,42,.07); overflow:hidden; min-height:92px; }
.info-box-icon { width:74px; border-radius:18px 0 0 18px; }
.info-box-number { font-size:18px; }
.table td, .table th { vertical-align:middle; }
.table thead th { border-bottom:1px solid var(--rd-line); color:var(--rd-muted); font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.btn { border-radius:12px; font-weight:600; }
.form-control, .custom-select { border-radius:12px; border-color:#dbe4ef; }
.form-control:focus, .custom-select:focus { border-color:var(--rd-primary); box-shadow:0 0 0 .2rem rgba(37,99,235,.12); }
.badge-soft { padding:.45rem .65rem; border-radius:999px; }
.quick-link { min-width:170px; text-align:left; }
.receipt-thumb { max-height:38px; border-radius:8px; }
.print-page { max-width:980px; margin:30px auto; background:#fff; padding:24px; }
.dashboard-hero { color:#fff; background:linear-gradient(135deg,#1d4ed8,#0284c7 62%,#0f766e); border-radius:24px; padding:24px; box-shadow:0 18px 44px rgba(37,99,235,.24); position:relative; overflow:hidden; }
.dashboard-hero:after { content:""; position:absolute; width:240px; height:240px; right:-90px; top:-95px; border-radius:999px; background:rgba(255,255,255,.12); }
.dashboard-hero h3 { font-weight:800; margin-bottom:4px; position:relative; z-index:1; }
.dashboard-hero p, .dashboard-hero a, .dashboard-hero span, .dashboard-hero strong { position:relative; z-index:1; }
.hero-metric { background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.16); border-radius:18px; padding:14px; height:100%; }
.hero-metric span { display:block; color:#dbeafe; font-size:12px; }
.hero-metric strong { display:block; color:#fff; font-size:18px; margin-top:4px; }
.soft-panel { background:#fff; border-radius:18px; box-shadow:0 14px 34px rgba(15,23,42,.07); padding:16px; }
.progress.slim { height:10px; border-radius:999px; background:#e2e8f0; }
.progress.slim .progress-bar { border-radius:999px; }
.kpi-chip { display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:7px 10px; font-size:12px; font-weight:700; background:#eff6ff; color:#2563eb; }
.kpi-chip.success { background:#dcfce7; color:#15803d; }
.kpi-chip.warning { background:#ffedd5; color:#c2410c; }
.kpi-chip.danger { background:#fee2e2; color:#b91c1c; }
.action-card { display:block; padding:16px; background:#f8fafc; border:1px solid #edf2f7; border-radius:18px; color:var(--rd-text); transition:.18s ease; min-height:100px; }
.action-card:hover { color:var(--rd-text); transform:translateY(-2px); box-shadow:0 14px 30px rgba(15,23,42,.08); text-decoration:none; }
.action-card i { font-size:22px; color:var(--rd-primary); }
.action-card strong { display:block; margin-top:10px; }
.action-card span { display:block; color:var(--rd-muted); font-size:12px; margin-top:2px; }
.unit-mini { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #eef2f7; }
.unit-mini:last-child { border-bottom:0; }
.unit-badge { width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; border-radius:14px; background:#eff6ff; color:#2563eb; font-weight:800; }
@media print { .print-btn { display:none!important; } body { background:#fff; } .print-page { box-shadow:none; margin:0; max-width:none; } }
@media (max-width: 767px) { .dashboard-hero { padding:18px; border-radius:18px; } .quick-link { width:100%; } .content-header { padding:10px .5rem; } }

.metric-note{font-size:12px;color:#64748b}.text-prewrap{white-space:pre-wrap}.content-header h4{color:#0f172a}.main-sidebar .brand-link{background:#0b1220}

/* Kullanıcı yedeği detay ekranı */
.backup-identity-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.backup-identity-item{background:#fff;border:1px solid #e8eef6;border-radius:16px;padding:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);min-width:0}
.backup-identity-item span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.backup-identity-item strong{display:block;color:#0f172a;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.backup-identity-item small{display:block;color:#64748b;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.backup-tabs-card{overflow:visible}
.backup-tabs .nav-link{border-radius:12px;color:#475569;font-weight:700;margin:2px}
.backup-tabs .nav-link.active{background:linear-gradient(135deg,#2563eb,#0ea5e9);box-shadow:0 8px 20px rgba(37,99,235,.2)}
.finance-total{background:#f8fafc;border:1px solid #e8eef6;border-radius:16px;padding:14px;height:100%}
.finance-total span,.mini-metric span{display:block;color:#64748b;font-size:12px}
.finance-total strong,.mini-metric strong{display:block;font-size:20px;margin-top:4px;color:#0f172a}
.finance-total small{display:block;color:#64748b;margin-top:4px}
.finance-total.success{background:#f0fdf4;border-color:#dcfce7}.finance-total.success strong{color:#15803d}
.finance-total.danger{background:#fff7ed;border-color:#ffedd5}.finance-total.danger strong{color:#c2410c}
.finance-total.primary{background:#eff6ff;border-color:#dbeafe}.finance-total.primary strong{color:#1d4ed8}
.backup-definition>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #eef2f7}
.backup-definition>div:last-child{border-bottom:0}.backup-definition dt{color:#64748b;font-weight:600;margin:0}.backup-definition dd{text-align:right;font-weight:700;margin:0;color:#0f172a;word-break:break-word}
.mini-metric{background:#fff;border-left:4px solid #2563eb;border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.06);height:100%}
.mini-metric.success{border-left-color:#16a34a}.mini-metric.success strong{color:#15803d}
.mini-metric.danger{border-left-color:#dc2626}.mini-metric.danger strong{color:#b91c1c}
.mini-metric.primary{border-left-color:#2563eb}.mini-metric.primary strong{color:#1d4ed8}
.backup-latest-date{font-size:15px!important}
.card-footer .pagination{margin-top:0!important}
@media(max-width:1199px){.backup-identity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.backup-identity-grid{grid-template-columns:1fr}.backup-tabs .nav-link{width:100%}.card-footer.d-flex{display:block!important}.card-footer .pagination{justify-content:flex-start!important;margin-top:10px!important}.backup-definition>div{display:block}.backup-definition dd{text-align:left;margin-top:3px}}

/* S29 webpanel genel arayüz iyileştirmesi */
.panel-container{max-width:1900px}
.content-wrapper{padding-top:2px}
.content-header{padding-top:18px!important;padding-bottom:14px!important}
.content-header h1,.content-header h2,.content-header h3,.content-header h4{letter-spacing:-.025em}
.main-header{min-height:64px;box-shadow:0 6px 24px rgba(15,23,42,.04)}
.main-header .nav-link{display:flex;align-items:center;justify-content:center;min-height:44px}
.topbar-page-title{gap:10px;padding-left:8px;color:#0f172a}
.topbar-page-title .topbar-kicker{font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;font-weight:800;border-right:1px solid #e2e8f0;padding-right:10px}
.topbar-page-title strong{font-size:14px;font-weight:750}
.admin-pill{display:inline-flex;align-items:center;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.main-sidebar{box-shadow:10px 0 35px rgba(15,23,42,.08)!important}
.brand-link{height:64px;display:flex;align-items:center;padding:0 18px!important}
.brand-symbol{width:34px;height:34px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;margin-right:10px;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.32)}
.brand-link .brand-text{font-size:18px;color:#f8fafc}
.sidebar-caption{padding:17px 16px 3px;color:#64748b;font-size:10px;letter-spacing:.13em;font-weight:800}
.nav-sidebar>.nav-item .nav-icon{font-size:15px!important;width:1.6rem!important;margin-right:.25rem!important}
.nav-sidebar .nav-link{padding:.7rem .8rem;color:#cbd5e1}
.nav-sidebar .nav-link p{font-size:13px;font-weight:600}
.nav-sidebar .nav-link:not(.active):hover{background:rgba(255,255,255,.065);color:#fff}
.card,.info-box,.small-box{transition:box-shadow .18s ease,transform .18s ease}
.card:hover{box-shadow:0 16px 38px rgba(15,23,42,.085)}
.card-header{padding:14px 18px}
.card-body{padding:18px}
.info-box{background:#fff}
.info-box .info-box-text{font-size:13px;color:#475569;font-weight:650}
.info-box .info-box-number{font-weight:800;color:#0f172a;letter-spacing:-.02em}
.table{color:#1e293b}
.table thead th{background:#fbfdff;white-space:nowrap;padding-top:13px;padding-bottom:13px}
.table td{border-top-color:#edf2f7;padding-top:13px;padding-bottom:13px}
.table-hover tbody tr:hover{background:#f8fbff}
.data-table tbody tr{transition:background .14s ease}
.filter-card-header{background:linear-gradient(180deg,#fff,#fbfdff)}
label{color:#334155;font-weight:650;font-size:13px}
.form-control,.custom-select{min-height:42px;background-color:#fff}
.form-control-sm,.custom-select-sm{min-height:32px;border-radius:9px}
.btn-sm{border-radius:10px}
.btn-light{background:#f8fafc;border-color:#e2e8f0;color:#334155}
.btn-light:hover{background:#eef2f7;border-color:#dbe4ef;color:#0f172a}
.btn-outline-secondary{border-color:#cbd5e1;color:#475569}
.alert{border:0;border-radius:14px;box-shadow:0 8px 22px rgba(15,23,42,.035)}
.alert-light.border{border:1px solid #e2e8f0!important;box-shadow:none;background:#fff}
.badge{border-radius:999px;padding:.38em .62em;font-weight:700}
.pagination .page-link{border-color:#e2e8f0;color:#334155;min-width:34px;text-align:center}
.pagination .page-item.active .page-link{background:#2563eb;border-color:#2563eb}
.backup-time-cell{min-width:190px}
.main-footer{border-top:1px solid #e2e8f0;background:#fff;color:#64748b;padding:12px 18px}
code{color:#1d4ed8;background:#eff6ff;border-radius:6px;padding:2px 5px}
pre{border-radius:12px;border:1px solid #e2e8f0}
@media(max-width:1199px){.panel-container{max-width:none}.table td,.table th{white-space:nowrap}.table td .small-muted,.table td .small{white-space:normal}}
@media(max-width:767px){.content-wrapper{padding-top:0}.content{padding-left:4px;padding-right:4px}.card{border-radius:14px}.card-body{padding:14px}.info-box{border-radius:14px}.topbar-page-title{display:none!important}.main-header{min-height:56px}.brand-link{height:56px}.filter-card-header .form-control,.filter-card-header .custom-select{min-height:44px}}

/* S29 yönetim sayfaları sadeleştirme: yedekler / kullanıcılar / sağlık merkezi */
.page-context{min-width:190px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px 14px;text-align:right;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.page-context-label{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700}.page-context strong{display:block;color:#0f172a;font-size:14px;margin-top:2px}
.overview-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #edf2f7;border-radius:18px;padding:15px 16px;min-height:100px;box-shadow:0 12px 28px rgba(15,23,42,.055)}
.overview-icon{width:48px;height:48px;flex:0 0 48px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;font-size:19px}
.bg-soft-primary{background:#dbeafe;color:#1d4ed8}.bg-soft-success{background:#dcfce7;color:#15803d}.bg-soft-info{background:#e0f2fe;color:#0369a1}.bg-soft-warning{background:#ffedd5;color:#c2410c}.bg-soft-danger{background:#fee2e2;color:#b91c1c}
.overview-card>div>span{display:block;color:#64748b;font-size:12px;font-weight:650}.overview-card>div>strong{display:block;color:#0f172a;font-size:22px;line-height:1.15;margin:3px 0}.overview-card>div>small{display:block;color:#64748b;font-size:11px}
.segment-tabs{display:flex;flex-wrap:wrap;gap:6px}.segment-tab{display:inline-flex;align-items:center;gap:6px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;border-radius:12px;padding:8px 11px;font-weight:700;font-size:12px;transition:.15s ease}.segment-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#fff;color:#64748b;font-size:11px}.segment-tab:hover{text-decoration:none;color:#0f172a;background:#f1f5f9}.segment-tab.active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.18)}.segment-tab.active span{color:#1d4ed8}
.backup-list-table td:first-child{min-width:210px}.backup-list-table td:nth-child(2){min-width:155px}.backup-counts{display:grid;grid-template-columns:repeat(2,minmax(68px,1fr));gap:6px;min-width:170px}.backup-counts span{display:grid;grid-template-columns:18px 1fr;grid-template-rows:auto auto;align-items:center;background:#f8fafc;border:1px solid #edf2f7;border-radius:10px;padding:6px 7px}.backup-counts i{grid-row:1/3;color:#2563eb}.backup-counts b{font-size:12px;color:#0f172a}.backup-counts small{font-size:10px;color:#64748b}
.users-compact-table td:first-child{min-width:220px}.users-compact-table td:nth-child(2){min-width:190px}.users-compact-table td:nth-child(3){min-width:180px}.users-compact-table td:nth-child(4){min-width:210px}.activity-pair{display:flex;flex-direction:column;gap:2px;color:#64748b;font-size:11px}.activity-pair i{width:16px;color:#94a3b8}.activity-pair span{display:block}
.health-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;background:#fff;border:1px solid #edf2f7;border-radius:18px;padding:10px;box-shadow:0 10px 24px rgba(15,23,42,.045)}.health-strip>div{padding:9px 10px;border-right:1px solid #edf2f7}.health-strip>div:last-child{border-right:0}.health-strip span{display:block;color:#64748b;font-size:10px;line-height:1.2}.health-strip strong{display:block;color:#0f172a;font-size:18px;margin-top:4px}
.version-list{max-height:300px;overflow:auto}.version-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #edf2f7}.version-row:last-child{border-bottom:0}.health-device-table td:first-child{min-width:210px}.health-device-table td:nth-child(2){min-width:130px}.health-device-table td:nth-child(4){min-width:185px}.health-device-table td:nth-child(5){min-width:170px}.health-device-table td:nth-child(6){min-width:260px;max-width:380px}.diagnosis-text{font-size:12px;line-height:1.45;color:#334155}
@media(max-width:1399px){.health-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.health-strip>div:nth-child(4){border-right:0}}
@media(max-width:767px){.page-context{width:100%;text-align:left}.overview-card{min-height:90px}.segment-tabs{width:100%}.segment-tab{flex:1 1 45%;justify-content:center}.health-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.health-strip>div:nth-child(even){border-right:0}.backup-counts{grid-template-columns:repeat(2,75px)}}
