/* ===================================
   Enhanced Review Tab Styles
   =================================== */

.review-enhanced-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

/* Review Header Bar */
.review-header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted) / 0.2);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0.5rem;
  flex-wrap: wrap;
}

.review-severity-stats {
  display: flex;
  gap: 0.5rem;
}

.severity-stat {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.severity-stat:hover {
  transform: scale(1.05);
}

.severity-stat.critical { background: hsl(0 70% 90%); color: hsl(0 70% 40%); }
.severity-stat.high { background: hsl(25 90% 90%); color: hsl(25 90% 35%); }
.severity-stat.medium { background: hsl(45 90% 90%); color: hsl(45 90% 30%); }
.severity-stat.low { background: hsl(var(--success-light)); color: hsl(var(--success)); }

.review-search-box {
  flex: 1;
  min-width: 150px;
}

.review-search-box input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

.review-search-box input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.review-selection-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.selection-counter {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--accent));
  border-radius: 0.25rem;
}

.btn-mini {
  padding: 0.375rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-mini:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary) / 0.3);
}

.btn-export-fix {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background: hsl(142 76% 36%);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-export-fix:hover:not(:disabled) {
  background: hsl(142 76% 30%);
}

.btn-export-fix:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Filter Bar */
.review-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.filter-chips {
  display: flex;
  gap: 0.375rem;
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(var(--card));
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover {
  background: hsl(var(--accent));
}

.filter-chip.active {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.filter-chip input[type="checkbox"] {
  display: none;
}

.sort-select {
  padding: 0.375rem 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-sort-order {
  padding: 0.375rem 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  cursor: pointer;
}

/* Dimension Tabs */
.review-dimension-tabs {
  display: flex;
  gap: 0.375rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid hsl(var(--border));
  overflow-x: auto;
  flex-wrap: nowrap;
}

.dim-tab {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.dim-tab:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--accent) / 0.5);
}

.dim-tab.active {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
}

/* Split Panel - Fixed height container */
.review-split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
}

/* Findings Panel - Scrollable */
.review-findings-panel {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
  height: 100%;
}

.findings-list-header {
  padding: 0.75rem 1rem;
  background: hsl(var(--muted) / 0.3);
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.review-findings-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.findings-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
  gap: 0.5rem;
}

.findings-empty .empty-icon {
  font-size: 2rem;
}

/* Finding Item in List */
.review-finding-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-left: 3px solid hsl(var(--border));
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
}

.review-finding-item:hover {
  background: hsl(var(--accent) / 0.3);
  transform: translateX(2px);
}

.review-finding-item.selected {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.review-finding-item.previewing {
  background: hsl(var(--accent));
  border-left-color: hsl(var(--primary));
}

.review-finding-item.critical { border-left-color: hsl(0 70% 50%); }
.review-finding-item.high { border-left-color: hsl(25 90% 55%); }
.review-finding-item.medium { border-left-color: hsl(45 90% 50%); }
.review-finding-item.low { border-left-color: hsl(var(--success)); }

.review-finding-item .finding-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 2px;
}

.review-finding-item .finding-content {
  flex: 1;
  min-width: 0;
}

.review-finding-item .finding-top-row {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
}

.review-finding-item .finding-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.review-finding-item .finding-file {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dimension-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 500;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  text-transform: capitalize;
}

/* Preview Panel - Fixed height, scrollable */
.review-preview-panel {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
  height: 100%;
}

.preview-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
}

.preview-empty-state .preview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.preview-empty-state .preview-text {
  font-size: 0.9rem;
}

.preview-content {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.preview-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 500;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.btn-select-finding {
  padding: 0.5rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-select-finding:hover {
  background: hsl(var(--accent));
}

.btn-select-finding.selected {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  line-height: 1.4;
}

.preview-section {
  margin-bottom: 1.25rem;
}

.preview-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.preview-location code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--muted));
  border-radius: 0.25rem;
}

.preview-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
}

.preview-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 1rem;
  background: hsl(var(--muted));
  border-radius: 0.375rem;
  overflow-x: auto;
  line-height: 1.5;
}

.preview-recommendations {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preview-recommendations li {
  padding: 0.5rem 0.75rem;
  background: hsl(142 76% 36% / 0.1);
  border-left: 3px solid hsl(142 76% 36%);
  margin-bottom: 0.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.preview-root-cause,
.preview-impact {
  font-size: 0.9rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.preview-references {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preview-references li {
  padding: 0.375rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  font-size: 0.85rem;
}

.preview-references li:last-child {
  border-bottom: none;
}

.preview-references a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.preview-references a:hover {
  text-decoration: underline;
}

.preview-metadata {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.preview-metadata .metadata-item {
  padding: 0.5rem;
  background: hsl(var(--muted) / 0.5);
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.preview-metadata .meta-key {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.preview-metadata .meta-value {
  color: hsl(var(--foreground));
  margin-left: 0.25rem;
}

/* Responsive: Stack panels on smaller screens */
@media (max-width: 1024px) {
  .review-split-panel {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .review-findings-panel {
    height: 50vh;
    max-height: 400px;
  }

  .review-preview-panel {
    height: 50vh;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .review-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .review-severity-stats {
    justify-content: center;
  }

  .review-selection-controls {
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-export-fix {
    width: 100%;
  }

  .review-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ===================================
   Review Session Specific Styles
   =================================== */

/* Dimension Timeline Active State */
.dimension-item.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.dimension-item {
  cursor: pointer;
  transition: all 0.2s;
}

.dimension-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}

/* Fix Status Mini Badge */
.fix-status-mini {
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
}

.fix-status-mini.status-pending {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.fix-status-mini.status-in-progress {
  background: hsl(var(--primary));
  color: white;
}

.fix-status-mini.status-fixed {
  background: hsl(var(--success));
  color: white;
}

.fix-status-mini.status-failed {
  background: hsl(0 70% 50%);
  color: white;
}

/* Fix Status Badge (Preview Panel) */
.fix-status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.fix-status-badge.status-pending {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.fix-status-badge.status-in-progress {
  background: hsl(var(--primary));
  color: white;
  animation: pulse-status 2s infinite;
}

.fix-status-badge.status-fixed {
  background: hsl(var(--success));
  color: white;
}

.fix-status-badge.status-failed {
  background: hsl(0 70% 50%);
  color: white;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===================================
   Review Session Card (All Sessions)
   =================================== */

.review-findings-summary {
  margin-top: 0.5rem;
}

.findings-severity-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.375rem;
}

.finding-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.finding-count.critical {
  background: hsl(0 70% 95%);
  color: hsl(0 70% 40%);
}

.finding-count.high {
  background: hsl(25 90% 95%);
  color: hsl(25 90% 35%);
}

.finding-count.medium {
  background: hsl(45 90% 95%);
  color: hsl(45 90% 30%);
}

.finding-count.low {
  background: hsl(var(--success-light));
  color: hsl(var(--success));
}

.dimensions-info {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}

/* ===================================
   Fix Progress Tracking Card (Carousel)
   =================================== */

.fix-progress-section-container {
  margin-bottom: 1rem;
}

.fix-progress-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  overflow: hidden;
}

.fix-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.fix-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}

.fix-stage-dots {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.fix-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--muted));
  transition: all 0.2s ease;
}

.fix-stage-dot.active {
  background: hsl(var(--primary));
  animation: pulse-dot 1.5s infinite;
}

.fix-stage-dot.completed {
  background: hsl(var(--success));
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Carousel Container */
.fix-carousel-container {
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.fix-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.fix-carousel-slide {
  min-width: 100%;
  padding: 0.5rem;
}

/* Slide Header */
.fix-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.fix-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.fix-phase-badge.phase-planning {
  background: hsl(270 60% 90%);
  color: hsl(270 60% 40%);
}

.fix-phase-badge.phase-execution {
  background: hsl(220 80% 90%);
  color: hsl(220 80% 40%);
  animation: pulse-badge 2s infinite;
}

.fix-phase-badge.phase-completion {
  background: hsl(var(--success-light));
  color: hsl(var(--success));
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.fix-session-id {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}

/* Progress Bar Mini */
.fix-progress-bar-mini {
  height: 6px;
  background: hsl(var(--muted));
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.fix-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--success)));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.fix-progress-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* Stats Row (Slide 2) */
.fix-stats-row {
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
}

.fix-stat {
  text-align: center;
}

.fix-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.fix-stat-label {
  display: block;
  font-size: 0.65rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
}

.fix-stat.fixed .fix-stat-value {
  color: hsl(var(--success));
}

.fix-stat.failed .fix-stat-value {
  color: hsl(var(--destructive));
}

.fix-stat.pending .fix-stat-value {
  color: hsl(var(--warning));
}

/* Active Agents (Slide 3) */
.fix-agents-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.fix-agent-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  background: hsl(var(--muted));
  border-radius: 0.25rem;
  margin-bottom: 0.375rem;
}

.fix-agent-item:last-child {
  margin-bottom: 0;
}

.fix-agent-icon {
  font-size: 0.875rem;
  animation: spin-agent 2s linear infinite;
}

@keyframes spin-agent {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fix-agent-info {
  font-size: 0.75rem;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Carousel Navigation */
.fix-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.fix-nav-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.fix-nav-btn:hover {
  background: hsl(var(--hover));
  color: hsl(var(--foreground));
}

.fix-nav-dots {
  display: flex;
  gap: 0.375rem;
}

.fix-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--muted));
  cursor: pointer;
  transition: all 0.2s;
}

.fix-nav-dot:hover {
  background: hsl(var(--muted-foreground));
}

.fix-nav-dot.active {
  background: hsl(var(--primary));
  width: 16px;
  border-radius: 3px;
}

/* ===================================
   Path Selection Modal
   =================================== */

.path-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.path-modal {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modal-enter 0.2s ease-out;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.path-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.path-modal-icon {
  font-size: 1.5rem;
  color: hsl(var(--primary));
}

.path-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.path-modal-body {
  padding: 1.5rem;
}

.path-modal-body p {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.5;
}

.path-modal-command {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsl(var(--muted));
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-family: var(--font-mono);
}

.path-modal-command code {
  flex: 1;
  font-size: 0.85rem;
  color: hsl(var(--foreground));
  word-break: break-all;
}

.path-modal-command .copy-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.path-modal-command .copy-btn:hover {
  background: hsl(var(--primary) / 0.9);
}

.path-modal-note {
  font-size: 0.85rem !important;
  color: hsl(var(--muted-foreground)) !important;
}

.path-modal-note code {
  background: hsl(var(--muted));
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.path-modal-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.15s;
}

.path-modal-input:focus {
  border-color: hsl(var(--primary));
}

.path-modal-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.path-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
  border-radius: 0 0 0.75rem 0.75rem;
}

.path-modal-close {
  padding: 0.5rem 1.25rem;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}

.path-modal-close:hover {
  background: hsl(var(--hover));
}

.path-modal-confirm {
  padding: 0.5rem 1.25rem;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}

.path-modal-confirm:hover {
  background: hsl(var(--primary) / 0.9);
}

.path-modal-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Path Input Group */
.path-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.path-input-group label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

.path-input-group input {
  flex: 1;
  min-width: 200px;
  padding: 0.625rem 0.875rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.path-input-group input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.path-input-group input::placeholder {
  color: hsl(var(--muted-foreground));
}

.path-go-btn {
  padding: 0.625rem 1.25rem;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.path-go-btn:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
}

.path-go-btn:active {
  transform: translateY(0);
}

/* Selected Folder Display */
.selected-folder {
  padding: 0.75rem 1rem;
  background: hsl(var(--muted));
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.selected-folder strong {
  font-size: 1rem;
  color: hsl(var(--foreground));
  font-family: var(--font-mono);
}
