:root {
  --primary: #3a76b7;
  --primary-hover: #2d5e94;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Navbar */
.app-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3a76b7 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(58, 118, 183, 0.3);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Main Container */
.main-wrapper {
  max-width: 950px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
  flex: 1;
}

.page-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.page-intro h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.page-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Card Sections */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.form-card:hover {
  box-shadow: var(--shadow-md);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-border);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Grid Layouts inside cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

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

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: normal;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 118, 183, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  max-width: 160px;
}

.btn-qty {
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-qty:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.btn-qty:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.btn-qty:hover {
  background: #e2e8f0;
}

.input-qty {
  width: 60px;
  height: 38px;
  border-left: none;
  border-right: none;
  border-radius: 0;
  text-align: center;
  font-weight: 600;

  /* Hide native number spinners */
  -moz-appearance: textfield;
}

.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Quality Cards Selector */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.quality-option {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  position: relative;
}

.quality-option:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
}

.quality-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.quality-header {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.quality-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Color Swatches Selector */
.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.color-swatch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  background: #ffffff;
}

.color-swatch-item:hover {
  border-color: var(--primary-border);
  background: #f8fafc;
}

.color-swatch-item.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.color-name {
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Drag & Drop File Uploadzone */
.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.dropzone:hover, .dropzone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.dropzone-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.dropzone-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-input-hidden {
  display: none;
}

/* Uploaded Files List */
.file-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.file-icon-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #e2e8f0;
  color: #475569;
}

.file-icon-badge.model { background: #dbeafe; color: #1e40af; }
.file-icon-badge.image { background: #fce7f3; color: #9d174d; }
.file-icon-badge.gcode { background: #dcfce7; color: #166534; }
.file-icon-badge.drawing { background: #e0e7ff; color: #3730a3; }
.file-icon-badge.rebar { background: #fef3c7; color: #92400e; }
.file-icon-badge.media { background: #fce7f3; color: #9d174d; }

.dropzone.compact {
  padding: 1.25rem 1rem;
}

.dropzone.compact .dropzone-icon {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.dropzone.compact .dropzone-text {
  font-size: 0.875rem;
}

.dropzone.compact .dropzone-subtext {
  font-size: 0.75rem;
}

.file-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-remove-file {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.btn-remove-file:hover {
  background: #fee2e2;
}

.btn-download-file {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-download-file:hover {
  background: var(--primary);
  color: #ffffff;
}

.badge-new-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Submit Action Button */
.submit-container {
  margin-top: 2rem;
  text-align: right;
}

.btn-submit-order {
  background: linear-gradient(135deg, #3a76b7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Order Tracker Tab Styles */
.tracker-search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
}

.btn-search {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.order-id {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.order-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-part-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  font-size: 0.85rem;
}

.order-detail-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.order-detail-val {
  font-weight: 600;
  color: var(--text-main);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge[data-status="Draft"] {
  background: #f1f5f9;
  color: #475569;
}

.status-badge[data-status="Awaiting GCode"] {
  background: #fef3c7;
  color: #b45309;
}

.status-badge[data-status="Pending"] {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-badge[data-status="Ready"] {
  background: #dcfce7;
  color: #15803d;
}

.status-badge[data-status="Delivered"] {
  background: #ecfdf5;
  color: #047857;
}

/* Modal Confirmation */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.modal-backdrop.show .modal-box {
  transform: translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-msg {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.order-code-display {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-close-modal {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  margin-top: auto;
}

/* Concrete Report & Checklist Styles */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

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

.dual-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.input-with-unit .form-input {
  padding-right: 3.5rem;
}

.unit-tag {
  position: absolute;
  right: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  text-transform: uppercase;
}

.checklist-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: background 0.15s ease, border-color 0.15s ease;
  gap: 12px;
}

.checklist-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.checklist-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-sm);
  gap: 2px;
}

.pill-opt {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.pill-opt:hover {
  color: var(--text-main);
}

.pill-opt.active[data-val="Yes"] {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.3);
}

.pill-opt.active[data-val="No"] {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
}

.pill-opt.active[data-val="N/A"] {
  background: #64748b;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(100, 116, 139, 0.3);
}

.pill-opt.active[data-val="Complete"] {
  background: #16a34a;
  color: #ffffff;
}

.pill-opt.active[data-val="Partial"] {
  background: #ea580c;
  color: #ffffff;
}

.pill-opt.active[data-val="Failed"] {
  background: #dc2626;
  color: #ffffff;
}

.quick-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-secondary-sm {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary-sm:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.meta-footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  line-height: 1.4;
}

/* Reports Table & List Styles */
.page-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary-action {
  background: linear-gradient(135deg, #3a76b7 0%, #2563eb 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.search-bar-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-family: inherit;
}

.table-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: #f8fafc;
}

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

.report-title-cell {
  font-weight: 600;
}

.report-title-cell a {
  color: var(--primary);
  text-decoration: none;
}

.report-title-cell a:hover {
  text-decoration: underline;
}

.badge-result {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-result.complete { background: #dcfce7; color: #166534; }
.badge-result.partial { background: #ffedd5; color: #9a3412; }
.badge-result.failed { background: #fee2e2; color: #991b1b; }
.badge-result.na { background: #f1f5f9; color: #475569; }

.btn-table-action {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-table-action:hover {
  background: var(--primary);
  color: #ffffff;
}

.empty-state-box {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.existing-files-card {
  margin-top: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.existing-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
}

.existing-file-link:hover {
  text-decoration: underline;
}
