/**
 * SkillBridge AI / GAPLOW — Settings Stylesheet
 * Enterprise Platform Configuration, System Preferences, Email Templates & Approval Workflows
 * Theme: Executive Light Theme with #748636 Green Accents & Crisp White Cards
 */

.set-view-container,
#settings-view {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 4px 40px 4px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  color: #0F172A;
}

/* ══════════════════════════════════════════════════════════════════════════
   1. Header Banner (Matches Attached UI)
   ══════════════════════════════════════════════════════════════════════════ */
.set-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 4px;
}

.set-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.set-cog-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #E8F5EE;
  border: 1.5px solid #748636;
  color: #748636;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(116, 134, 54, 0.15);
  flex-shrink: 0;
}

.set-cog-icon-badge .material-symbols-outlined {
  font-size: 26px;
}

.set-header-title-box h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.set-header-title-box p {
  margin: 3px 0 0 0;
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
}

.set-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.set-icon-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  position: relative;
  transition: all 0.15s ease;
}

.set-icon-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

.set-notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
}

.set-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.set-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1E293B;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.set-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.set-user-role {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════════
   2. Horizontal Navigation Tabs
   ══════════════════════════════════════════════════════════════════════════ */
.set-nav-tabs-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid #CBD5E1;
  margin-bottom: 22px;
  background: transparent;
  overflow-x: auto;
}

.set-nav-tab-btn {
  background: transparent;
  border: none;
  padding: 12px 2px 14px 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.set-nav-tab-btn:hover {
  color: #0F172A;
}

.set-nav-tab-btn.active {
  color: #0F172A;
  font-weight: 700;
}

.set-nav-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #748636;
  border-radius: 3px 3px 0 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   3. Tab Panels
   ══════════════════════════════════════════════════════════════════════════ */
.set-tab-panel {
  display: none;
  width: 100%;
}

.set-tab-panel.active {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════
   4. 2x2 Overview Cards Grid (Attached UI Layout)
   ══════════════════════════════════════════════════════════════════════════ */
.set-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .set-cards-grid {
    grid-template-columns: 1fr;
  }
}

.set-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.set-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.set-card-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EAF3EE;
  border: 1px solid #C4D9CC;
  color: #748636;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.set-card-icon-circle .material-symbols-outlined {
  font-size: 21px;
}

.set-card-title-box h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.set-card-title-box p {
  margin: 2px 0 0 0;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

/* 2-Column Form Fields inside Card */
.set-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

@media (max-width: 640px) {
  .set-form-row-2col {
    grid-template-columns: 1fr;
  }
}

.set-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.set-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.set-input,
.set-select {
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #0F172A;
  font-family: inherit;
  transition: all 0.15s ease;
}

.set-input:focus,
.set-select:focus {
  border-color: #748636;
  outline: none;
  box-shadow: 0 0 0 3px rgba(116, 134, 54, 0.15);
}

.set-field-caption {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 5px;
  line-height: 1.35;
}

/* Toggle Switch (Green #748636) */
.set-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.set-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.set-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .25s ease;
  border-radius: 24px;
}

.set-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: .25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.set-toggle-switch input:checked + .set-toggle-slider {
  background-color: #748636;
}

.set-toggle-switch input:checked + .set-toggle-slider:before {
  transform: translateX(20px);
}

/* Multi-select tag container for Language */
.set-tag-input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 38px;
  box-sizing: border-box;
}

.set-lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1E293B;
}

.set-tag-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748B;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
}

.set-tag-remove:hover {
  color: #EF4444;
}

.set-tag-dropdown-icon {
  font-size: 18px;
  color: #64748B;
  cursor: pointer;
}

/* Info Callout Box (Bottom of Cards) */
.set-info-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 6px;
  padding: 11px 14px;
  margin-top: 18px;
}

.set-info-icon {
  color: #0284C7;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.set-info-text {
  font-size: 12.5px;
  color: #0369A1;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════════════════
   5. Email & Notifications Card Details
   ══════════════════════════════════════════════════════════════════════════ */
.set-email-notif-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .set-email-notif-split {
    grid-template-columns: 1fr;
  }
}

.set-subtab-header {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 14px;
  padding-bottom: 2px;
}

.set-subtab-btn {
  background: transparent;
  border: none;
  padding: 6px 0 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  position: relative;
  cursor: pointer;
}

.set-subtab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #748636;
  border-radius: 2px 2px 0 0;
}

.set-subtab-btn:not(.active) {
  color: #64748B;
  font-weight: 500;
}

/* Email Template Row */
.set-template-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #F1F5F9;
}

.set-template-item:last-child {
  border-bottom: none;
}

.set-template-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.set-template-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.set-template-icon-circle .material-symbols-outlined {
  font-size: 17px;
}

.set-template-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.set-template-info p {
  margin: 2px 0 0 0;
  font-size: 11.5px;
  color: #64748B;
}

.set-template-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.set-template-edit-btn:hover {
  background: #F8FAFC;
  border-color: #748636;
  color: #748636;
}

.set-template-edit-btn .material-symbols-outlined {
  font-size: 14px;
}

/* Notification Setting Rows */
.set-notif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}

.set-notif-row:last-child {
  border-bottom: none;
}

.set-notif-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.set-notif-info p {
  margin: 2px 0 0 0;
  font-size: 11.5px;
  color: #64748B;
}

/* ══════════════════════════════════════════════════════════════════════════
   6. Approval Workflows Card Details
   ══════════════════════════════════════════════════════════════════════════ */
.set-workflow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.set-workflow-row:last-child {
  border-bottom: none;
}

.set-workflow-name {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  flex: 1;
}

.set-workflow-select {
  width: 220px;
  max-width: 50%;
  font-size: 13px;
  padding: 7px 10px;
}

/* ══════════════════════════════════════════════════════════════════════════
   7. Bottom Action Bar (Cancel / Save Changes)
   ══════════════════════════════════════════════════════════════════════════ */
.set-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  padding-top: 10px;
}

.set-btn-cancel {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.15s ease;
}

.set-btn-cancel:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.set-btn-save {
  background: #748636;
  border: 1px solid #748636;
  border-radius: 4px;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(116, 134, 54, 0.25);
  transition: all 0.15s ease;
}

.set-btn-save:hover {
  background: #62722D;
  border-color: #62722D;
}

.set-btn-save .material-symbols-outlined {
  font-size: 18px;
}

/* ══════════════════════════════════════════════════════════════════════════
   8. Dedicated Sub-Views (For tabs: Email, Approvals, Localization, Tenant)
   ══════════════════════════════════════════════════════════════════════════ */
.set-subview-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 26px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.set-tenant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .set-tenant-grid {
    grid-template-columns: 1fr;
  }
}

.set-tenant-cell {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 16px;
}

.set-tenant-cell-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.set-tenant-cell-val {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

/* ══════════════════════════════════════════════════════════════════════════
   9. Draggable Modal: Edit Email Template
   ══════════════════════════════════════════════════════════════════════════ */
.set-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.set-modal-window {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.set-modal-header {
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
}

.set-modal-header:active {
  cursor: grabbing;
}

.set-modal-title-group h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.set-modal-title-group p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #64748B;
}

.set-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.set-modal-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.set-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.set-var-pill {
  display: inline-block;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-family: monospace;
  color: #2563EB;
  cursor: pointer;
  margin: 2px 4px 2px 0;
  transition: all 0.15s ease;
}

.set-var-pill:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
}

.set-modal-footer {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ══════════════════════════════════════════════════════════════════════════
   10. Multi-Tenant Matrix & Branding Profile (System Settings Attachment 2)
   ══════════════════════════════════════════════════════════════════════════ */
.set-matrix-wrapper {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

/* Scatter Matrix Map Section */
.set-matrix-scatter-box {
  position: relative;
  height: 220px;
  background: #FAFCFE;
  border-bottom: 1px solid #EDF2F7;
  overflow: hidden;
}

.set-matrix-y-axis {
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.set-matrix-y-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #475569;
  text-transform: uppercase;
}

.set-matrix-grid-lines {
  position: absolute;
  inset: 0 0 0 85px;
  pointer-events: none;
}

.set-matrix-h-line {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px dashed #E2E8F0;
}

.set-matrix-v-line {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed #E2E8F0;
}

.set-matrix-nodes-layer {
  position: absolute;
  inset: 0 0 0 85px;
  z-index: 3;
}

.set-matrix-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.set-matrix-node:hover {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 10;
}

.set-matrix-node.active .set-node-icon {
  box-shadow: 0 0 0 3px rgba(51, 110, 243, 0.4), 0 4px 12px rgba(51, 110, 243, 0.35);
  transform: scale(1.08);
}

.set-matrix-node.active .set-node-label {
  font-weight: 700;
  color: #2563EB;
}

.set-node-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  background: #ffffff;
}

.set-node-label {
  font-size: 11px;
  font-weight: 600;
  color: #1E293B;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

/* Metric Summary Bar */
.set-matrix-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #EDF2F7;
  font-size: 13px;
  color: #475569;
}

.set-matrix-stat-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.set-matrix-stat-item span.stat-num {
  font-weight: 700;
  color: #0F172A;
  margin-left: 4px;
}

.set-matrix-stat-hint {
  color: #2563EB;
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}

/* Branding Profile Card */
.set-branding-profile-card {
  padding: 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.set-branding-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.set-branding-logo-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #ffffff;
}

.set-branding-title-box {
  display: flex;
  flex-direction: column;
}

.set-branding-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 2px;
}

.set-branding-name {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.set-branding-form-row {
  display: grid;
  grid-template-columns: 240px 240px 1fr;
  gap: 20px;
  align-items: flex-end;
}

.set-branding-field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.set-color-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 12px;
  gap: 10px;
  height: 40px;
  box-sizing: border-box;
}

.set-color-swatch {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.set-color-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #0F172A;
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.set-branding-select {
  width: 100%;
  height: 40px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  cursor: pointer;
}

.set-domain-approval-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.set-domain-input {
  flex: 1;
  height: 40px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13.5px;
  color: #0F172A;
  outline: none;
}

.set-domain-btn-approved {
  height: 40px;
  padding: 0 18px;
  background: #2563EB;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.set-domain-btn-approved:hover {
  background: #1D4ED8;
}

/* Tenants Table & Filters */
.set-tenants-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
}

.set-tenants-filter-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.set-filter-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.set-filter-inline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.set-filter-select {
  height: 34px;
  padding: 0 28px 0 12px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.set-tenants-count-label {
  font-size: 13px;
  color: #64748B;
}

.set-tenants-table-container {
  overflow-x: auto;
}

.set-tenants-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.set-tenants-table th {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.set-tenants-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13.5px;
  color: #1E293B;
  vertical-align: middle;
}

.set-tenants-table tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.set-tenants-table tr:hover {
  background: #F8FAFC;
}

.set-tenants-table tr.active-row {
  background: #F0F6FF;
}

.set-tenant-brand-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.set-tenant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #ffffff;
}

.set-tenant-name-box {
  display: flex;
  flex-direction: column;
}

.set-tenant-row-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.set-tenant-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.set-tenant-status-dot.active {
  background: #16A34A;
}

.set-tenant-status-dot.suspended {
  background: #DC2626;
}

.set-tenant-row-domain {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.set-pill-tier {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

.set-pill-domain-approved {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #ECFDF5;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  font-size: 12px;
  font-weight: 600;
}

.set-pill-domain-pending {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
  font-size: 12px;
  font-weight: 600;
}

.set-pill-domain-suspended {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 12px;
  font-weight: 600;
}

.set-white-label-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}

.set-telemetry-cell {
  display: flex;
  flex-direction: column;
}

.set-telemetry-users {
  font-weight: 700;
  color: #0F172A;
  font-size: 13.5px;
}

.set-telemetry-storage {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 1px;
}

.set-btn-action-suspend {
  padding: 5px 16px;
  border-radius: 9999px;
  background: #FEE2E2;
  color: #DC2626;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.set-btn-action-suspend:hover {
  background: #FECACA;
}

.set-btn-action-activate {
  padding: 5px 16px;
  border-radius: 9999px;
  background: #DCFCE7;
  color: #16A34A;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.set-btn-action-activate:hover {
  background: #BBF7D0;
}

