/* Κατάσταση σέρβις — pills (κοινό σε όλες τις οθόνες) */

.svc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.svc-status-pill--intake {
  background: linear-gradient(145deg, #e0e7ff 0%, #c7d2fe 55%, #eef2ff 100%);
  color: #3730a3;
  border-color: rgba(99, 102, 241, 0.4);
}

.svc-status-pill--diagnosis {
  background: linear-gradient(145deg, #ede9fe 0%, #ddd6fe 50%, #f5f3ff 100%);
  color: #5b21b6;
  border-color: rgba(139, 92, 246, 0.45);
}

.svc-status-pill--repair {
  background: linear-gradient(145deg, #ffedd5 0%, #fed7aa 50%, #fff7ed 100%);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.45);
}

.svc-status-pill--parts {
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 50%, #fffbeb 100%);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.45);
}

.svc-status-pill--progress {
  background: linear-gradient(145deg, #ffedd5 0%, #fed7aa 50%, #fef3c7 100%);
  color: #9a3412;
  border-color: rgba(249, 115, 22, 0.45);
}

.svc-status-pill--ready {
  background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 45%, #ecfdf5 100%);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.45);
}

.svc-status-pill--delivered {
  background: linear-gradient(145deg, #f3e8ff 0%, #e9d5ff 50%, #faf5ff 100%);
  color: #7e22ce;
  border-color: rgba(168, 85, 247, 0.4);
}

.svc-status-pill--cancelled {
  background: linear-gradient(145deg, #fee2e2 0%, #fecaca 50%, #fef2f2 100%);
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Λεπτομέρεια σέρβις — κεφαλίδα & πλαϊνή στήλη */
.svc-detail-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px -16px rgba(24, 28, 34, 0.14);
}

.svc-detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.svc-detail-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -45%;
  width: 42%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 62%);
  pointer-events: none;
}
.svc-detail-hero > * {
  position: relative;
  z-index: 1;
}
.svc-detail-hero--intake {
  background: linear-gradient(118deg, #4338ca 0%, #6366f1 45%, #818cf8 100%);
}
.svc-detail-hero--diagnosis {
  background: linear-gradient(118deg, #6d28d9 0%, #8b5cf6 45%, #a78bfa 100%);
}
.svc-detail-hero--repair {
  background: linear-gradient(118deg, #ea580c 0%, #f97316 45%, #fb923c 100%);
}
.svc-detail-hero--parts {
  background: linear-gradient(118deg, #d97706 0%, #f59e0b 45%, #fbbf24 100%);
}
.svc-detail-hero--progress {
  background: linear-gradient(118deg, #ea580c 0%, #f97316 45%, #fb7185 100%);
}
.svc-detail-hero--ready {
  background: linear-gradient(118deg, #059669 0%, #10b981 48%, #14b8a6 100%);
}
.svc-detail-hero--delivered {
  background: linear-gradient(118deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
}
.svc-detail-hero--cancelled {
  background: linear-gradient(118deg, #4b5563 0%, #6b7280 55%, #374151 100%);
}

.svc-detail-hero .svc-detail-hero-badge {
  font-size: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  outline: 2px solid rgba(255, 255, 255, 0.32);
  outline-offset: 0;
}

.svc-detail-viber {
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 55%, #ffffff 100%) !important;
  border-color: rgba(115, 96, 242, 0.22) !important;
  box-shadow: 0 8px 28px -12px rgba(115, 96, 242, 0.28);
}

.svc-detail-viber .bg-viber,
.svc-detail-viber a.bg-viber {
  background: #7360f2 !important;
  color: #fff !important;
}

.svc-detail-stat-cost {
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.28);
}

.svc-cost-inline-view {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.svc-cost-inline-view.hidden {
  display: none;
}

.svc-cost-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.svc-cost-inline-btn:hover .svc-cost-inline-edit-icon {
  opacity: 1;
  color: #047857;
}

.svc-cost-inline-edit-icon {
  font-size: 1rem;
  color: #059669;
  opacity: 0.55;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.svc-cost-inline-hint {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(4, 120, 87, 0.72);
}

.svc-cost-inline-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.svc-cost-inline-form.hidden {
  display: none;
}

.svc-cost-inline-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 0.55rem;
  padding: 0.2rem 0.55rem;
}

.svc-cost-inline-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: #047857;
  outline: none;
}

.svc-cost-inline-suffix {
  font-size: 0.82rem;
  font-weight: 700;
  color: #059669;
}

.svc-cost-inline-actions {
  display: flex;
  gap: 0.35rem;
}

.svc-cost-inline-save,
.svc-cost-inline-cancel {
  border: 0;
  border-radius: 0.45rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.svc-cost-inline-save {
  background: #059669;
  color: #fff;
}

.svc-cost-inline-cancel {
  background: rgba(255, 255, 255, 0.75);
  color: #047857;
}

.svc-cost-inline-error {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b91c1c;
}

.svc-cost-inline-error.hidden {
  display: none;
}
.svc-detail-stat-tech {
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: rgba(14, 165, 233, 0.28);
}
