/*
  ╔═══════════════════════════════════════════════════════════════╗
  ║                    SETTINGS CSS                              ║
  ║         Integrated Settings Page within Dashboard            ║
  ║                                                               ║
  ║  Reuses: dashboard.css, tokens.css, animations.css           ║
  ║  Contains: Settings-specific styling only                    ║
  ║  Size: Optimized, no duplications                            ║
  ╚═══════════════════════════════════════════════════════════════╝
*/

/* ═══════════════════════════════════════════════════════════════ */
/* LAYOUT & STRUCTURE */
/* ═══════════════════════════════════════════════════════════════ */

.settings-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-8);
  overflow-y: auto;
}

.settings-view-header {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-1);
}

.settings-view-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin: 0 0 var(--space-2) 0;
}

.settings-view-subtitle {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin: 0;
}

.settings-page {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-8);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SETTINGS NAVIGATION */
/* ═══════════════════════════════════════════════════════════════ */

.settings-nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: var(--space-4);
  background: var(--surface-1);
  border-radius: var(--radius-md);
}

.settings-nav-header {
  padding-bottom: var(--space-3);
}

.settings-nav-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.settings-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.settings-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  text-decoration: none;
  transition: all var(--dur-base) var(--ease);
  border-left: 2px solid transparent;
  cursor: pointer;
  font-size: var(--text-sm);
}

.settings-nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.settings-nav-link.active {
  color: var(--accent);
  background: rgba(228, 228, 231, 0.1);
  border-left-color: var(--accent);
}

.settings-nav-link--danger {
  color: #f87171;
}

.settings-nav-link--danger:hover {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.05);
}

.settings-nav-link--danger.active {
  color: #fca5a5;
  border-left-color: #f87171;
}

.s-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.s-nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SETTINGS CONTENT */
/* ═══════════════════════════════════════════════════════════════ */

.settings-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.settings-section {
  display: none;
}

.settings-section.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  animation: fadeUp var(--dur-base) var(--ease) both;
}

.settings-heading {
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

.settings-description {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SETTINGS CARDS */
/* ═══════════════════════════════════════════════════════════════ */

.settings-card {
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--dur-base) var(--ease);
}

.settings-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.settings-card--danger {
  background: rgba(248, 113, 113, 0.02);
  border-color: rgba(248, 113, 113, 0.2);
}

.settings-card--danger:hover {
  background: rgba(248, 113, 113, 0.04);
  border-color: rgba(248, 113, 113, 0.3);
}

.settings-card--warning {
  background: rgba(245, 158, 11, 0.02);
  border-color: rgba(245, 158, 11, 0.2);
}

.settings-card-heading {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0 0 var(--space-2) 0;
}

.settings-card-subtext {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* AVATAR SECTION */
/* ═══════════════════════════════════════════════════════════════ */

.settings-avatar-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.settings-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  cursor: pointer;
  display: block;
}

.settings-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.settings-avatar-edit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  cursor: pointer;
}

.settings-avatar-edit svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke-width: 2;
}

.settings-avatar:hover .settings-avatar-edit {
  opacity: 1;
}

.settings-avatar-meta {
  flex: 1;
}

.settings-avatar-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

.settings-avatar-email {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin: var(--space-1) 0 0 0;
}

.settings-avatar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: var(--space-3);
  padding: 0 var(--space-3);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
}

.avatar-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.settings-avatar-action:hover,
.settings-avatar-action:focus-visible {
  border-color: var(--accent);
  outline: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FORM EXTENSIONS */
/* ═══════════════════════════════════════════════════════════════ */

.settings-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  margin-top: var(--space-2);
}

.form-static-value {
  font-size: var(--text-sm);
  color: var(--text-soft);
  padding: var(--space-3);
  background: var(--surface-1);
  border-radius: var(--radius-sm);
}

.provider-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--accent);
  background: rgba(228, 228, 231, 0.1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════════════════════ */
/* UNSAVED INDICATOR */
/* ═══════════════════════════════════════════════════════════════ */

.unsaved-indicator {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--accent);
  color: var(--ink-8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  pointer-events: none;
}

.unsaved-indicator.active {
  opacity: 1;
  pointer-events: auto;
}

.unsaved-dot {
  width: 8px;
  height: 8px;
  background: var(--ink-8);
  border-radius: 50%;
  animation: pulse var(--dur-slow) var(--ease) infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTON STATES */
/* ═══════════════════════════════════════════════════════════════ */

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin var(--dur-base) linear infinite;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading .btn-spinner {
  display: inline-block;
  margin-right: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════ */
/* TOGGLE SWITCH */
/* ═══════════════════════════════════════════════════════════════ */

.toggle-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.toggle-input {
  display: none;
}

.toggle-track {
  display: flex;
  align-items: center;
  width: 44px;
  height: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  padding: var(--space-1);
  transition: all var(--dur-base) var(--ease);
}

.toggle-thumb {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--text);
  border-radius: 50%;
  transition: transform var(--dur-base) var(--ease);
}

.toggle-input:checked + .toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
  background: var(--ink-8);
}

.toggle-input:focus-visible + .toggle-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PREFERENCE ROW */
/* ═══════════════════════════════════════════════════════════════ */

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-0);
}

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

.preference-info {
  flex: 1;
}

.preference-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

.preference-description {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin: var(--space-1) 0 0 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* THEME SELECTOR */
/* ═══════════════════════════════════════════════════════════════ */

.theme-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.theme-option {
  cursor: pointer;
}

.theme-radio {
  display: none;
}

.theme-card {
  position: relative;
  border: 2px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: all var(--dur-base) var(--ease);
  text-align: center;
}

.theme-option .theme-radio:checked + .theme-card {
  border-color: var(--accent);
  background: rgba(228, 228, 231, 0.05);
}

.theme-card:hover {
  border-color: var(--border-2);
}

.theme-preview {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.theme-preview--dark {
  background: linear-gradient(135deg, #18181b 0%, #0f0f10 100%);
  border: 1px solid var(--border-1);
}

.theme-preview--light {
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f5 100%);
  border: 1px solid #e4e4e7;
}

.theme-preview--system {
  background: linear-gradient(135deg, #18181b 0%, #0f0f10 48%, #ffffff 52%, #f4f4f5 100%);
  border: 1px solid var(--border-1);
}

.theme-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ACCENT SELECTOR */
/* ═══════════════════════════════════════════════════════════════ */

.accent-selector {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.accent-option {
  cursor: pointer;
}

.accent-radio {
  display: none;
}

.accent-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-1);
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
}

.accent-option .accent-radio:checked + .accent-swatch {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(228, 228, 231, 0.2);
  transform: scale(0.95);
}

.accent-swatch:hover {
  transform: scale(1.05);
}

.accent-swatch--blue {
  background: #e4e4e7;
}

.accent-swatch--purple {
  background: #a78bfa;
}

.accent-swatch--green {
  background: #86efac;
}

.accent-swatch--orange {
  background: #fb923c;
}

.accent-swatch--red {
  background: #f87171;
}

.accent-swatch--gray {
  background: #9ca3af;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PASSWORD STRENGTH METER */
/* ═══════════════════════════════════════════════════════════════ */

.password-strength-meter {
  margin: var(--space-3) 0;
  background: var(--surface-1);
  height: 6px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: all var(--dur-base) var(--ease);
  width: 0%;
}

.strength-bar.strength-weak {
  width: 33%;
  background: #f87171;
}

.strength-bar.strength-medium {
  width: 66%;
  background: #fbbf24;
}

.strength-bar.strength-strong {
  width: 100%;
  background: #86efac;
}

.password-requirements {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--surface-1);
  border-radius: var(--radius-sm);
}

.password-requirements-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  margin: 0 0 var(--space-2) 0;
  text-transform: uppercase;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-soft);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: all var(--dur-base) var(--ease);
}

.requirement-item::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-1);
  border-radius: 50%;
  flex-shrink: 0;
}

.requirement-item.met {
  color: var(--text);
}

.requirement-item.met::before {
  background: #86efac;
  border-color: #86efac;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SESSIONS TABLE */
/* ═══════════════════════════════════════════════════════════════ */

.sessions-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.sessions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.sessions-table th {
  padding: var(--space-4);
  text-align: left;
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-1);
  background: var(--surface-1);
}

.sessions-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-0);
  color: var(--text);
}

.sessions-table tbody tr:hover {
  background: var(--surface-1);
}

.current-session {
  background: var(--surface-1);
}

.session-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink-8);
  margin-left: var(--space-2);
}

.session-badge--current {
  background: var(--accent);
}

.skeleton-row {
  animation: shimmer 1.5s infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CONNECTED ACCOUNTS */
/* ═══════════════════════════════════════════════════════════════ */

.connected-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-0);
}

.connected-account-row:last-child {
  border-bottom: none;
}

.account-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
}

.account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.account-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-soft);
}

.account-details {
  flex: 1;
}

.account-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

.account-status {
  font-size: var(--text-xs);
  margin: var(--space-1) 0 0 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.account-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}

.account-status--connected {
  color: #86efac;
}

.account-status--connected::before {
  background: #86efac;
}

.account-status--disconnected {
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECURITY METHODS */
/* ═══════════════════════════════════════════════════════════════ */

.security-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-0);
}

.security-method-row:last-child {
  border-bottom: none;
}

.security-method-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.security-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.security-method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-soft);
}

.security-method-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text);
  margin: 0;
}

.security-method-desc {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin: var(--space-1) 0 0 0;
}

.security-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
}

.security-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}

.security-status--active {
  color: #86efac;
}

.security-status--active::before {
  background: #86efac;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ABOUT SECTION */
/* ═══════════════════════════════════════════════════════════════ */

.about-list {
  display: flex;
  flex-direction: column;
}

.about-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-8);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-0);
}

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

.about-term {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  margin: 0;
}

.about-definition {
  font-size: var(--text-sm);
  color: var(--text);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* DANGER ZONE */
/* ═══════════════════════════════════════════════════════════════ */

.danger-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.danger-card-copy {
  flex: 1;
}

.danger-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: #f87171;
  margin: 0;
}

.danger-card-desc {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin: var(--space-1) 0 0 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN */
/* ═══════════════════════════════════════════════════════════════ */

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

  .settings-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--space-3);
    max-height: none;
    position: static;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: var(--space-6);
  }

  .settings-nav-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-2);
  }

  .settings-nav-link {
    flex-direction: column;
    text-align: center;
    padding: var(--space-3);
    font-size: var(--text-xs);
    border-left: none;
    border-top: 2px solid transparent;
  }

  .settings-nav-link.active {
    border-top-color: var(--accent);
    border-left: none;
  }
}

@media (max-width: 768px) {
  .settings-view {
    padding: var(--space-4);
    gap: var(--space-6);
  }

  .settings-view-title {
    font-size: var(--text-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .theme-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .accent-selector {
    grid-template-columns: repeat(4, 1fr);
  }

  .danger-card-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .sessions-table {
    font-size: var(--text-xs);
  }

  .sessions-table th,
  .sessions-table td {
    padding: var(--space-2) var(--space-3);
  }

  .about-row {
    grid-template-columns: 120px 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .settings-view {
    padding: var(--space-3);
    gap: var(--space-4);
  }

  .settings-view-title {
    font-size: var(--text-lg);
  }

  .settings-view-subtitle {
    font-size: var(--text-xs);
  }

  .settings-page {
    gap: var(--space-4);
  }

  .settings-nav {
    margin-bottom: var(--space-4);
  }

  .settings-nav-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .settings-nav-link {
    padding: var(--space-2);
    font-size: var(--text-2xs);
    gap: var(--space-1);
  }

  .s-nav-icon {
    width: 16px;
    height: 16px;
  }

  .settings-card {
    padding: var(--space-4);
  }

  .settings-avatar-row {
    gap: var(--space-4);
  }

  .settings-avatar {
    width: 56px;
    height: 56px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }

  .settings-card-heading {
    font-size: var(--text-sm);
  }

  .theme-selector {
    grid-template-columns: 1fr;
  }

  .theme-preview {
    height: 80px;
  }

  .accent-selector {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .preference-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .sessions-table {
    font-size: var(--text-2xs);
  }

  .sessions-table th,
  .sessions-table td {
    padding: var(--space-1) var(--space-2);
  }

  .about-row {
    grid-template-columns: 100px 1fr;
    gap: var(--space-3);
  }

  .connected-account-row {
    padding: var(--space-3);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .connected-account-row .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ANIMATIONS */
/* ═══════════════════════════════════════════════════════════════ */

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
