/* Taseer unified brand theme — 2026-11-07
 * Loaded after legacy inline styles to preserve existing Blade/Livewire behavior.
 * Internal breiki-* class/variable names intentionally remain for backwards compatibility.
 */
:root {
  --taseer-navy: #053A88;
  --taseer-blue: #0863D9;
  --taseer-cyan: #03ADD4;
  --taseer-teal: #00CFA5;
  --taseer-text: #16324F;
  --taseer-muted: #64748B;
  --taseer-background: #F4FAFB;
  --taseer-border: #D9E6EE;
  --taseer-gradient: linear-gradient(120deg, #0863D9 0%, #03ADD4 52%, #00CFA5 100%);
  --breiki-blue: var(--taseer-blue);
  --breiki-blue-dark: var(--taseer-navy);
  --breiki-blue-soft: #EAF4FF;
  --breiki-orange: var(--taseer-teal);
  --breiki-orange-dark: var(--taseer-cyan);
  --breiki-orange-soft: #E5FAF5;
  --breiki-text: var(--taseer-text);
  --breiki-muted: var(--taseer-muted);
  --breiki-border: var(--taseer-border);
  --breiki-bg: var(--taseer-background);
}
html[lang="ar"], html[lang="ur"] { font-family: 'Cairo', 'Noto Naskh Arabic', Tahoma, sans-serif; }
html[lang="en"] { font-family: 'Inter', 'Cairo', sans-serif; }
html[lang="ar"] body, html[lang="ur"] body,
html[lang="ar"] button, html[lang="ur"] button,
html[lang="ar"] input, html[lang="ur"] input,
html[lang="ar"] select, html[lang="ur"] select,
html[lang="ar"] textarea, html[lang="ur"] textarea,
html[lang="ar"] .breiki-app *, html[lang="ur"] .breiki-app *,
html[lang="ar"] .breiki-login-page *, html[lang="ur"] .breiki-login-page * {
  font-family: 'Cairo', Tahoma, sans-serif;
  letter-spacing: 0;
}
html[lang="en"] body, html[lang="en"] button,
html[lang="en"] input, html[lang="en"] select, html[lang="en"] textarea,
html[lang="en"] .breiki-app *, html[lang="en"] .breiki-login-page * {
  font-family: 'Inter', 'Cairo', sans-serif;
}
body { color: var(--taseer-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.breiki-side-title, .breiki-form-title, .breiki-logo-title,
.breiki-page-title, .breiki-topbar-title, .breiki-brand-name,
.breiki-card h1, .breiki-card h2, .breiki-card h3,
.breiki-feature-title { font-weight: 800; }
html[dir="rtl"] .breiki-side-title,
html[dir="rtl"] .breiki-form-title { line-height: 1.55; }
html[dir="rtl"] .breiki-logo-title { line-height: 1.5; }
.breiki-login-side {
  background: linear-gradient(142deg, #053A88 0%, #0751A4 59%, #078DB1 100%);
}
.breiki-sidebar {
  background: linear-gradient(180deg, #053A88 0%, #0863D9 72%, #0785A7 100%);
}
.breiki-feature-icon, .breiki-help-icon {
  background: var(--taseer-gradient);
  color: white;
  box-shadow: 0 10px 22px rgba(3, 173, 212, .18);
}
.breiki-login-btn, .breiki-btn-primary {
  background: var(--taseer-gradient);
  color: white;
  box-shadow: 0 12px 27px rgba(3, 173, 212, .22);
}
.breiki-login-btn:hover, .breiki-btn-primary:hover {
  box-shadow: 0 15px 32px rgba(0, 207, 165, .29);
  color: white;
}
.breiki-lang-link.active, .breiki-lang-link:hover {
  background: var(--taseer-gradient);
  border-color: var(--taseer-cyan);
  color: white;
  box-shadow: 0 8px 18px rgba(3, 173, 212, .17);
}
.breiki-sidebar-footer { background: rgba(0, 207, 165, .11); border-color: rgba(3, 173, 212, .21); }
.breiki-dropdown-item.active, .breiki-menu-badge, .breiki-notification-badge {
  background: var(--taseer-teal);
}
.breiki-input-icon { color: var(--taseer-teal); }
.breiki-form-control:focus, .form-control:focus, .form-select:focus {
  border-color: var(--taseer-cyan);
  box-shadow: 0 0 0 .22rem rgba(3, 173, 212, .12);
}
.breiki-check input, input[type="checkbox"], input[type="radio"] { accent-color: var(--taseer-teal); }
.breiki-sidebar-link.active::before { background: var(--taseer-teal); }
.breiki-sidebar-link i { color: #69E9DE; }
.breiki-sidebar-link.active i { color: #fff; }
.breiki-help-box { background: #EBF7FE; border-color: #CDEAF6; }
.breiki-feature-card { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.10); }
html[dir="rtl"] .breiki-form-control { text-align: right; }
html[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
.breiki-login-btn:focus-visible, .breiki-btn-primary:focus-visible,
.breiki-lang-link:focus-visible, .breiki-sidebar-link:focus-visible {
  outline: 3px solid var(--taseer-cyan); outline-offset: 3px;
}
@media (max-width: 576px) {
  .breiki-side-title { font-size: clamp(22px, 6vw, 30px); }
  .breiki-logo-title { font-size: 20px; }
  html[dir="rtl"] .breiki-side-desc { line-height: 1.9; }
}


/* Taseer admin UI normalization */
.breiki-main {background:#f4f7fc}
.breiki-page-header,.providers-hero,.ts-hero,.ts-profile-hero,.reports-hero,.notification-hero,.dash-hero {
 background:linear-gradient(110deg,#082856,#164782 74%,#17609a)!important;
 border-radius:20px!important;box-shadow:0 12px 32px rgba(10,42,93,.12)!important;
}
.breiki-page-header,.providers-hero {padding:24px!important}
.breiki-page-title,.providers-hero-title {font-weight:900!important;letter-spacing:0!important}
.breiki-card,.ts-section,.tsr-card,.op-card,.finance-stat-card,.up-stat-card {
 border:1px solid #e2eaf3!important;border-radius:17px!important;
 box-shadow:0 5px 21px rgba(15,35,70,.045)!important;
}
.breiki-table,.table {border-collapse:separate;border-spacing:0}
.breiki-table thead th,.table thead th {background:#f3f7fd;color:#334b6c;font-weight:800;white-space:nowrap}
.breiki-table tbody tr:hover,.table tbody tr:hover {background:#f7fbff}
.breiki-app .form-control,.breiki-app .form-select {border-radius:11px;border-color:#dbe5f0;min-height:43px}
.breiki-app .btn,.breiki-app .breiki-btn-primary {border-radius:11px;font-weight:800}
.breiki-app .form-label {color:#334761;font-size:.88rem}
.breiki-app .modal-content {border-radius:18px!important;overflow:hidden}
.breiki-app .modal-header {background:#f4f8fe;border-bottom:1px solid #e0e8f3}
.breiki-sidebar-link {border-radius:11px!important}
.breiki-sidebar-section {margin-bottom:8px}
.breiki-sidebar-title {letter-spacing:0!important}
.ts-home-modern{font-family:Cairo,Tahoma,sans-serif;color:#213651;padding:6px 0 25px}
.ts-home-hero{background:linear-gradient(115deg,#082856,#164782);padding:34px;border-radius:20px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;box-shadow:0 12px 34px #153f791b}
.ts-home-eyebrow{color:#efc14a;font-weight:800;font-size:13px;margin-bottom:7px}
.ts-home-hero h1{font-weight:900;font-size:30px;margin:0 0 8px}
.ts-home-hero p{color:#cfdef3;max-width:580px;margin:0;line-height:1.9}
.ts-home-primary{background:#f5c044;color:#172945;padding:13px 20px;border-radius:12px;font-weight:900;text-decoration:none;display:inline-flex;gap:9px;align-items:center}
.ts-home-primary:hover{color:#172945;background:#ffce5e}
.ts-home-heading{margin:30px 0 17px}
.ts-home-heading h2{font-size:21px;font-weight:900;margin:0 0 4px}
.ts-home-heading p{color:#738198;font-size:13px;margin:0}
.ts-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ts-home-tile{position:relative;min-height:172px;background:#fff;border:1px solid #e1eaf4;border-radius:17px;padding:22px;text-decoration:none;display:flex;flex-direction:column;gap:8px;color:#193555;transition:transform .17s,border-color .17s,box-shadow .17s}
.ts-home-tile:hover{transform:translateY(-3px);border-color:#8daed9;box-shadow:0 12px 26px #16396612;color:#0b4287}
.ts-home-icon{height:43px;width:43px;border-radius:12px;background:#e9f1ff;color:#17549a;display:grid;place-items:center;font-size:20px;margin-bottom:3px}
.ts-home-tile strong{font-size:15px;font-weight:900}
.ts-home-tile small{font-size:12px;color:#708097;line-height:1.8}
.ts-home-arrow{position:absolute;left:17px;top:20px;color:#b6c7dd}
.ts-home-tip{display:flex;align-items:flex-start;gap:13px;margin-top:22px;padding:17px 20px;background:#eaf4ff;border:1px solid #d9eaff;border-radius:15px}
.ts-home-tip>i{color:#1762a3;font-size:22px}
.ts-home-tip strong{font-weight:900}
.ts-home-tip p{color:#64748b;font-size:12px;margin:4px 0 0;line-height:1.8}
@media(max-width:1200px){.ts-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.ts-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.ts-home-grid{grid-template-columns:1fr}.ts-home-hero{padding:24px}.ts-home-hero h1{font-size:25px}.ts-home-tile{min-height:145px}}
