/* .NET sürümüne özel küçük eklemeler — ana tasarım Laravel'den gelen app.css'tedir. */

.dn-nav-note {
    margin: 18px 14px 0;
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.45;
    color: #64748b;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 10px;
}
.dn-nav-note i { color: #7c3aed; margin-right: 4px; }

.dn-alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 16px; margin-bottom: 16px;
    border-radius: 10px; font-size: 13.5px; line-height: 1.5;
}
.dn-alert ul { margin: 4px 0 0 18px; }
.dn-alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.dn-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.dn-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.dn-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.dn-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 20px; margin-bottom: 18px;
}
.dn-card h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 14px; }

.dn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dn-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; }
.dn-stat-label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.dn-stat-value { font-size: 24px; font-weight: 800; color: #0f172a; margin-top: 6px; }

.dn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dn-table th { text-align: left; font-weight: 600; color: #64748b; background: #f8fafc; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.dn-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; color: #1e293b; vertical-align: middle; }
.dn-table tr:hover td { background: #fafaff; }
.dn-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dn-table-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow-x: auto; }

.dn-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.dn-badge.pending { background: #fef3c7; color: #92400e; }
.dn-badge.sent { background: #dbeafe; color: #1e40af; }
.dn-badge.paid { background: #dcfce7; color: #166534; }
.dn-badge.overdue { background: #fee2e2; color: #991b1b; }

.dn-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.dn-filter input, .dn-filter select { padding: 7px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: #fff; }

.dn-pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; font-size: 13px; color: #64748b; }
.dn-pager a { padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 8px; color: #1e293b; text-decoration: none; margin-left: 6px; }
.dn-pager a.disabled { pointer-events: none; opacity: .4; }

.dn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.dn-field label { display: block; font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 5px; }
.dn-field input, .dn-field select, .dn-field textarea {
    width: 100%; padding: 8px 11px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13.5px; background: #fff; font-family: inherit;
}
.dn-field input:focus, .dn-field select:focus, .dn-field textarea:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.dn-field .req { color: #dc2626; }

.dn-lines input, .dn-lines select { width: 100%; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 13px; }
.dn-lines td { padding: 6px; }

.dn-totals { margin-left: auto; width: 320px; font-size: 13.5px; }
.dn-totals div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #e5e7eb; }
.dn-totals div.grand { font-size: 16px; font-weight: 800; border-bottom: none; color: #0f172a; }

.dn-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dn-actions form { display: inline; }

.dn-kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; font-size: 13.5px; }
.dn-kv dt { color: #64748b; }
.dn-kv dd { color: #0f172a; font-weight: 500; margin: 0; }

.dn-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dn-page-head h1 { font-size: 20px; font-weight: 800; color: #0f172a; }
.dn-muted { color: #94a3b8; font-size: 12.5px; }

/* ── React sürümü ekleri ── */
.dn-loading { padding: 40px; text-align: center; color: #94a3b8; }
.dn-full-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dn-full-center .dn-card { max-width: 460px; text-align: center; }
.header-notif-list { max-height: 360px; overflow-y: auto; }
.header-notif-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; font-size: 13px; cursor: pointer; }
.header-notif-item.unread { background: #faf5ff; }
.header-notif-item i { margin-top: 2px; }
.header-notif-item .t { font-weight: 600; color: #1e293b; }
.header-notif-item .m { color: #64748b; font-size: 12.5px; }
.dn-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; margin-right: 6px; }
.dn-live-dot.on { background: #16a34a; }
button.link { background: none; border: none; color: #7c3aed; cursor: pointer; padding: 0; font: inherit; }
