/* Global Outset customisations for the supplied Velzon theme */
:root { --vz-font-sans-serif: "Century Gothic", CenturyGothic, Arial, sans-serif; --vz-body-font-family: "Century Gothic", CenturyGothic, Arial, sans-serif; --vz-primary: #122747; --vz-success: #087e83; }
body, h1, h2, h3, h4, h5, h6, button, input { font-family: "Century Gothic", CenturyGothic, Arial, sans-serif; }
[hidden] { display: none !important; }
.navbar-menu { background: #122747; }
.dashboard-logo { display: block; background: white; border-radius: 4px; padding: 6px; margin: 20px 0; }
.dashboard-logo img { width: 100%; height: auto; }
.sidebar-navigation { padding: 12px; }
.sidebar-navigation .menu-title { color: #8fa3bf; padding: 14px; }
.sidebar-navigation .nav-link { color: #c3cfdf; padding: 14px; border-radius: 6px; display: flex; align-items: center; gap: 12px; }
.sidebar-navigation .nav-link i { font-size: 19px; }
.sidebar-navigation .nav-link:hover, .sidebar-navigation .nav-link.active { background: #ffffff12; color: white; }
.sidebar-note { color: #a5b8cb; margin: 40px 14px; border-top: 1px solid #ffffff15; padding-top: 24px; }
.dashboard-search { max-width: 250px; }
.outset-welcome { border-left: 4px solid #087e83; background: linear-gradient(110deg, #eef7f6, #ffffff); }
#account-enquiries td { padding: 18px 16px; }
#account-list li { padding: 15px 0; border-bottom: 1px solid #e9ecef; list-style: none; overflow-wrap: anywhere; }
#dashboard-overlay { display: none; }
@media (max-width: 767px) {
  body.sidebar-visible .navbar-menu { transform: translateX(0); z-index: 1050; }
  body.sidebar-visible #dashboard-overlay { display: block; position: fixed; inset: 0; background: #12274780; z-index: 1049; }
  .navbar-header { padding-inline: 10px; }
  .navbar-header > .d-flex > span.fw-semibold { font-size: 12px; }
}

/* Dashboard top-bar tools */
.dashboard-top-actions { display: flex; align-items: center; gap: 12px; }
.top-search { display: flex; align-items: center; gap: 8px; background: #f3f5f8; border-radius: 6px; padding: 8px 12px; }
.top-search input { width: 210px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.top-search:focus-within { box-shadow: 0 0 0 2px #087e8340; }
.top-search button { border: 0; background: transparent; color: #087e83; }
.profile-toggle { display: flex; align-items: center; gap: 10px; padding: 10px; background: #f3f5f8; }
.profile-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #dcefee; color: #087e83; font-weight: 700; }
.profile-label { display: flex; flex-direction: column; text-align: left; font-size: 12px; }
.profile-label small { color: #7b8797; text-transform: capitalize; }
.profile-dropdown { min-width: 240px; }
.profile-dropdown p { overflow-wrap: anywhere; }
.top-notifications { width: 340px; max-width: calc(100vw - 24px); }
#notification-list { max-height: 340px; overflow-y: auto; }
.notification-count { position: absolute; top: 14px; right: 5px; background: #d94a5d; color: white; padding: 2px 5px; border-radius: 20px; font-size: 10px; }
.notification-entry { display: block; padding: 14px 16px; border-bottom: 1px solid #edf0f3; color: #122747; }
.notification-entry:hover { background: #f3f8f7; }
.notification-entry small { display: block; color: #7b8797; margin-top: 4px; }
@media (max-width: 1000px) { .top-search input { width: 130px; } .profile-label { display: none; } }
@media (max-width: 600px) { .navbar-header > .d-flex > span.fw-semibold { display: none; } .dashboard-top-actions { gap: 2px; } .top-search { padding: 8px; } .top-search input { width: 100px; } .profile-toggle { padding: 6px; } }

/* Velzon-style detailed notification panel */
.top-notifications { width: 360px; padding: 0; overflow: hidden; border: 0; box-shadow: 0 12px 30px #12274720; }
.notification-panel-header { padding: 20px 16px 0; background: #122747; }
.notification-tabs { display: flex; gap: 4px; margin-top: 20px; }
.notification-tabs button { border: 0; padding: 10px 14px; border-radius: 4px 4px 0 0; background: transparent; color: #b9c8dc; font-size: 12px; font-weight: 600; }
.notification-tabs button.active { background: white; color: #122747; }
#notification-list { max-height: 340px; }
.notification-item { display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px; }
.notification-item:hover { background: #f5f8fa; }
.notification-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; }
.alert-icon { background: #e1f3f2; color: #087e83; }
.message-icon { background: #e8edfa; color: #4861a6; }
.notification-copy { flex: 1; color: #495057; font-size: 12px; }
.notification-copy strong { display: block; margin-bottom: 4px; }
.notification-copy p { margin: 0 0 7px; line-height: 1.5; }
.notification-copy small { color: #8793a6; font-size: 10px; }
.notification-item.is-read { opacity: .65; }
.notification-item .form-check-input { flex-shrink: 0; margin-top: 3px; }
.notification-panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid #edf0f3; }
.notification-panel-footer .btn { font-size: 11px; }

/* Collapsed sidebar branding */
.dashboard-logo .dashboard-logo-monogram {
  display: none;
}

html[data-sidebar-size="sm"] .dashboard-logo .dashboard-logo-full {
  display: none;
}

html[data-sidebar-size="sm"] .dashboard-logo .dashboard-logo-monogram {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin: auto;
}

html[data-sidebar-size="sm"] .dashboard-logo {
  padding: 5px;
  margin-inline: -10px;
}

/* Icon-only collapsed sidebar */
html[data-sidebar-size="sm"] .sidebar-link-label,
html[data-sidebar-size="sm"] .sidebar-navigation .menu-title,
html[data-sidebar-size="sm"] .sidebar-note {
  display: none;
}

html[data-sidebar-size="sm"] .sidebar-navigation .nav-link {
  justify-content: center;
  gap: 0;
  padding: 14px 0;
}

html[data-sidebar-size="sm"] .sidebar-navigation .nav-link i {
  margin: 0;
  font-size: 22px;
}
/* Global Outset case workspace; retained Velzon layout and branding. */
.workspace-filters{display:grid;grid-template-columns:minmax(160px,2fr) 1fr 1fr auto;gap:10px}.workspace-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0}.workspace-form label{font-size:12px;font-weight:600}.workspace-form label input,.workspace-form label textarea,.workspace-form label select{margin-top:7px}.workspace-form textarea{min-height:90px}.workspace-form button{justify-self:start;align-self:end}.workspace-update,.document-review{padding:18px;border:1px solid #e9ebec;border-radius:8px;margin-bottom:14px}.workspace-update p,.case-facts dd{white-space:pre-wrap;overflow-wrap:anywhere}.workspace-update.is-read{opacity:.7}.case-dialog{border:0;border-radius:14px;padding:0;width:min(1100px,94vw);max-height:92vh;color:#344054;box-shadow:0 20px 70px #12274740}.case-dialog::backdrop{background:#12274780}.case-dialog-header{display:flex;justify-content:space-between;gap:20px;padding:24px;background:#f7fafc;border-bottom:1px solid #e9ebec}.case-dialog-body{padding:24px;overflow:auto}.case-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.case-tabs button{background:#f3f6f9;border:0;padding:10px 13px;border-radius:6px;color:#344054;font-size:12px}.case-tabs button.active{background:#087e83;color:white}.case-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#f3f6f9;border-radius:8px;padding:20px}.case-facts{display:grid;grid-template-columns:140px 1fr;gap:10px;margin-top:24px}.case-facts dt{text-transform:capitalize}.workspace-summary .table th{white-space:nowrap}#case-detail>button{margin:8px}section[id]{scroll-margin-top:95px}details summary{cursor:pointer;font-weight:600;padding:14px 0}@media(max-width:768px){.workspace-filters,.workspace-form{grid-template-columns:1fr}.case-dialog-body,.case-dialog-header{padding:16px}.case-status-grid{grid-template-columns:1fr}.case-facts{grid-template-columns:1fr}.case-facts dd{margin-bottom:14px}}

.case-photo{display:block;max-width:320px;max-height:320px;width:auto;height:auto;object-fit:contain;margin:16px 0;border:1px solid #e9ebec}
