/* public/components/services/services.css */

.hidden-svc {
  display: none !important;
}

/* System-Aligned Store Hero Banner */
.svc-hero-banner {
  background: var(--surface, #0B1628);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 16px);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, 0.25));
  position: relative;
  overflow: hidden;
}

.svc-hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* System Segmented Navigation Bar */
.svc-nav-bar {
  display: flex;
  gap: 6px;
  background: var(--surface, #0B1628);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 16px);
  padding: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.svc-nav-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--text2, #94a3b8);
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-nav-tab:hover {
  color: var(--text, #fff);
  background: var(--bg3, #111E33);
}

.svc-nav-tab.active {
  background: var(--accent, #6366F1) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* Service Cards Styling matching System UI */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.svc-card {
  background: var(--surface, #0B1628);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.svc-card:hover {
  border-color: var(--accent, #6366F1);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
}

.svc-cover-wrap {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  background: var(--bg3, #111E33);
}

.svc-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.svc-card:hover .svc-cover-img {
  transform: scale(1.05);
}

.svc-price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent, #6366F1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.svc-type-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--surface, rgba(11, 22, 40, 0.85));
  backdrop-filter: blur(8px);
  color: var(--text, #fff);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.svc-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.svc-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text, #fff);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.svc-desc {
  font-size: 12px;
  color: var(--text2, #94a3b8);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.svc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding-top: 12px;
  margin-top: 4px;
}

.svc-delivery-badge {
  font-size: 11px;
  color: var(--amber, #f59e0b);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.svc-action-btn {
  background: var(--bg3, #111E33);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  color: var(--text, #fff);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.svc-action-btn:hover {
  background: var(--accent, #6366F1);
  border-color: var(--accent, #6366F1);
  color: #ffffff;
}

.svc-action-btn.danger:hover {
  background: var(--red, #ef4444);
  border-color: var(--red, #ef4444);
  color: #ffffff;
}

/* Order Management Cards */
.svc-order-card {
  background: var(--surface, #0B1628);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 16px);
  padding: 20px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.svc-order-card:hover {
  border-color: var(--accent, #6366F1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.svc-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.svc-order-buyer-box {
  background: var(--bg3, #111E33);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--text2, #94a3b8);
  line-height: 1.6;
}

.svc-order-buyer-box strong {
  color: var(--text, #fff);
}
