.customer-online-services-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  padding: 20px;
  padding-bottom: 120px;
}

.customer-online-services-header {
  margin-bottom: 24px;
}

.customer-online-services-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.customer-online-services-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.customer-online-services-subtitle {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.customer-online-services-limit-badge {
  min-width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

/* ======= TECH CARD ======= */

.customer-online-services-tech {
  margin-top: 4px;
  color: #777;
  font-size: 14px;
}

.customer-online-services-tech-card {
  background: #fff;
  border-radius: 24px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.customer-online-services-tech-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.customer-online-services-tech-label {
  font-size: 12px;
  color: #6b7280;
}

.customer-online-services-tech-name {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.customer-online-services-section-title {
  margin-bottom: 18px;
}

.customer-online-services-section-title-left {
  display: flex;

  align-items: flex-start;

  gap: 12px;
}

.customer-online-services-section-icon {
  width: 42px;
  height: 42px;

  border-radius: 14px;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;

  flex-shrink: 0;
}

.customer-online-services-section-title-text {
  font-size: 20px;
  font-weight: 800;

  color: #111827;
}

.customer-online-services-section-description {
  margin-top: 4px;

  font-size: 13px;
  line-height: 1.4;

  color: #6b7280;
}

/* ======= SERVICE READING ======= */

.customer-online-services-card {
  background: #fff;
  border-radius: 30px;
  padding: 20px 12px;
  margin-bottom: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.customer-online-services-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.customer-online-services-readings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.customer-online-services-reading-card {
  position: relative;
  width: 100%;
  min-height: auto;
  background: #fff;
  border-radius: 22px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2ff;
  overflow: hidden;
}

.customer-online-services-reading-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--reading-color);
}

.customer-online-services-reading-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.customer-online-services-reading-name {
  display: flex;
  align-items: center;
  height: 42px;
  font-size: 16px;
  font-weight: 400;
  color: #111827;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin: 0;
}

.customer-online-services-reading-range {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.customer-online-services-reading-status {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* ======= WHEEL ======= */

/* .customer-online-services-wheel {
  position: relative;
  width: 100%;
  height: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 45%;
  padding-right: 45%;
  scrollbar-width: none;
} */

.customer-online-services-wheel {
  width: 100%;

  height: 58px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  display: flex;
  flex-direction: row;

  align-items: center;

  gap: 14px;

  padding-left: 45%;
  padding-right: 45%;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;
}

.customer-online-services-wheel::-webkit-scrollbar {
  display: none;
}

/* .customer-online-services-wheel::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(59, 130, 246, 0.12)
  );
  border: 2px solid #3b82f6;
  pointer-events: none;
  z-index: 3;
} */

.customer-online-services-wheel-value {
  min-width: 52px;
  height: 42px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: 0.18s;
}

.customer-online-services-wheel-value.active {
  color: #2563eb;
  font-size: 16px;
  transform: scale(1.08);
  z-index: 4;
}

.customer-online-services-wheel-wrapper {
  position: relative;

  width: 100%;
}

.customer-online-services-wheel-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(59, 130, 246, 0.12)
  );
  border: 2px solid #3b82f6;
  pointer-events: auto;
  z-index: 10;
  transition: 0.18s;
}

.customer-online-services-wheel-indicator.confirmed {
  transform: translate(-50%, -50%) scale(1.08);

  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.customer-online-services-reading-value.confirmed {
  color: #16a34a;
}

.customer-online-services-section-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.customer-online-services-photos {
  display: flex;
  gap: 12px;
  overflow: auto;
}

.customer-online-services-photo-item {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.customer-online-services-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-online-services-upload-btn {
  margin-top: 18px;
  height: 56px;
  border-radius: 18px;
  padding: 0 22px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.customer-online-services-textarea {
  width: 100%;
  min-height: 130px;
  border: none;
  border-radius: 22px;
  background: #f9fafb;
  padding: 18px;
  font-size: 16px;
  color: #111827;
  resize: none;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.customer-online-services-submit-btn {
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-top: 28px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.customer-online-services-history-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.customer-online-services-history {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.customer-online-services-history-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.customer-online-services-history-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-online-services-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}

.customer-online-services-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.customer-online-services-status.reviewing {
  background: #dbeafe;
  color: #1d4ed8;
}

.customer-online-services-status.completed {
  background: #dcfce7;
  color: #166534;
}

.customer-online-services-history-date {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
}

.customer-online-services-load-more {
  width: 100%;
  height: 54px;
  border: none;
  background: #fff;
  border-radius: 18px;
  margin-top: 18px;
  font-weight: 700;
}

.customer-online-services-reading-icon {
  width: 42px;
  height: 42px;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  font-size: 18px;
}

.customer-online-services-reading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.customer-online-services-reading-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.customer-online-services-reading-uom {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1;
}

.customer-online-services-reading-value {
  font-size: 18px;
  font-weight: 400;
  color: #2563eb;
  line-height: 1;
}

.customer-online-services-reading-right {
  display: flex;

  align-items: baseline;

  gap: 4px;

  flex-shrink: 0;
}

.customer-online-services-photos-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;
}

.customer-online-services-photo-card {
  position: relative;

  aspect-ratio: 1/1;

  border-radius: 22px;

  overflow: hidden;

  background: #f3f4f6;
}

.customer-online-services-photo-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.customer-online-services-photo-delete {
  position: absolute;

  top: 8px;
  right: 8px;

  width: 36px;
  height: 36px;

  border: none;

  border-radius: 12px;

  background: rgba(0, 0, 0, 0.55);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;

  backdrop-filter: blur(6px);
}

.customer-online-services-upload-btn {
  margin-top: 14px;

  width: 100%;
}

.customer-online-services-comments {
  width: 100%;

  min-height: 120px;

  border: none;

  border-radius: 20px;

  background: #f8fafc;

  padding: 16px;

  resize: none;

  font-size: 15px;

  line-height: 1.5;

  color: #111827;

  outline: none;

  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.customer-online-services-comments:focus {
  box-shadow: inset 0 0 0 2px #3b82f6;
}

.customer-online-services-comments-counter {
  margin-top: 8px;

  text-align: right;

  font-size: 12px;

  color: #94a3b8;
}
