/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[6].rules[1].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[6].rules[1].use[1]!./src/styles.scss?ngGlobalStyle ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/* Global body theme toggles (the reference template uses body.light/body.dark). */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body, #root {
  height: 100%;
  width: 100%;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #111827;
  background: #F9FAFB;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #E5E7EB;
  border-radius: 4px;
}

input, textarea, select, button {
  font-family: inherit;
}

.fade-in {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes gateRun {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.vuln-row:hover {
  background: #F9FAFB !important;
}

.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.dimmed {
  opacity: 0.6 !important;
  pointer-events: none;
  transition: opacity 0.2s;
}

.highlighted {
  opacity: 1 !important;
  transition: opacity 0.2s;
}

.persona-glow {
  box-shadow: 0 0 0 2px var(--glow-color, 0.5);
  transition: box-shadow 0.2s;
}

/* ── Report Sections ─────────────────────────────────────────── */
.report-section {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.report-section-head {
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
  border-left: 3px solid #6C5CE7;
}

.report-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0;
}

.report-section-sub {
  font-size: 12px;
  color: #6B7280;
  margin: 4px 0 0;
  line-height: 1.5;
}

.report-section-body {
  padding: 12px 16px;
}

/* ── Data Table ──────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  min-width: 720px;
}

.data-table th {
  padding: 8px;
  text-align: left;
  font-weight: 500;
  color: #9CA3AF;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #E5E7EB;
  background: transparent;
  white-space: nowrap;
}

.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: top;
  color: #111827;
}

.data-table tbody tr:hover td {
  background: #F9FAFB;
}

.data-table input, .data-table textarea, .data-table select {
  width: 100%;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 12px;
  background: #fff;
  box-sizing: border-box;
}

.data-table input:focus, .data-table textarea:focus, .data-table select:focus {
  outline: none;
  border-color: #6C5CE7;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.data-table textarea {
  min-height: 44px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.4;
}

.data-table .ro {
  font-size: 12px;
  color: #374151;
  line-height: 1.45;
  word-break: break-word;
}

/* ── Inline Buttons ──────────────────────────────────────────── */
.btn-row {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: #374151;
  transition: background 0.12s, border-color 0.12s;
}

.btn-row:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.btn-row-danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

.btn-row-primary {
  border-color: #6C5CE7;
  color: #6C5CE7;
  background: #F3F0FF;
  font-weight: 600;
}

.btn-row-primary:hover {
  background: #EDE9FE;
  border-color: #5B4BD4;
}

/* ── Download Buttons ────────────────────────────────────────── */
.report-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.report-dl-btn svg {
  flex-shrink: 0;
}

.report-dl-btn--c {
  border-color: #006B52;
  background: #fff;
  color: #006B52;
  box-shadow: 0 1px 2px rgba(0, 107, 82, 0.08);
}

.report-dl-btn--c:hover {
  background: #E6F3EE;
  border-color: #004A38;
  color: #004A38;
  box-shadow: 0 2px 6px rgba(0, 74, 56, 0.14);
}

.report-dl-btn--b {
  border-color: #1E5FA8;
  background: #fff;
  color: #1E5FA8;
  box-shadow: 0 1px 2px rgba(30, 95, 168, 0.08);
}

.report-dl-btn--b:hover {
  background: #EAF3FC;
  border-color: #154A7A;
  color: #154A7A;
  box-shadow: 0 2px 6px rgba(21, 74, 122, 0.14);
}

.report-dl-btn--a {
  border-color: #C44D36;
  background: #fff;
  color: #C44D36;
  box-shadow: 0 1px 2px rgba(196, 77, 54, 0.08);
}

.report-dl-btn--a:hover {
  background: #FFF0ED;
  border-color: #9A3D2A;
  color: #9A3D2A;
  box-shadow: 0 2px 6px rgba(154, 61, 42, 0.14);
}

/* ── Compliance Dashboard ────────────────────────────────────── */
.view-mode-btn {
  padding: 10px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6B7280;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 0;
  transition: color 0.12s;
  flex-shrink: 0;
}

.view-mode-btn.active {
  border-bottom-color: #6C5CE7;
  background: transparent;
  color: #6C5CE7;
  font-weight: 600;
}

.view-mode-btn:hover:not(.active) {
  color: #111827;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.dash-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dash-stat-card-title {
  font-size: 11px;
  font-weight: 500;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.dash-status-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 130px;
}

.dash-status-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dash-status-label.pass {
  color: #059669;
}

.dash-status-label.fail {
  color: #DC2626;
}

.dash-status-label.pending {
  color: #6B7280;
}

.dash-sev-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.dash-sev-pill {
  flex: 1;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.dash-sev-pill.high {
  background: #FEE2E2;
  color: #DC2626;
}

.dash-sev-pill.medium {
  background: #FEF3C7;
  color: #D97706;
}

.dash-sev-pill.low {
  background: #ECFDF5;
  color: #059669;
}

.dash-sev-pill.high-pot {
  background: #FFF7ED;
  color: #EA580C;
}

.dash-sev-pill.medium-pot {
  background: #FEFCE8;
  color: #CA8A04;
}

.dash-sev-pill.low-pot {
  background: #F0FDF4;
  color: #16A34A;
}

.dash-sev-count {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.dash-sev-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.dash-hosts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 8px;
}

.dash-hosts-col {
  padding: 0 8px;
}

.dash-hosts-col:first-child {
  border-right: 1px solid #F3F4F6;
  padding-left: 0;
}

.dash-hosts-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
}

.dash-hosts-row span:last-child {
  font-weight: 600;
}

.dash-hosts-row.compliant span:last-child {
  color: #059669;
}

.dash-hosts-row.fail span:last-child {
  color: #DC2626;
}

.dash-subtab-bar {
  display: flex;
  gap: 0;
  border: 1px solid #E5E7EB;
  border-bottom: none;
  background: #fff;
  overflow-x: auto;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
}

.dash-subtab {
  padding: 9px 14px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 12px;
  color: #6B7280;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.12s;
}

.dash-subtab.active {
  border-bottom-color: #6C5CE7;
  color: #6C5CE7;
  font-weight: 600;
}

.dash-subtab:hover:not(.active) {
  color: #111827;
}

.dash-table-wrap {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: #9CA3AF;
  font-size: 13px;
}

.dash-top-tabbar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E5E7EB;
  background: #fff;
  padding: 0;
  margin-bottom: 16px;
  border-radius: 0;
  overflow: hidden;
}

.dash-top-tab {
  padding: 12px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 13px;
  color: #6B7280;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  transition: color 0.12s;
}

.dash-top-tab.active {
  border-bottom-color: #6C5CE7;
  color: #6C5CE7;
  font-weight: 600;
}

.dash-top-tab:hover:not(.active) {
  color: #111827;
}

.dash-action-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: #374151;
  transition: background 0.12s, border-color 0.12s;
}

.dash-action-btn:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.dash-action-btn.primary {
  background: #6C5CE7;
  color: #fff;
  border-color: #6C5CE7;
  font-weight: 600;
}

.dash-action-btn.primary:hover {
  background: #5B4BD4;
  border-color: #5B4BD4;
}

/* ── Tenant & ASV Portals ─────────────────────────────────────── */
.portal-wrap {
  height: 100%;
  overflow-y: auto;
  background: #F9FAFB;
  display: flex;
  flex-direction: column;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 50;
}

.portal-header-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-profile-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6C5CE7, #00A67E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(108, 92, 231, 0.2);
}

.portal-user-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.portal-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.portal-user-role {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portal-logout-btn {
  padding: 7px 14px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #374151;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.portal-logout-btn:hover {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FCA5A5;
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  padding: 32px 48px 24px;
}

.portal-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: #D1D5DB;
}

.portal-stat-count {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.portal-stat-label {
  font-size: 13px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
  font-weight: 600;
}

.portal-content {
  padding: 0 48px 48px;
  flex: 1;
}

.company-group {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.company-group-header {
  background: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease;
}

.company-group-header:hover {
  background: #F9FAFB;
}

.company-group-title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  flex: 1;
}

.company-group-count {
  font-size: 11px;
  color: #4B5563;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge.pass {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.status-badge.pass::before {
  background: #10B981;
  box-shadow: 0 0 4px #10B981;
}

.status-badge.fail {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.status-badge.fail::before {
  background: #EF4444;
  box-shadow: 0 0 4px #EF4444;
}

.status-badge.active {
  background: #F3F0FF;
  color: #6C5CE7;
  border: 1px solid #DDD6FE;
}

.status-badge.active::before {
  background: #6C5CE7;
  box-shadow: 0 0 4px #6C5CE7;
}

.status-badge.pending {
  background: #F3F4F6;
  color: #4B5563;
  border: 1px solid #E5E7EB;
}

.status-badge.pending::before {
  background: #9CA3AF;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.portal-table th {
  background: #F9FAFB;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  color: #6B7280;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #E5E7EB;
  border-top: 1px solid #E5E7EB;
}

.portal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
  color: #111827;
  vertical-align: middle;
  transition: background 0.15s ease;
}

.portal-table tbody tr:last-child td {
  border-bottom: none;
}

.portal-table tr:hover td {
  background: #F9FAFB;
}

.breadcrumb-btn {
  background: none;
  border: none;
  color: #6C5CE7;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.12s;
}

.breadcrumb-btn:hover {
  color: #5B4BD4;
}

.portal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 24px;
  color: #6B7280;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

.portal-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.portal-open-btn:hover {
  background: #F3F0FF;
  color: #6C5CE7;
  border-color: #DDD6FE;
}

.portal-tab-bar {
  display: flex;
  border-bottom: 1px solid #E5E7EB;
  background: #fff;
  padding: 0 24px;
}

.portal-tab {
  padding: 12px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 13px;
  color: #6B7280;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  transition: color 0.12s;
}

.portal-tab.active {
  border-bottom-color: #6C5CE7;
  color: #6C5CE7;
  font-weight: 600;
}

.portal-tab:hover:not(.active) {
  color: #111827;
}

/*# sourceMappingURL=styles.css.map*/