    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f5f7fa;
      color: #111827;
      min-height: 100vh;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    .app-shell {
      display: grid;
      grid-template-columns: 280px 1fr;
      min-height: 100vh;
      background: #f5f7fa;
    }

    .sidebar {
      background: #111827;
      color: #f9fafb;
      padding: 30px 24px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      box-shadow: 4px 0 16px rgba(17, 24, 39, 0.2);
      position: sticky;
      top: 0;
      height: 100vh;
    }

    .sidebar-header {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sidebar-avatar {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: linear-gradient(135deg, #4c6ef5, #22d3ee);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 600;
      color: white;
    }

    .sidebar-header strong {
      display: block;
      font-size: 18px;
    }

    .sidebar-role {
      letter-spacing: 0.6px;
    }

    .sidebar-email {
      font-size: 13px;
      color: #cbd5f5;
      word-break: break-all;
    }

    .sidebar-company {
      font-size: 13px;
      color: #9ca3af;
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    .sidebar-company.muted {
      color: rgba(156, 163, 175, 0.6);
    }

    .sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .sidebar-nav button {
      padding: 12px 16px;
      border: none;
      border-radius: 10px;
      background: transparent;
      color: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      gap: 12px;
    }

    .sidebar-nav button.active,
    .sidebar-nav button:hover {
      background: rgba(59, 130, 246, 0.15);
      color: #fff;
    }

    .sidebar-nav button.hidden {
      display: none;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-icon svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .sidebar-badge {
      background: rgba(255, 255, 255, 0.1);
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 11px;
    }

    .sidebar-quick {
      margin-top: auto;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .sidebar-quick-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 14px;
    }

    .sidebar-quick-card span {
      display: block;
      font-size: 12px;
      color: #9ca3af;
      margin-bottom: 4px;
    }

    .sidebar-quick-card strong {
      font-size: 20px;
    }

    .role-pill,
    .sidebar-role {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(59, 130, 246, 0.15);
      color: #bfdbfe;
      text-transform: capitalize;
    }

    .sidebar-settings-btn {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: transparent;
      color: #f9fafb;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }

    .sidebar-settings-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .sidebar-logout-btn {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      border: none;
      background: rgba(244, 63, 94, 0.25);
      color: #fecaca;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .sidebar-logout-btn:hover {
      background: rgba(244, 63, 94, 0.4);
      color: #fff;
    }

    .main-area {
      background: #f5f7fa;
      min-height: 100vh;
    }

    .navbar {
      background: white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      padding: 15px 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .navbar-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .navbar h1 {
      font-size: 24px;
      color: #333;
    }

    .navbar-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .navbar-company-pill {
      padding: 6px 14px;
      border-radius: 999px;
      background: #e0f2fe;
      color: #0369a1;
      font-weight: 600;
      font-size: 13px;
      text-transform: capitalize;
      border: 1px solid rgba(3, 105, 161, 0.2);
    }

    .navbar-company-pill.empty {
      opacity: 0.7;
    }

    .user-pill {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #f3f6fb;
      border-radius: 999px;
      padding: 8px 16px;
    }

    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 16px;
    }

    .user-meta {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .pill-subtitle {
      font-size: 11px;
      color: #9095a1;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    .user-meta strong {
      font-size: 15px;
      color: #2d3748;
    }

    .icon-button {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: #eef2f7;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
    }

    .icon-button:hover {
      background: #e0e6ef;
      transform: translateY(-1px);
    }

    .icon-button svg {
      width: 18px;
      height: 18px;
      fill: #4a5568;
    }

    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .btn-primary {
      background: #2196f3;
      color: white;
    }

    .btn-primary:hover {
      background: #1976d2;
    }

    .btn-danger {
      background: #f44336;
      color: white;
    }

    .btn-danger:hover {
      background: #d32f2f;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 30px;
    }

    .section-anchor {
      margin-bottom: 40px;
      scroll-margin-top: 90px;
    }

    @media (max-width: 1024px) {
      .section-anchor {
        scroll-margin-top: 130px;
      }
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }

    .stat-card {
      background: white;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .stat-card h3 {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .stat-card .value {
      font-size: 32px;
      font-weight: 700;
      color: #333;
    }

    .section-title {
      font-size: 20px;
      color: #333;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 20px;
    }

    .section-subtitle {
      font-size: 14px;
      color: #6b7280;
      margin-top: 8px;
    }

    .dashboard-focus-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }

    .dashboard-focus-card {
      background: white;
      border-radius: 14px;
      padding: 22px;
      border: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      text-decoration: none;
    }

    .dashboard-focus-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .dashboard-focus-card h3 {
      font-size: 18px;
      color: #111827;
    }

    .dashboard-focus-card p {
      color: #6b7280;
      font-size: 14px;
      line-height: 1.5;
      flex-grow: 1;
    }

    .card-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      color: #2563eb;
    }

    .screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .screenshot-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.2s;
    }

    .screenshot-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .screenshot-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      background: #f0f0f0;
      cursor: pointer;
    }

    .screenshot-info {
      padding: 15px;
    }

    .screenshot-time {
      font-size: 12px;
      color: #666;
      margin-bottom: 5px;
    }

    .screenshot-details {
      font-size: 11px;
      color: #999;
    }

    .loading {
      text-align: center;
      padding: 40px;
      color: #666;
    }

    .error {
      background: #fee;
      color: #c33;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      max-width: 90%;
      max-height: 90%;
      position: relative;
    }

    .modal-content img {
      max-width: 100%;
      max-height: 90vh;
      border-radius: 8px;
    }

    .modal-close {
      position: absolute;
      top: -40px;
      right: 0;
      background: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 24px;
      cursor: pointer;
      color: #333;
    }

    .filters {
      background: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
      display: flex;
      gap: 15px;
      align-items: center;
      flex-wrap: wrap;
    }

    .inactive-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 30px;
      z-index: 1500;
    }

    .inactive-overlay.active {
      display: flex;
    }

    .inactive-card {
      background: white;
      border-radius: 16px;
      padding: 32px;
      max-width: 520px;
      width: 100%;
      text-align: center;
      box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
      border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .inactive-card h2 {
      font-size: 26px;
      margin-bottom: 12px;
      color: #111827;
    }

    .inactive-card p {
      color: #374151;
      margin-bottom: 16px;
      line-height: 1.5;
    }

    .inactive-company {
      background: #f1f5f9;
      border-radius: 12px;
      padding: 12px 16px;
      font-size: 14px;
      color: #0f172a;
      margin-bottom: 10px;
    }

    .inactive-note {
      font-size: 13px;
      color: #6b7280;
    }

    .inactive-actions {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 20px;
    }

    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .filter-group label {
      font-size: 12px;
      color: #666;
      font-weight: 500;
    }

    .filter-group input, .filter-group select {
      padding: 8px 12px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      font-size: 14px;
    }

    .form-section h3 {
      margin-bottom: 10px;
      font-size: 18px;
      color: #333;
    }

    .form-section form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .form-section small {
      color: #777;
      font-size: 12px;
    }

    .form-section label {
      font-size: 12px;
      color: #555;
      font-weight: 600;
      text-transform: uppercase;
    }

    .form-section input,
    .form-section select {
      padding: 10px 12px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 14px;
    }

    .form-message {
      padding: 10px 12px;
      border-radius: 8px;
      font-size: 13px;
      display: none;
    }

    .form-message.success {
      background: #e8f8f0;
      color: #1b5e20;
      border: 1px solid #a5d6a7;
    }

    .form-message.error {
      background: #fee;
      color: #c62828;
      border: 1px solid #f5c6cb;
    }

    .load-more-wrapper {
      text-align: center;
      margin-top: 15px;
    }

    .admin-panel {
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
      padding: 20px;
      margin-bottom: 25px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .team-monitoring-metrics {
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      padding: 20px;
      margin-bottom: 25px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .team-metrics-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      flex-wrap: wrap;
    }

    .team-metrics-head h3 {
      margin-bottom: 6px;
      font-size: 20px;
    }

    .team-metrics-head p {
      margin: 0;
      color: #666;
      font-size: 14px;
    }

    .team-metrics-status {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      background: #eef2ff;
      color: #312e81;
    }

    .team-metrics-status.status-active {
      background: #e0f7ec;
      color: #166534;
    }

    .team-metrics-status.status-inactive {
      background: #fef3c7;
      color: #92400e;
    }

    .team-metrics-status.status-suspended {
      background: #fee2e2;
      color: #b91c1c;
    }

    .team-metrics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
    }

    .team-metric-card {
      border: 1px solid #f1f5f9;
      border-radius: 12px;
      padding: 16px;
      background: #f8fafc;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .team-metric-card span {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      color: #64748b;
    }

    .team-metric-card strong {
      font-size: 22px;
      color: #0f172a;
    }

    .team-metric-detail {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
    }

    .team-metric-detail span {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      color: #94a3b8;
      margin-bottom: 4px;
      font-weight: 600;
    }

    .team-metric-detail strong,
    .team-metric-detail p {
      margin: 0;
      color: #0f172a;
      font-size: 14px;
    }

    .team-metric-detail p {
      color: #475569;
    }

    .admin-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .admin-panel-header h2 {
      font-size: 22px;
      margin-bottom: 6px;
    }

    .seat-limit-pill {
      display: none;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 999px;
      background: #e0f2fe;
      color: #0369a1;
      font-weight: 600;
      font-size: 13px;
    }

    .seat-limit-pill.limit-reached {
      background: #fee2e2;
      color: #b91c1c;
    }

    .admin-panel-controls {
      display: flex;
      align-items: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .team-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .team-table th, .team-table td {
      padding: 12px;
      border-bottom: 1px solid #f0f0f0;
      text-align: left;
    }

    .team-table th {
      background: #f9fafc;
      font-size: 12px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: #555;
    }

    .team-table tr.selected-row {
      background: #eef4ff;
    }

    .team-table select {
      width: 100%;
      padding: 6px 8px;
      border-radius: 6px;
      border: 1px solid #d4d4d8;
      background: #fff;
      font-size: 13px;
    }

    .team-table select:disabled {
      background: #f4f4f5;
      color: #9ca3af;
      cursor: not-allowed;
    }

    .team-session-panels {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-top: 24px;
    }

    .team-session-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .team-session-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      flex-wrap: wrap;
    }

    .team-session-head h3 {
      margin-bottom: 6px;
      font-size: 20px;
    }

    .team-session-head p {
      margin: 0;
      color: #64748b;
      font-size: 14px;
    }

    .team-session-actions {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .team-session-table-wrapper {
      width: 100%;
      overflow-x: auto;
    }

    .team-session-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .team-session-table th,
    .team-session-table td {
      padding: 12px;
      border-bottom: 1px solid #f1f5f9;
      text-align: left;
    }

    .team-session-table th {
      text-transform: uppercase;
      color: #94a3b8;
      font-size: 12px;
      letter-spacing: 0.04em;
      background: #f8fafc;
    }

    .team-session-table td:first-child {
      font-weight: 600;
      color: #0f172a;
      white-space: nowrap;
    }

    .team-session-table tbody tr:hover {
      background: #f8fafc;
    }

    .team-session-table .btn {
      white-space: nowrap;
    }

    .team-session-load-more {
      margin-top: 12px;
      display: flex;
      justify-content: center;
    }

    .team-status-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .team-status-badge.active {
      background: rgba(16, 185, 129, 0.15);
      color: #047857;
    }

    .team-status-badge.muted {
      background: rgba(148, 163, 184, 0.25);
      color: #475569;
    }

    .cell-stack {
      display: flex;
      flex-direction: column;
      gap: 6px;
      align-items: flex-start;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
    }

    .badge-success {
      background: #e5f7ef;
      color: #1b9c5a;
    }

    .badge-warning {
      background: #fff4e6;
      color: #b45309;
    }

    .badge-muted {
      background: #f0f0f0;
      color: #777;
    }

    .current-user-tag {
      margin-top: 5px;
      margin-bottom: 15px;
      color: #555;
      font-size: 14px;
    }

    .company-tag {
      display: inline-flex;
      align-items: center;
      margin-left: 12px;
      padding: 4px 10px;
      border-radius: 999px;
      background: #ecfccb;
      color: #365314;
      font-size: 12px;
      font-weight: 600;
      text-transform: capitalize;
    }

    .btn-secondary {
      background: #f0f0f5;
      color: #333;
    }

    .btn-secondary:hover {
      background: #e0e0e8;
    }

    .team-summary-empty {
      text-align: center;
      color: #666;
      padding: 20px;
      font-size: 14px;
    }

    .admin-panel-alert {
      padding: 12px 14px;
      border-radius: 8px;
      font-size: 13px;
      display: none;
    }

    .admin-panel-alert.success {
      background: #e8f8f0;
      color: #0f5132;
      border: 1px solid #a5d6a7;
    }

    .admin-panel-alert.error {
      background: #fdecea;
      color: #b91c1c;
      border: 1px solid #f5c2c0;
    }

    .settings-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      z-index: 900;
    }

    .settings-overlay.active {
      opacity: 1;
      pointer-events: all;
    }

    .settings-panel {
      position: fixed;
      top: 0;
      right: -420px;
      width: 380px;
      height: 100vh;
      background: #0f172a;
      color: #e2e8f0;
      box-shadow: -10px 0 30px rgba(15, 23, 42, 0.35);
      padding: 30px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transition: right 0.3s ease;
      z-index: 950;
      border-top-left-radius: 16px;
      border-bottom-left-radius: 16px;
      background-image: radial-gradient(circle at top, rgba(59,130,246,0.35), transparent 55%),
        radial-gradient(circle at bottom, rgba(99,102,241,0.3), transparent 60%);
    }

    .settings-panel.active {
      right: 0;
    }

    .settings-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
    }

    .settings-panel-header h2 {
      font-size: 24px;
      margin-bottom: 4px;
    }

    .settings-panel-body {
      flex: 1;
      overflow-y: auto;
      padding-right: 6px;
    }

    .settings-page-container {
      padding-bottom: 32px;
    }

    .settings-page-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .settings-columns {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .settings-column {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .settings-section {
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 18px;
      background: rgba(15, 23, 42, 0.6);
      box-shadow: 0 15px 35px rgba(15, 23, 42, 0.35);
      backdrop-filter: blur(20px);
    }

    .account-card {
      display: flex;
      gap: 15px;
      align-items: center;
      background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(14,165,233,0.15));
      grid-column: 1 / -1;
    }

    .settings-company-text {
      color: #cbd5f5;
      font-size: 13px;
      margin-top: 4px;
    }

    .settings-company-slug {
      display: inline-flex;
      margin-top: 6px;
      padding: 2px 10px;
      border-radius: 12px;
      background: rgba(248, 250, 252, 0.15);
      font-size: 11px;
      color: #e2e8f0;
      text-transform: lowercase;
    }

    .account-avatar {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 600;
    }

    .settings-step {
      display: none;
      flex-direction: column;
      gap: 12px;
    }

    .settings-step.active {
      display: flex;
    }

    .security-brief {
      background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(14,165,233,0.15));
      border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .security-checklist {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 14px;
    }

    .security-checklist-item {
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.2);
      border: 1px solid rgba(148, 163, 184, 0.15);
    }

    .security-checklist-item strong {
      display: block;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .security-checklist-item p {
      margin: 0;
      color: #cbd5f5;
      font-size: 13px;
      line-height: 1.4;
    }

    .otp-input-group {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .otp-input-group input {
      flex: 1;
      margin-bottom: 0;
    }

    .otp-input-group .btn {
      margin-bottom: 0;
      height: 48px;
    }

    .settings-section h3,
    .settings-section label,
    .settings-section small,
    .settings-section strong,
    .settings-section p {
      color: inherit;
    }

    .settings-section label {
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
      color: #e2e8f0;
    }

    .settings-section input,
    .settings-section select {
      width: 100%;
      border-radius: 12px;
      padding: 12px 14px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: rgba(15, 23, 42, 0.7);
      color: #f8fafc;
      font-size: 15px;
      margin-bottom: 14px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .settings-section input:focus,
    .settings-section select:focus {
      border-color: #38bdf8;
      box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
      outline: none;
      background: rgba(15, 23, 42, 0.85);
    }

    .settings-section input::placeholder,
    .settings-section select::placeholder {
      color: rgba(248, 250, 252, 0.7);
    }

    .settings-panel .btn-primary {
      background: #38bdf8;
      border: none;
    }

    .settings-panel .btn-secondary {
      background: rgba(255, 255, 255, 0.15);
      color: #f1f5f9;
      border: none;
    }

    .settings-note {
      font-size: 13px;
      color: #cbd5f5;
      margin-top: 8px;
      line-height: 1.5;
    }

    .device-sessions-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .device-sessions-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .device-sessions-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 14px;
    }

    .device-session-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      padding: 16px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(15, 23, 42, 0.45);
    }

    .device-session-info {
      flex: 1;
    }

    .device-session-info strong {
      font-size: 15px;
    }

    .device-session-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
      font-size: 12px;
      color: #cbd5f5;
    }

    .device-session-status {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 2px 10px;
      font-size: 11px;
      margin-left: 8px;
      background: rgba(255, 255, 255, 0.1);
      color: #e2e8f0;
    }

    .device-session-status.current {
      background: rgba(16, 185, 129, 0.2);
      color: #86efac;
    }

    .device-session-status.active {
      background: rgba(59, 130, 246, 0.2);
      color: #bfdbfe;
    }

    .device-session-status.inactive {
      background: rgba(248, 113, 113, 0.2);
      color: #fecaca;
    }

    .device-session-row-actions {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .device-sessions-empty {
      margin-top: 14px;
      padding: 14px;
      border-radius: 12px;
      border: 1px dashed rgba(255, 255, 255, 0.15);
      color: #94a3b8;
      font-size: 13px;
    }

    .device-sessions-loading {
      margin-top: 12px;
      color: #cbd5f5;
      font-size: 13px;
    }

    .settings-header-controls {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .settings-panel-logout {
      padding: 8px 14px;
      border-radius: 8px;
      border: 1px solid rgba(248, 113, 113, 0.6);
      background: rgba(248, 113, 113, 0.15);
      color: #fecaca;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .settings-panel-logout:hover {
      background: rgba(248, 113, 113, 0.3);
      color: #fff;
    }

    .settings-chip {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      text-transform: uppercase;
      background: rgba(59, 130, 246, 0.2);
      color: #bfdbfe;
      margin-bottom: 8px;
    }

    .settings-close {
      background: none;
      border: none;
      font-size: 22px;
      cursor: pointer;
      color: #e2e8f0;
    }

    .session-screenshots-card {
      background: white;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    }

    .session-screenshots-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .session-screenshots-status {
      margin-top: 16px;
      color: #607088;
      font-size: 14px;
    }

    .session-screenshots-actions {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    @media (max-width: 1024px) {
      .app-shell {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s ease;
      }

      .app-shell.sidebar-open .sidebar {
        left: 0;
      }

      .main-area {
        padding-top: 60px;
      }

      .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 900;
      }
    }

    .global-footer {
      padding: 24px;
      text-align: center;
      color: #64748b;
      font-size: 14px;
    }
  
