@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-app: #08070d;
  --bg-sidebar: #0e0d16;
  --bg-card: #141322;
  --bg-card-hover: #1c1a2e;
  --bg-input: #1a192c;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-focus: #6366f1;
  --border-hover: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-teal: #10b981;
  --accent-orange: #f59e0b;
  --accent-pink: #ec4899;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.2);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  -webkit-font-smoothing: antialiased;
}

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

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  z-index: 10;
}

.sidebar-logo {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.sidebar-menu {
  flex: 1;
  padding: 20px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.menu-item:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.03);
}

.menu-item.active {
  color: var(--text-primary);
  background: linear-gradient(to right, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.03));
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: inset 2px 0 0 var(--accent-indigo);
}

.menu-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.menu-item:hover svg {
  transform: scale(1.05);
}

.menu-item.active svg {
  color: var(--accent-indigo);
}

/* User Card at Sidebar Bottom */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.15);
}

.user-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-indigo);
}

.user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-logout {
  width: 100%;
  padding: 10px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

/* Main Workspace */
.workspace-content {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.view-panel {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-panel.active {
  display: block;
}

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

/* Cards & Grid Containers */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.app-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

/* Banner Component */
.welcome-banner {
  background: linear-gradient(135deg, #18152e 0%, #1e1338 100%);
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 28px;
  position: relative;
  padding: 24px;
  border-radius: 16px;
}

.welcome-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 70%);
  pointer-events: none;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 16px;
}

.banner-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.banner-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.banner-subtitle strong {
  color: var(--text-primary);
  border-bottom: 1px dashed var(--accent-indigo);
}

/* User Stats Widgets inside banner */
.banner-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item.streak .stat-icon-wrapper {
  background-color: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.15);
}
.stat-item.xp .stat-icon-wrapper {
  background-color: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
}
.stat-item.level .stat-icon-wrapper {
  background-color: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.15);
}

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.stat-item.streak .stat-value { color: var(--accent-orange); }
.stat-item.xp .stat-value { color: #d8b4fe; }
.stat-item.level .stat-value { color: var(--accent-teal); }

/* Score & Overview Cards */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-title-small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.card-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.score-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.score-num {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.score-change {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.score-change.positive {
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.08);
}
.score-change.new-scan {
  color: #8b5cf6;
  background-color: rgba(139, 92, 246, 0.08);
}
.score-change.verified {
  color: #06b6d4;
  background-color: rgba(6, 182, 212, 0.08);
}

.card-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

.card-link {
  color: var(--accent-indigo);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.card-link:hover {
  color: #8b5cf6;
  transform: translateX(4px);
}

/* Double Grid Structure for Dashboard Bottom */
.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* Tip & Action Card */
.tip-card {
  border-color: rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tip-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tip-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.tip-subtag {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.quote-box {
  background-color: rgba(0, 0, 0, 0.15);
  border-left: 3px solid var(--accent-purple);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  position: relative;
}

.quote-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

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

button {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Today's Focus Card & Progress */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: var(--border-hover);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-indigo);
  cursor: pointer;
}

.checkbox-item.checked span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-secondary);
}

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

.progress-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-fraction {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-indigo);
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-indigo), var(--accent-purple));
  border-radius: 4px;
  width: 66.6%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badges section */
.badges-container {
  margin-top: 24px;
}

.badges-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.badge-card {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  cursor: help;
}

.badge-card:hover {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.badge-card.unlocked .badge-icon::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  border: 1.5px solid var(--bg-card);
}

.badge-card.locked {
  opacity: 0.4;
}

.badge-card.locked .badge-icon {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border-color);
  color: var(--text-muted) !important;
}

.badge-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.badge-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* Tab Header Navigation (within views) */
.view-tabs-header {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  padding-bottom: 1px;
}

.view-tab-btn {
  background: none;
  border: none;
  padding: 0 0 12px 0;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-tab-btn:hover {
  color: var(--text-primary);
}

.view-tab-btn.active {
  color: var(--accent-indigo);
  border-bottom-color: var(--accent-indigo);
}

/* Two-pane structure (Left Input, Right Output) */
.two-pane-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .two-pane-layout {
    grid-template-columns: 1fr;
  }
}

.pane-input {
  display: flex;
  flex-direction: column;
}

.pane-output {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  min-height: 400px;
  position: relative;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.form-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.form-label-hint {
  font-size: 10px;
  color: var(--text-muted);
}

input[type="text"],
select,
textarea {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
  background-color: rgba(26, 25, 44, 0.7);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Segmented Control Button (like Beginner/Intermediate/Expert) */
.segmented-control {
  display: flex;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}

.segment-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.segment-btn.active {
  background-color: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Empty State Styles inside Output panes */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin-bottom: 16px;
  stroke-width: 1.5;
}

.empty-state-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

/* Loading/Scanning Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 19, 34, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  z-index: 5;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(99, 102, 241, 0.1);
  border-top-color: var(--accent-indigo);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

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

.loading-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Score Result Pane Design */
.analysis-result-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.4s ease;
}

.score-circle-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.circle-progress-svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 8;
}

.circle-fill {
  fill: none;
  stroke: url(#score-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1s ease-in-out;
}

.circle-score-text {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  fill: var(--text-primary);
  text-anchor: middle;
  dominant-baseline: middle;
}

.result-badge-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.pill-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.pill-badge.success { background-color: rgba(16, 185, 129, 0.08); color: var(--accent-teal); border: 1px solid rgba(16, 185, 129, 0.15); }
.pill-badge.warning { background-color: rgba(245, 158, 11, 0.08); color: var(--accent-orange); border: 1px solid rgba(245, 158, 11, 0.15); }
.pill-badge.purple { background-color: rgba(139, 92, 246, 0.08); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.15); }

/* Feedback categories */
.feedback-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.keyword-gaps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gap-keyword {
  font-size: 11px;
  background-color: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: #f87171;
  padding: 4px 10px;
  border-radius: 6px;
}

.matching-keyword {
  font-size: 11px;
  background-color: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.12);
  color: #34d399;
  padding: 4px 10px;
  border-radius: 6px;
}

.feedback-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-item {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bullet-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Chat Console Structure (Career Coach) */
.chat-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  height: calc(100vh - 120px);
}

@media (max-width: 800px) {
  .chat-container {
    grid-template-columns: 1fr;
  }
  .chat-sidebar {
    display: none;
  }
}

.chat-sidebar {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex: 1;
}

.history-item {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
}

.history-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.history-item.active {
  background-color: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.15);
  color: var(--text-primary);
  font-weight: 500;
}

.chat-main {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-messages-area {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.message-bubble {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-bubble.assistant {
  align-self: flex-start;
}

.message-bubble.user {
  align-self: flex-end;
}

.bubble-content {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.message-bubble.assistant .bubble-content {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.message-bubble.user .bubble-content {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  color: #ffffff;
}

.bubble-meta {
  font-size: 10px;
  color: var(--text-muted);
}

.message-bubble.user .bubble-meta {
  align-self: flex-end;
}

.chat-suggestions {
  padding: 12px 24px;
  border-top: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.1);
}

.suggestions-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .suggestions-grid {
    grid-template-columns: 1fr;
  }
}

.suggestion-tag {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-tag:hover {
  background-color: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.suggestion-tag svg {
  width: 14px;
  height: 14px;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.chat-input-bar {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.chat-input-wrapper {
  position: relative;
  flex: 1;
}

.chat-input-wrapper input {
  padding-right: 50px;
}

.btn-send-message {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--accent-indigo);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.btn-send-message:hover {
  background-color: var(--accent-purple);
}

.btn-send-message svg {
  width: 16px;
  height: 16px;
}

/* Learning Roadmaps Panels */
.roadmaps-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  height: calc(100vh - 120px);
}

@media (max-width: 900px) {
  .roadmaps-layout {
    grid-template-columns: 1fr;
  }
  .roadmaps-sidebar {
    height: auto;
  }
}

.roadmaps-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border-color);
  padding-right: 24px;
}

.roadmaps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex: 1;
}

.roadmap-btn {
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.roadmap-btn:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.roadmap-btn.active {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.02));
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
  font-weight: 600;
}

.custom-track-box {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.custom-track-input-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.custom-track-input-row button {
  padding: 10px;
  background-color: var(--accent-indigo);
  border: none;
  color: #ffffff;
  border-radius: 8px;
}

.roadmap-display-pane {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  overflow-y: auto;
  height: 100%;
}

.roadmap-header-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.roadmap-header-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Roadmap Tiers visual timeline */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 20px;
}

.roadmap-timeline::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 5px;
  bottom: 12px;
  width: 2px;
  background-color: var(--border-color);
}

.roadmap-tier {
  position: relative;
}

.tier-dot {
  position: absolute;
  top: 6px;
  left: -20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  border: 2px solid var(--bg-card);
  z-index: 2;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.roadmap-tier:nth-child(2) .tier-dot { background-color: var(--accent-purple); box-shadow: 0 0 8px rgba(139, 92, 246, 0.6); }
.roadmap-tier:nth-child(3) .tier-dot { background-color: var(--accent-teal); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }

.tier-name {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tier-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-item-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.tier-item-checkbox.completed {
  text-decoration: line-through;
  color: var(--text-muted);
}

.tier-item-checkbox input {
  accent-color: var(--accent-indigo);
}

.roadmap-projects-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.roadmap-project-card {
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.roadmap-project-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.roadmap-project-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Charts & Graphs Styles */
.chart-card {
  min-height: 280px;
}

.chart-svg-container {
  width: 100%;
  height: 200px;
  position: relative;
  margin-top: 16px;
}

.grid-line {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}

.chart-axis {
  stroke: var(--border-color);
  stroke-width: 1;
}

.chart-text {
  font-family: var(--font-body);
  font-size: 9px;
  fill: var(--text-muted);
}

.line-path {
  fill: none;
  stroke: var(--accent-indigo);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0px 4px 10px rgba(99, 102, 241, 0.3));
}

.bar-rect {
  fill: var(--accent-purple);
  rx: 4;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bar-rect:hover {
  fill: var(--accent-indigo);
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
}

.chart-dot {
  fill: #ffffff;
  stroke: var(--accent-indigo);
  stroke-width: 3;
  r: 4;
  cursor: pointer;
  transition: r 0.2s ease;
}

.chart-dot:hover {
  r: 6;
}

/* Milestone History Log */
.history-log-card {
  margin-top: 24px;
}

.history-log-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.history-log-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.5px;
}

.history-log-table td {
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.history-log-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.01);
}

/* Assessments & Salary Predictor UI */
.assessment-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.quiz-option:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.quiz-option.selected {
  background-color: rgba(99, 102, 241, 0.06);
  border-color: var(--accent-indigo);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.1);
}

.option-letter {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.quiz-option.selected .option-letter {
  background-color: var(--accent-indigo);
  border-color: var(--accent-indigo);
  color: #ffffff;
}

.option-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.quiz-progress-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.quiz-question-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Salary display card */
.salary-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.salary-figure {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-teal);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.salary-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* User Profile Header */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.profile-hero-avatar-wrapper {
  position: relative;
}

.profile-hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-indigo);
}

.profile-hero-details {
  display: flex;
  flex-direction: column;
}

.profile-hero-name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-hero-email {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.profile-hero-badges {
  display: flex;
  gap: 8px;
}

.hero-badge-pill {
  font-size: 10px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 12px;
}

.hero-badge-pill.rank {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
  background-color: rgba(168, 85, 247, 0.05);
}

.hero-badge-pill.streak {
  color: var(--accent-orange);
  border-color: rgba(245, 158, 11, 0.2);
  background-color: rgba(245, 158, 11, 0.05);
}

.api-sandbox-card {
  border-color: rgba(99, 102, 241, 0.15);
}

.mode-toggle-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mode-toggle-btn {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
}

.mode-toggle-btn.active {
  background-color: rgba(99, 102, 241, 0.08);
  border-color: var(--accent-indigo);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.test-connection-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* Admin Desk Components */
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.admin-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-tabs {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 8px;
}

.admin-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 6px;
}

.admin-tab-btn.active {
  background-color: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.admin-stat-number {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--text-primary);
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

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

/* System Logs */
.system-logs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.log-item {
  display: flex;
  font-family: monospace;
  font-size: 11px;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  gap: 12px;
}

.log-time {
  color: var(--accent-purple);
  flex-shrink: 0;
}

.log-tag {
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.log-tag.api { color: var(--accent-indigo); }
.log-tag.sys { color: var(--accent-teal); }
.log-tag.err { color: #f87171; }

.log-msg {
  color: var(--text-secondary);
}

/* Donut Chart Animation */
.donut-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.02);
  stroke-width: 14;
}

.donut-segment {
  fill: none;
  stroke-width: 14;
  transition: stroke-dashoffset 0.4s ease;
  cursor: pointer;
}

.donut-segment:hover {
  stroke-width: 16;
}

/* Interactive Overlay Notification (Success/Failure alerts) */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--accent-indigo);
  box-shadow: var(--shadow-glow);
  padding: 14px 20px;
  border-radius: 10px;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.toast-icon.success {
  color: var(--accent-teal);
}

/* Helper utilities */
.text-accent-purple { color: var(--accent-purple); }
.text-accent-indigo { color: var(--accent-indigo); }
.text-accent-teal { color: var(--accent-teal); }
.text-accent-orange { color: var(--accent-orange); }
.text-accent-pink { color: var(--accent-pink); }
.text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.p-0 { padding: 0 !important; }
.hidden { display: none !important; }

/* Dynamic View Header Bar */
.view-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.view-header-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(to right, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.view-header-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-stat-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-stat-pill.rank {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
  background-color: rgba(168, 85, 247, 0.05);
}
.header-stat-pill.streak {
  color: var(--accent-orange);
  border-color: rgba(245, 158, 11, 0.2);
  background-color: rgba(245, 158, 11, 0.05);
}
.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-indigo);
}

/* Authentication Overlay styling */
.login-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #06050a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.login-container.fade-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}
.login-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.login-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  animation: slideUpLogin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpLogin {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.login-logo-section {
  margin-bottom: 28px;
}
.login-tabs {
  display: flex;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
  margin-bottom: 24px;
}
.login-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.login-tab-btn.active {
  background-color: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  margin: 20px 0;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}
.login-divider:not(:empty)::before {
  margin-right: .5em;
}
.login-divider:not(:empty)::after {
  margin-left: .5em;
}

/* App transition support */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.app-container.hidden {
  display: none !important;
  opacity: 0;
}

/* Inline Editing components styles */
.inline-editable {
  border-bottom: 1px dashed rgba(99, 102, 241, 0.6);
  cursor: pointer;
  padding: 0 2px;
  border-radius: 2px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.inline-editable:hover {
  color: var(--accent-indigo);
  background-color: rgba(99, 102, 241, 0.05);
  border-bottom-color: var(--accent-indigo);
}
.inline-edit-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inline-edit-input {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--accent-indigo) !important;
  border-radius: 4px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  font-size: 13px !important;
  font-weight: 600;
  padding: 2px 6px !important;
  outline: none;
  width: auto;
}
.inline-edit-btn {
  background-color: var(--accent-indigo);
  border: none;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  padding: 3px 6px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
}
.inline-edit-btn:hover {
  background-color: var(--accent-purple);
}



