/* 
   GWiZ Software Solutions - admin.css
   Dashboard specific layouts, tables, and auth views.
*/

.admin-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient glow orbs */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}
.orb-1 {
  top: -10%;
  left: -10%;
  background: rgba(139, 92, 246, 0.12);
}
.orb-2 {
  bottom: -10%;
  right: -10%;
  background: rgba(6, 182, 212, 0.12);
}

.admin-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(8, 11, 17, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
}

.admin-main {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Authentication Screen */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.auth-card {
  max-width: 480px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
}

.auth-shield {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 6s ease-in-out infinite;
}

.auth-header-card h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-header-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2.2rem;
}

.auth-error-msg {
  background: rgba(234, 67, 53, 0.1);
  border: 1px solid rgba(234, 67, 53, 0.3);
  color: #fca5a5;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.google-icon {
  background: white;
  border-radius: 50%;
  padding: 1px;
}

/* Dashboard Layout */
.dashboard-section {
  animation: fadeIn 0.5s ease-out;
}

/* Metric Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 3px solid var(--accent-purple);
}
.stat-card.new-stat {
  border-left-color: var(--warning);
}
.stat-card.contacted-stat {
  border-left-color: var(--accent-blue);
}
.stat-card.resolved-stat {
  border-left-color: var(--success);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

/* Records Log Card */
.records-card {
  padding: 2rem;
}

.records-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.records-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.records-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.btn-refresh {
  padding: 0.6rem 1.2rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--accent-purple);
  color: var(--text-main);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-refresh:hover {
  background: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-logout {
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(234, 67, 53, 0.4);
  color: #f87171;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-logout:hover {
  background: rgba(234, 67, 53, 0.15);
  border-color: rgba(234, 67, 53, 0.8);
}

/* Data Table Styles */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(8, 11, 17, 0.4);
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.leads-table th, 
.leads-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.leads-table th {
  background: rgba(15, 20, 32, 0.8);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

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

.leads-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem !important;
  font-style: italic;
}

.leads-table .date-col {
  white-space: nowrap;
  font-family: monospace;
  color: var(--text-muted);
}

.leads-table .contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.leads-table .contact-email {
  color: var(--accent-blue);
  text-decoration: none;
}
.leads-table .contact-email:hover {
  text-decoration: underline;
}

.leads-table .req-text {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.leads-table .req-text:hover {
  color: var(--text-main);
}
.leads-table .req-text.expanded {
  max-width: none;
  display: block;
  -webkit-line-clamp: unset;
  white-space: pre-wrap;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-new {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-contacted {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-resolved {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Actions Section */
.actions-cell {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-action {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.btn-action.btn-mark-contacted:hover {
  border-color: var(--accent-blue);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
}

.btn-action.btn-mark-resolved:hover {
  border-color: var(--success);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
}

.btn-action.btn-delete-record {
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.05);
}
.btn-action.btn-delete-record:hover {
  border-color: #ef4444;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
  .admin-main {
    padding: 1.5rem 1rem;
  }
  .records-card {
    padding: 1.2rem;
  }
  .leads-table th, 
  .leads-table td {
    padding: 1rem;
  }
}

/* Google Workspace Panel Styling */
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.workspace-panel-card {
  display: flex;
  flex-direction: column;
}

.workspace-panel-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.border-left-panel {
  border-left: 1px solid var(--border-color);
  padding-left: 3rem;
}

/* Custom GSuite status colors */
.status-badge.badge-connected {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.badge-disconnected {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 992px) {
  .workspace-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .border-left-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
  }
}

/* Host Admin Terminal Window Styles */
.terminal-window {
  margin-top: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090d16;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-titlebar {
  background: rgba(15, 23, 42, 0.9);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  position: relative;
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  left: 1rem;
}

.terminal-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots .dot.red { background: #f87171; }
.terminal-dots .dot.yellow { background: #fbbf24; }
.terminal-dots .dot.green { background: #34d399; }

.terminal-title {
  width: 100%;
  text-align: center;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  height: 280px;
  overflow-y: auto;
  padding: 1.2rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background-image: radial-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Scrollbar styling for terminal body */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}
.terminal-body::-webkit-scrollbar-track {
  background: #090d16;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Log line colors */
.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.t-timestamp {
  color: #64748b;
  margin-right: 0.4rem;
}

.t-category {
  color: #a78bfa;
  font-weight: 500;
  margin-right: 0.4rem;
}

.t-level {
  font-weight: bold;
  margin-right: 0.4rem;
}

/* Color schemes per log level */
.t-info .t-level {
  color: #38bdf8;
}
.t-info .t-message {
  color: #f8fafc;
}

.t-warning {
  background: rgba(251, 191, 36, 0.03);
  border-left: 2px solid #fbbf24;
  padding-left: 0.4rem;
  border-radius: 0 4px 4px 0;
}
.t-warning .t-level {
  color: #fbbf24;
}
.t-warning .t-message {
  color: #fde047;
}

.t-error {
  background: rgba(248, 113, 113, 0.05);
  border-left: 2px solid #f87171;
  padding-left: 0.4rem;
  border-radius: 0 4px 4px 0;
}
.t-error .t-level {
  color: #f87171;
}
.t-error .t-message {
  color: #fca5a5;
}

.t-dim {
  color: #64748b;
}

/* Accessibility Focus Indicator */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

/* Margin utilities */
.mt-large {
  margin-top: 2.5rem;
}
.mt-medium {
  margin-top: 1.2rem;
}
.mt-small {
  margin-top: 1rem;
}

.mb-large {
  margin-bottom: 1.8rem;
}
.mb-medium {
  margin-bottom: 1.5rem;
}
.mb-small {
  margin-bottom: 1rem;
}

/* Form Layouts & Inputs */
.form-group {
  text-align: left;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  display: block;
  color: var(--text-muted);
}

.admin-input,
.admin-textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.admin-input:focus,
.admin-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.05);
}

.admin-textarea {
  resize: vertical;
}

/* Submit Buttons */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit.btn-primary-submit {
  background: var(--accent-purple);
  color: var(--text-main);
  border-color: var(--accent-purple);
}

.btn-submit.btn-primary-submit:hover {
  background: #b55fe6;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.btn-submit.btn-passkey-submit {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--accent-blue);
  color: var(--text-main);
}

.btn-submit.btn-passkey-submit:hover {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Header actions & buttons */
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-register-passkey-header {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #86efac;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.btn-register-passkey-header:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.8);
}

/* Success Messages */
.toast-success {
  margin-top: 1rem;
  color: var(--success);
  font-size: 0.88rem;
  padding: 0.8rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* API Access Configurations */
.btn-auth-google {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--accent-blue);
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.btn-auth-google:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn-disconnect-google {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 6px;
}

.workspace-panel-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* Calendar & Drive Lists */
.calendar-list,
.drive-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.loading-list-item {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* Terminal Console adjustments */
.terminal-controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.terminal-autoscroll-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.terminal-autoscroll-checkbox {
  accent-color: var(--accent-purple);
}

.btn-clear-console {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  margin: 0;
}

.btn-refresh-console {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-full {
  width: 100%;
}

/* Responsive Media Queries for Admin Portal */
@media (max-width: 768px) {
  .admin-header {
    padding: 1rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
  .admin-main {
    padding: 1.5rem 0.75rem;
  }
  .auth-card {
    padding: 2rem 1.5rem;
  }
  .auth-shield {
    font-size: 2.8rem;
  }
  .auth-header-card h2 {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-card {
    padding: 1.2rem;
  }
  .stat-value {
    font-size: 2rem;
  }
  .terminal-controls-row {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 1.2rem !important;
  }
  .auth-card {
    padding: 2rem 1.25rem !important;
  }
  .auth-header-card h2 {
    font-size: 1.35rem !important;
    margin-bottom: 0.4rem !important;
  }
  .auth-header-card p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .workspace-title h2 {
    font-size: 1.35rem !important;
  }
  .workspace-panel-card h3 {
    font-size: 1.1rem !important;
  }
  .workspace-panel-card-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .stat-value {
    font-size: 1.7rem !important;
  }
  .stat-label {
    font-size: 0.72rem !important;
  }
  .btn-submit, .btn-passkey-submit, .btn-auth-google {
    font-size: 0.8rem !important;
    padding: 0.75rem 1rem !important;
  }
  .console-panel pre {
    font-size: 0.75rem !important;
  }
}

/* Dashboard Tabs Navigation System */
.dashboard-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.dashboard-tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.tab-trigger:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.tab-trigger.active {
  color: var(--text-main);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.tab-trigger.active .material-symbols-outlined {
  color: var(--accent-purple);
}

.tab-trigger .material-symbols-outlined {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

/* Tab Pane Visibility */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
  display: block;
}

/* Active Tenants Layout */
.tenants-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.tenants-list-container::-webkit-scrollbar {
  width: 6px;
}
.tenants-list-container::-webkit-scrollbar-track {
  background: transparent;
}
.tenants-list-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

/* Premium Tenant Glassmorphic Card */
.tenant-card-glass {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tenant-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-purple);
}

.tenant-card-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(139, 92, 246, 0.05);
}

.tenant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.8rem;
}

.tenant-title-area h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.tenant-title-area .tenant-sub-domain {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
}

.tenant-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tenant-info-table td {
  padding: 0.4rem 0;
  border-bottom: none;
}

.tenant-info-table td.label-col {
  color: var(--text-muted);
  width: 40%;
  font-weight: 500;
}

.tenant-info-table td.value-col {
  color: var(--text-main);
  font-family: monospace;
  font-weight: 500;
  text-align: right;
}

/* Telemetry Profile Badges */
.telemetry-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.telemetry-pill {
  font-size: 0.72rem;
  font-family: monospace;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.telemetry-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c084fc;
  display: inline-block;
  box-shadow: 0 0 8px #c084fc;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; }
}

.btn-deprovision-tenant {
  align-self: flex-end;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.05);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-deprovision-tenant:hover {
  border-color: #ef4444;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
}

