/* Modern Premium Design System: Dark Neon Slate/Glassmorphism */

:root {
  --bg-main: #0b0f19;
  --bg-gradient: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
  --bg-card: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.5);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  
  /* HSL Status Colors with custom glows */
  --color-green: #10b981;
  --color-green-glow: rgba(16, 185, 129, 0.2);
  --color-green-bg: #d1fae5;
  
  --color-orange: #f59e0b;
  --color-orange-glow: rgba(245, 158, 11, 0.2);
  --color-orange-bg: #fef3c7;
  
  --color-red: #ef4444;
  --color-red-glow: rgba(239, 68, 68, 0.2);
  --color-red-bg: #fee2e2;
  
  --color-darkred: #991b1b;
  --color-darkred-glow: rgba(153, 27, 27, 0.2);
  --color-darkred-bg: #fecaca;
  
  --color-blue: #3b82f6;
  --color-blue-glow: rgba(59, 130, 246, 0.2);
  --color-blue-bg: #dbeafe;
  
  --color-gray: #6b7280;
  --color-gray-glow: rgba(107, 114, 128, 0.2);
  --color-gray-bg: #f3f4f6;
  
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --sidebar-width: 280px;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  line-height: 1.5;
}

/* App Container Layout */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(10, 15, 26, 0.95);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.4));
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.25);
  font-weight: 600;
}

/* Sidebar Time Panel */
.system-time-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
}

.panel-title {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.time-display {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #f59e0b;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
  border-radius: 4px;
  text-align: center;
}

.time-controls {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.time-controls button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 10px;
  padding: 4px 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.1s ease;
}

.time-controls button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.time-controls button.warning-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  grid-column: span 2;
}

.time-controls button.warning-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Main Header */
.main-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(17, 24, 39, 0.3);
}

.header-title h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.header-title p {
  font-size: 12px;
  color: var(--text-muted);
}

.connection-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.connection-pill.online .dot {
  width: 6px;
  height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-green);
}

/* Tab Switching */
.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dashboard Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-icon {
  font-size: 18px;
}

.metric-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.metric-footer {
  font-size: 11px;
  color: var(--text-muted);
}

/* Card Accent variations */
.metric-card.primary {
  border-left: 4px solid var(--color-blue);
}
.metric-card.success {
  border-left: 4px solid var(--color-green);
}
.metric-card.warning {
  border-left: 4px solid var(--color-orange);
}
.metric-card.danger {
  border-left: 4px solid var(--color-red);
}

/* Dashboard Details Layout */
.dashboard-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.dashboard-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* General Panels */
.dashboard-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dashboard-panel h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.panel-header-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* Table Stylings */
.seats-table-container, .db-table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

th {
  color: var(--text-muted);
  font-weight: 600;
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

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

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 36px 0;
  font-style: italic;
}

/* Status Labels / Chips */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pill.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pill.expired {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-pill.revoked {
  background: rgba(153, 27, 27, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(153, 27, 27, 0.3);
}

.status-pill.consumed {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-pill.request {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-orange);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Security policy layout */
.security-policies {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.policy-icon {
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.policy-info h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.policy-info p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Button Classes */
button.primary-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

button.primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
}

button.primary-btn:disabled {
  background: #4b5563;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}

button.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

button.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

button.danger-btn {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

button.danger-btn:hover {
  background: rgba(239, 68, 68, 0.3) !important;
}

button.sm {
  padding: 4px 8px;
  font-size: 11px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

input, select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: all 0.2s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Checkbox Custom Styles */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-main);
  text-transform: none;
  font-weight: 400;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Configurator Tab Specific Layout */
.configurator-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.configurator-side-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Workstation Launcher Client Styles */
.launcher-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Desktop App Container Setup */
.launcher-desktop-wrapper {
  background: #0d121f;
  border: 1px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.launcher-window-header {
  background: #111827;
  border-bottom: 1px solid #1e293b;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.win-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.win-controls {
  display: flex;
  gap: 8px;
}

.win-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
}

.win-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
}

.win-btn.close:hover {
  background: #ef4444;
  color: white;
}

.launcher-window-body {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  overflow: hidden;
  background: #080b11;
}

.launcher-window-body.wizard-hidden {
  grid-template-columns: 1fr 280px;
}

/* LEFT: Secure activation steps wizard inside Launcher */
.launcher-flow-panel {
  border-right: 1px solid #1e293b;
  background: #0b0f19;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.wizard-header h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.wizard-header p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.wizard-step-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.wizard-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
}

.wizard-step.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.wstep-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wstep-header .num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wstep-header h4 {
  font-size: 12px;
  font-weight: 600;
}

.wizard-step p {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.token-disp {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #f59e0b;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.conn-dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Launcher main status panel */
.launcher-main-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow-y: auto;
}

.launcher-main-panel .status-card-outer {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.launch-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

.launch-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: white;
  padding: 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.launch-btn:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.launch-btn:disabled {
  background: #1e293b;
  border-color: #334155;
  color: #475569;
  box-shadow: none;
  cursor: not-allowed;
}

.launch-btn .btn-icon {
  font-size: 24px;
}

.launch-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.launch-btn .btn-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.launch-btn .btn-text small {
  font-size: 11px;
  opacity: 0.8;
}

.lockdown-notice {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  max-width: 320px;
}

/* Launcher right integrity/info log */
.launcher-side-panel {
  border-left: 1px solid #1e293b;
  background: #0b0f19;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.launcher-side-panel h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.launcher-log-console {
  background: #04060b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px;
  height: 160px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lnr-log-line {
  color: #6b7280;
  line-height: 1.3;
}

.lnr-log-line.success {
  color: var(--color-green);
}

.lnr-log-line.error {
  color: var(--color-red);
}

.launcher-file-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.launcher-file-tab .file-name {
  font-family: var(--font-mono);
  font-size: 11px;
}

.launcher-file-tab .file-status {
  font-size: 10px;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-red);
  padding: 2px 6px;
  border-radius: 4px;
}

.launcher-file-tab .file-status.ok {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
}

/* Fingerprint Visual Display */
.fingerprint-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.fp-row {
  display: grid;
  grid-template-columns: 100px 1.5fr 1fr;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.fp-row .label {
  font-weight: 600;
  color: var(--text-muted);
}

.fp-row .raw {
  font-family: var(--font-mono);
  color: #3b82f6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-row .hash {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: right;
  font-size: 11px;
}

/* Handshake Steps */
.handshake-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.handshake-step {
  display: flex;
  gap: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 8px;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.handshake-step.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-muted);
  color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.handshake-step:not(.disabled) .step-num {
  background: var(--color-blue);
  color: white;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.step-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.step-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.step-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-value {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* File explorer */
.file-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.file-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

.file-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.code-editor-container {
  background: #07090e;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  height: 180px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.code-editor-container pre {
  margin: 0;
}

.code-editor-container code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d1d5db;
  white-space: pre-wrap;
  word-break: break-all;
}

.file-actions {
  display: flex;
  gap: 8px;
}

/* Launcher Verifier Engine Panel */
.panel-title-with-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 2px 8px;
  border-radius: 50px;
}

.badge.online {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  border-color: rgba(16, 185, 129, 0.2);
}

.engine-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

/* Verification list steps */
.ver-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.ver-step {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ver-step.pending {
  color: var(--text-muted);
}

.ver-step.checking {
  color: #3b82f6;
  font-weight: bold;
}

.ver-step.success {
  color: var(--color-green);
}

.ver-step.fail {
  color: var(--color-red);
  font-weight: bold;
}

.ver-step.success .bullet {
  color: var(--color-green);
}

.ver-step.fail .bullet {
  color: var(--color-red);
}

/* PREMIUM UX DYNAMIC STATUS CARD */
.status-card-outer {
  background: linear-gradient(145deg, #111827 0%, #1e293b 100%);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Card states shadows and borders */
.status-card-outer.card-valid {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 32px var(--color-green-glow), inset 0 0 12px var(--color-green-glow);
}
.status-card-outer.card-grace {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 32px var(--color-orange-glow), inset 0 0 12px var(--color-orange-glow);
}
.status-card-outer.card-expired {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 32px var(--color-red-glow), inset 0 0 12px var(--color-red-glow);
}
.status-card-outer.card-revoked {
  border-color: rgba(153, 27, 27, 0.4);
  box-shadow: 0 8px 32px var(--color-darkred-glow), inset 0 0 12px var(--color-darkred-glow);
}
.status-card-outer.card-consumed {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px var(--color-blue-glow), inset 0 0 12px var(--color-blue-glow);
}
.status-card-outer.card-invalid {
  border-color: rgba(107, 114, 128, 0.4);
  box-shadow: 0 8px 32px var(--color-gray-glow), inset 0 0 12px var(--color-gray-glow);
}

.status-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.status-card-conn {
  font-size: 10px;
  color: var(--text-muted);
}

.status-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  width: fit-content;
}

/* Color codes mapping for UX overlay */
.card-valid .status-chip {
  background: var(--color-green-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-green);
}
.card-grace .status-chip {
  background: var(--color-orange-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-orange);
}
.card-expired .status-chip {
  background: var(--color-red-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-red);
}
.card-revoked .status-chip {
  background: var(--color-darkred-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-darkred);
}
.card-consumed .status-chip {
  background: var(--color-blue-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-blue);
}
.card-invalid .status-chip {
  background: var(--color-gray-bg);
  color: var(--text-dark);
  border: 1px solid var(--color-gray);
}

.chip-icon {
  font-size: 18px;
}

.chip-text {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.countdown-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.countdown-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.countdown-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
  letter-spacing: 1px;
}

.card-valid .countdown-val {
  color: var(--color-green);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.card-grace .countdown-val {
  color: var(--color-orange);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.status-error-detail {
  font-size: 12px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 12px;
  border-radius: 8px;
  line-height: 1.4;
}

.meta-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.meta-row .lbl {
  color: var(--text-muted);
}

.meta-row .val {
  font-weight: 500;
}

/* Server Tab Layout */
.server-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  height: calc(100vh - var(--header-height) - 100px);
}

.server-db-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.server-db-panel .dashboard-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.db-table-container {
  flex: 1;
  overflow-y: auto;
}

.db-table {
  font-size: 12px;
}

.db-table th {
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.db-table td {
  font-family: var(--font-mono);
}

.db-table td span.text {
  font-family: var(--font-sans);
}

.server-terminal-panel {
  height: 100%;
}

.terminal-wrapper {
  background: #020408 !important;
  border: 1px solid #1f2937 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
}

.terminal-header {
  padding: 12px 18px;
  border-bottom: 1px solid #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #070a13;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.terminal-header span {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: bold;
}

.terminal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  word-break: break-all;
  white-space: pre-wrap;
}

.log-line.info {
  color: #6b7280;
}

.log-line.request {
  color: #3b82f6;
  border-left: 2px solid #3b82f6;
  padding-left: 6px;
}

.log-line.success {
  color: var(--color-green);
  border-left: 2px solid var(--color-green);
  padding-left: 6px;
}

.log-line.error {
  color: var(--color-red);
  border-left: 2px solid var(--color-red);
  padding-left: 6px;
}

.log-line.db {
  color: #f59e0b;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.connection-pill.online .dot {
  animation: pulse 2s infinite;
}

/* Pending Requests Layout Optimization */
.id-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.id-badge .badge-icon {
  font-size: 14px;
}
.school-key-badge {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.device-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.device-id-line {
  font-weight: 600;
  color: var(--text-main);
}
.device-specs-line {
  font-size: 11px;
  color: var(--text-muted);
}
.device-info-wrapper code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 10px;
}
.time-wrapper {
  font-size: 12px;
  line-height: 1.35;
}
.time-main {
  font-weight: 700;
  color: #f59e0b;
}
.time-date {
  color: var(--text-muted);
  font-size: 11px;
}
.action-buttons-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}
.approve-btn-glow {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  border: none !important;
  transition: all 0.2s ease;
  font-weight: 600 !important;
}
.approve-btn-glow:hover {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle Button (Desktop-first: hidden by default) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.mobile-menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animations when menu is toggled active */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Tablet & Smaller Screens (Desktop-First Media Queries) */
@media (max-width: 1024px) {
  .app-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  body {
    overflow-y: auto;
    height: auto;
  }

  /* Sidebar becomes a top header bar */
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    gap: 0;
  }

  .brand {
    margin-bottom: 0;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* By default, hide collapsible menus */
  .sidebar .role-selector-panel,
  .sidebar .nav-menu,
  .sidebar .system-time-panel {
    display: none !important;
  }

  /* Show collapsible menus when active */
  .sidebar.menu-open .role-selector-panel {
    display: block !important;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
  }

  .sidebar.menu-open .nav-menu {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 16px 0;
  }

  .sidebar.menu-open .system-time-panel {
    display: block !important;
    width: 100%;
    margin-top: 16px;
    padding: 16px;
  }

  .nav-item {
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .time-display {
    margin-bottom: 10px;
    text-align: center;
  }

  .sidebar-footer {
    display: none;
  }

  /* Main content scrolls vertically */
  .main-content {
    overflow: visible;
    height: auto;
  }

  .main-header {
    padding: 16px 24px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
  }

  .tab-content {
    padding: 24px;
    overflow-y: visible;
    height: auto;
  }

  /* Grid Layouts Stack */
  .dashboard-details {
    grid-template-columns: 1fr;
  }

  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .server-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .server-db-panel, .server-terminal-panel {
    height: 450px;
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .sidebar {
    padding: 16px;
  }

  .brand h1 {
    font-size: 18px;
  }

  .tab-content {
    padding: 16px;
  }

  /* Form Rows Stack */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Wizard Launcher Screen Stack */
  .launcher-desktop-wrapper {
    height: auto;
    min-height: auto;
  }

  .launcher-window-body {
    grid-template-columns: 1fr !important;
    height: auto;
    overflow-y: visible;
  }

  .launcher-window-body.wizard-hidden {
    grid-template-columns: 1fr !important;
  }

  .launcher-flow-panel {
    border-right: none;
    border-bottom: 1px solid #1e293b;
    height: auto;
    overflow-y: visible;
  }

  .launcher-main-panel {
    padding: 20px;
    height: auto;
    min-height: 450px;
    overflow-y: visible;
  }

  .launcher-side-panel {
    border-left: none;
    border-top: 1px solid #1e293b;
    height: auto;
    overflow-y: visible;
  }

  .seats-table-container, .db-table-container {
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-content {
    margin: 16px;
    width: calc(100% - 32px);
  }
}

/* Mode Restrictions Style Overrides */
body.mode-student-launcher .sidebar {
  display: none !important;
}

body.mode-student-launcher .main-header {
  display: none !important;
}

body.mode-student-launcher .app-container {
  display: block !important;
}

body.mode-student-launcher .tab-content {
  padding: 16px;
  height: 100vh;
  overflow-y: auto;
}

body.mode-student-launcher .launcher-desktop-wrapper {
  height: calc(100vh - 16px);
  border: none;
  border-radius: 0;
}

body.mode-student-launcher .launcher-toolbar {
  display: none !important;
}

body.mode-student-launcher #btn-lnr-tamper,
body.mode-student-launcher #btn-lnr-corrupt-seal,
body.mode-student-launcher #btn-lnr-wipe-client {
  display: none !important;
}

/* IT Coordinator Tool Restrictions */
body.mode-it-tool .role-selector-panel,
body.mode-it-tool .system-time-panel,
body.mode-it-tool .nav-item[data-tab="schools"],
body.mode-it-tool .nav-item[data-tab="server"],
body.mode-it-tool .nav-item[data-tab="launcher"] {
  display: none !important;
}

/* System Admin Tool Restrictions */
body.mode-admin-tool .role-selector-panel,
body.mode-admin-tool .system-time-panel,
body.mode-admin-tool .nav-item[data-tab="launcher"] {
  display: none !important;
}

/* Simple Student Launcher UX Overrides */
body.mode-student-launcher .launcher-side-panel {
  display: none !important;
}

body.mode-student-launcher .launcher-toolbar {
  display: none !important;
}

body.mode-student-launcher .launcher-window-body {
  grid-template-columns: 1fr !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #05070c; /* Deep dark background */
}

/* Visibility Toggles based on verification state */
body.mode-student-launcher .launcher-window-body:not(.wizard-hidden) #lnr-active-panel {
  display: none !important;
}
body.mode-student-launcher .launcher-window-body:not(.wizard-hidden) #lnr-activation-wizard {
  display: flex !important;
}
body.mode-student-launcher .launcher-window-body.wizard-hidden #lnr-activation-wizard {
  display: none !important;
}
body.mode-student-launcher .launcher-window-body.wizard-hidden #lnr-active-panel {
  display: flex !important;
}

/* Student container and Card styling */
.student-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.student-card {
  width: 100%;
  background: rgba(17, 25, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.student-card-header {
  text-align: center;
}

.student-card-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.student-card-header p {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* Tabs switcher */
.student-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.student-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.student-tab-btn:hover {
  color: #ffffff;
}

.student-tab-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Tab contents */
.student-tab-content {
  display: none;
}

.student-tab-content.active {
  display: block;
}

/* File Drop Area */
.file-drop-area {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 32px 16px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.file-drop-area.dragover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  transform: scale(1.02);
}

.file-icon {
  font-size: 40px;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
  margin-bottom: 4px;
}

.drop-text {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #e2e8f0;
  margin: 0;
}

.file-tip {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: #64748b;
  margin: 0;
}

/* Form inputs styling */
.form-simple {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-simple {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group-simple label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.form-group-simple select,
.form-group-simple input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group-simple select:focus,
.form-group-simple input:focus {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.primary-btn-simple {
  width: 100%;
  padding: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  outline: none;
}

.primary-btn-simple:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

.primary-btn-simple:disabled {
  background: #1e293b;
  border-color: #334155;
  color: #475569;
  box-shadow: none;
  cursor: not-allowed;
}

/* Success Card Elements */
.success-icon-pulse {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 16px auto;
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.success-subtitle {
  color: #10b981 !important;
  font-weight: 500;
}

.student-details-list {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
}

.details-lbl {
  color: #64748b;
  font-weight: 500;
}

.details-val {
  color: #f1f5f9;
  font-weight: 600;
}

.launch-action-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.launch-btn-simple {
  width: 100%;
  padding: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
  outline: none;
}

.launch-btn-simple:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.launch-btn-simple:disabled {
  background: #1e293b;
  border-color: #334155;
  color: #475569;
  box-shadow: none;
  cursor: not-allowed;
}

.lockdown-notice-simple {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.student-deactivate-wrapper {
  margin-top: 8px;
  text-align: center;
}

.text-btn-danger {
  background: transparent;
  border: none;
  color: #ef4444;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  outline: none;
}

.text-btn-danger:hover {
  opacity: 1;
}





