:root {
  --bg-color: #0d1115;
  --bg-sidebar: #0f151a;
  --bg-panel: #141c24;
  --bg-input: #0f151a;
  
  --primary: #00b074;
  --primary-hover: #009361;
  --primary-glow: rgba(0, 176, 116, 0.2);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --border-color: #26323f;
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s;
}
a:hover {
  text-decoration: underline;
}

/* For Auth Pages */
.auth-page {
  background: radial-gradient(circle at 50% 20%, #113426 0%, var(--bg-color) 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-icon {
  background-color: #0b1a14;
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 1px solid #143526;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
}

.logo-container h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.logo-container p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.input-icon-wrapper input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.input-icon-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  text-decoration: none;
}

.auth-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard Layout */
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.sidebar-header .logo-icon {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 8px;
}
.sidebar-header .logo-icon svg {
  width: 20px;
  height: 20px;
}

.sidebar-nav {
  padding: 1rem 0;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

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

.nav-item.active {
  background-color: rgba(0, 176, 116, 0.1);
  color: var(--primary);
  border-right: 3px solid var(--primary);
}

.nav-item svg {
  width: 18px;
  height: 18px;
}

.sidebar-footer {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
}

.sidebar-footer .nav-item {
  color: #ef4444; /* red */
  padding: 0.5rem 0;
}
.sidebar-footer .nav-item:hover {
  background-color: transparent;
}


/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  overflow-y: auto;
}

.top-header {
  height: 64px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

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

.breadcrumb span.active {
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-bar {
  position: relative;
}
.search-bar svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 14px;
  height: 14px;
}
.search-bar input {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.4rem 1rem 0.4rem 2rem;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 200px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page Content */
.page-container {
  padding: 2.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.page-header {
  margin-bottom: 2rem;
}
.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: var(--text-muted);
}

/* Panels */
.widget-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-width: 1px;
}

.upload-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(0, 176, 116, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.upload-icon svg {
  width: 28px;
  height: 28px;
}

.form-group-center {
  width: 100%;
  max-width: 360px;
  text-align: left;
  margin-top: 1.5rem;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: 0.9rem;
  appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-secondary {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  margin-top: 0.5rem;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Interview Grid */
.interview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.panel-solid {
  background-color: transparent;
  border: none;
  padding: 0;
}

.experience-toggles {
  display: flex;
  gap: 0.5rem;
}
.experience-toggles .btn {
  flex: 1;
  padding: 0.6rem;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.experience-toggles .btn:hover {
  background-color: rgba(255,255,255,0.1);
}
.experience-toggles .btn.active {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.proctoring-box {
  background-color: rgba(0, 176, 116, 0.05);
  border: 1px solid rgba(0, 176, 116, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.proctoring-box .title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.proctoring-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Video Placeholder */
.video-placeholder {
  background-color: #1a232c;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-placeholder .cam-off {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.video-placeholder .cam-off svg {
  width: 48px;
  height: 48px;
}
.video-placeholder p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 1rem;
}
.ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.2);
  cursor: pointer;
}
.ctrl-btn svg {
  width: 20px;
  height: 20px;
}

/* Learning Phase Menu */
.learning-layout {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.phase-menu {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.phase-item {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.phase-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
.phase-item.active {
  border-color: var(--primary);
  background-color: rgba(0, 176, 116, 0.05);
}
.phase-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.phase-item.active .phase-status {
  color: var(--primary);
}
.phase-status-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
}
.phase-item.active .phase-status-circle {
  border-color: var(--primary);
  background-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 176, 116, 0.3);
}

.phase-content-area {
  flex: 1;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.phase-header {
  margin-bottom: 2rem;
}
.phase-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.phase-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.course-card {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.course-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(65, 105, 225, 0.1);
  color: #60a5fa;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-icon svg {
  width: 18px;
  height: 18px;
}
.course-card.purple .course-icon {
  background-color: rgba(168, 85, 247, 0.1);
  color: #c084fc;
}
.course-card.green .course-icon {
  background-color: rgba(0, 176, 116, 0.1);
  color: var(--primary);
}
.tag-badge {
  background-color: rgba(255,255,255,0.05);
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.course-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.course-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.course-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.course-card-bottom svg.icon-external {
  color: var(--primary);
  width: 16px;
  height: 16px;
}
.add-resource-card {
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 150px;
  font-size: 0.85rem;
}
.add-resource-card:hover {
  background-color: rgba(255,255,255,0.02);
  border-color: #475569;
}
.add-resource-card svg {
  margin-bottom: 0.75rem;
  width: 20px;
  height: 20px;
}
.cta-banner {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}
.cta-banner h3 {
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.cta-banner .btn-white {
  background-color: white;
  color: var(--primary);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}

/* Tabs & Insights */
.progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.progress-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.progress-pct {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-left: -5px;
}
.progress-bar-bg {
  width: 120px;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  background-color: var(--primary);
  height: 100%;
}

.chart-panel {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.green { background-color: var(--primary); }
.legend-dot.blue { background-color: #60a5fa; }

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  gap: 2rem;
}
.tab-btn {
  background-color: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 1rem 0;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.result-card {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.result-card:hover {
  background-color: rgba(255,255,255,0.02);
}
.result-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.result-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 176, 116, 0.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-icon svg {
  width: 18px;
  height: 18px;
}
.result-card.blue-icon .result-icon {
  background-color: rgba(65, 105, 225, 0.1);
  color: #60a5fa;
}
.result-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.result-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.result-details p svg {
  width: 12px;
  height: 12px;
}

.result-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-value {
  font-size: 1.15rem;
  font-weight: 600;
}
.stat-value.green { color: var(--primary); }
.stat-value.blue { color: #60a5fa; }
.stat-value.orange { color: #f97316; }
.stat-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.chevron-icon {
  color: var(--text-muted);
  margin-left: 1rem;
}
.chevron-icon svg {
  width: 16px;
  height: 16px;
}

/* Chat / Career Coach Layout */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 180px);
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chat-message {
  display: flex;
  gap: 1rem;
  max-width: 80%;
}

.chat-message.ai {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-flex-end; /* Note: Since row, we use margin-left: auto; */
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
}

.chat-message.ai .chat-avatar {
  background-color: rgba(0, 176, 116, 0.1);
  color: var(--primary);
}

.chat-bubble {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-message.ai .chat-bubble {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background-color: var(--primary);
  color: white;
  border-top-right-radius: 4px;
}

.chat-input-area {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-panel);
}

.chat-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.chat-input-wrapper input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1rem 3.5rem 1rem 1.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.chat-input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-send-btn {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.chat-send-btn:hover {
  opacity: 0.9;
}

/* ===========================
   HOME / FEATURE LAUNCHPAD
   =========================== */

.home-welcome {
  padding: 2rem 0 1.5rem 0;
}

.home-welcome h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.home-welcome p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.home-welcome span.highlight {
  color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, #141c24, #0f151a);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent, var(--primary)), transparent);
  opacity: 0.7;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--primary));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: var(--text-main);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--icon-bg, rgba(0, 176, 116, 0.1));
  color: var(--card-accent, var(--primary));
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}

.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.feature-card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--card-accent, var(--primary));
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.feature-card:hover .feature-card-cta svg {
  transform: translateX(4px);
}

.feature-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background-color: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

/* Quick stats row on home */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-icon svg {
  width: 20px;
  height: 20px;
}

.stat-card-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.stat-card-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===========================
   GLOBAL UI / RESPONSIVE FIXES
   =========================== */

/* Sidebar consistent sizing */
.sidebar {
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
}

/* Ensure main-content doesn't overflow */
.main-content {
  min-width: 0;
}

/* Page container - fluid across all breakpoints */
.page-container {
  padding: 2rem 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Interview grid fix for larger screens */
.interview-grid {
  grid-template-columns: 1fr 1.2fr;
}

/* Learning layout fix */
.learning-layout {
  align-items: flex-start;
}

/* Chart panel SVG responsive */
.chart-panel svg {
  display: block;
}

/* Result stats - don't wrap */
.result-stats {
  flex-shrink: 0;
}

/* Form group center - wider on large screens */
.form-group-center {
  max-width: 480px;
}

/* widget-panel consistent height */
.widget-panel {
  min-height: 300px;
}
