/* ==========================================================================
   FIXSTER YANGI FUNKSIYALAR VA DIZAYN (FEATURES & ENHANCEMENTS)
   - Suzuvchi pastki navigatsiya (Floating Bottom Nav)
   - Saqlangan ustalar (Saved Masters)
   - Ikki tomonlama baholash va sharhlar (Two-Way Reviews & Ratings)
   - Taqsimot chiziqlari (Rating Breakdown Bars)
   - Rasm biriktirish va Lightbox integratsiyasi
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SUZUVCHI PASTKI NAVIGATSIYA (FLOATING BOTTOM NAV)
   -------------------------------------------------------------------------- */
.fixster-bottom-nav-wrap {
  position: fixed;
  bottom: 14px;
  left: 12px;
  right: 12px;
  z-index: 9990;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

@media (min-width: 768px) {
  .fixster-bottom-nav-wrap {
    display: none !important; /* Planshet va desktopda yuqori menyu ishlatiladi */
  }
}

.fixster-bottom-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  width: 100%;
  max-width: 440px;
  padding: 6px 8px;
  background: rgba(14, 15, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75), 0 0 24px rgba(217, 70, 239, 0.12);
}

.fixster-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 6px 4px;
  border-radius: 20px;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.fixster-bnav-item i,
.fixster-bnav-item svg {
  font-size: 1.15rem;
  margin-bottom: 3px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.fixster-bnav-item:active {
  transform: scale(0.92);
}

/* Faol kapsula (Active pill highlight) */
.fixster-bnav-item.active {
  color: #f5d0fe;
  background: rgba(217, 70, 239, 0.18);
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.28);
}

.fixster-bnav-item.active i,
.fixster-bnav-item.active svg {
  color: #e879f9;
  transform: translateY(-1px) scale(1.08);
}

/* Usta roli uchun faol rang (Amber / Gold) */
.fixster-bnav-item.is-usta.active {
  color: #fef08a;
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.fixster-bnav-item.is-usta.active i,
.fixster-bnav-item.is-usta.active svg {
  color: #fbbf24;
}

.fixster-bnav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Kontent pastki menyu orqasida qolmasligi uchun bo'sh joy */
body.fixster-has-bnav {
  padding-bottom: 84px !important;
}

/* --------------------------------------------------------------------------
   2. YURAKCHA TUGMASI (HEART BUTTON - SAVED MASTERS)
   -------------------------------------------------------------------------- */
.fixster-heart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fixster-heart-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.fixster-heart-btn:active {
  transform: scale(0.88);
}

.fixster-heart-btn.is-saved {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
  animation: fixsterHeartPop 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixster-heart-btn.is-saved i {
  color: #ef4444;
}

@keyframes fixsterHeartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Usta profilidagi bosh qism yurakchasi */
.fixster-profile-hero-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   3. SAQLANGAN USTALAR SAHIFASI (SAVED MASTERS SECTION)
   -------------------------------------------------------------------------- */
.fixster-saved-page {
  padding-top: 86px;
  padding-bottom: 50px;
  min-height: 80vh;
}

.fixster-saved-header {
  margin-bottom: 24px;
  text-align: center;
}

.fixster-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
}

.fixster-saved-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(18, 19, 30, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixster-saved-card:hover {
  background: rgba(28, 29, 44, 0.85);
  border-color: rgba(217, 70, 239, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 70, 239, 0.15);
}

.fixster-saved-card.is-removing {
  opacity: 0;
  transform: scale(0.9) translateY(12px);
  transition: all 0.28s ease-out;
}

.fixster-saved-card-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.fixster-saved-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixster-saved-card-info {
  flex: 1;
  min-width: 0;
}

.fixster-saved-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.fixster-saved-card-service {
  font-size: 0.8rem;
  color: #a855f7;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.fixster-saved-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #fbbf24;
  font-weight: 600;
}

.fixster-saved-card-count {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. UNIVERSAL BAHO BERISH MODALI (RATING & REVIEW MODAL)
   -------------------------------------------------------------------------- */
.fixster-rating-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
  padding: 0;
}

@media (min-width: 640px) {
  .fixster-rating-overlay {
    align-items: center;
    padding: 20px;
  }
}

.fixster-rating-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fixster-rating-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #161726 0%, #0f101a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px 28px 0 0;
  padding: 24px 20px 28px 20px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .fixster-rating-modal {
    border-radius: 28px;
    transform: translateY(20px) scale(0.96);
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 70, 239, 0.15);
  }
}

.fixster-rating-overlay.active .fixster-rating-modal {
  transform: translateY(0) scale(1);
}

/* Modal bosh qismi */
.fixster-rating-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.fixster-rating-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fixster-rating-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Baholanayotgan shaxs kartochkasi */
.fixster-rating-target-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.fixster-rating-target-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d946ef, #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.fixster-rating-target-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixster-rating-target-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.fixster-rating-target-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(217, 70, 239, 0.18);
  color: #f0abfc;
  border: 1px solid rgba(217, 70, 239, 0.35);
  margin-top: 2px;
}

/* 5 ta katta yulduzlar qatori */
.fixster-rating-stars-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.fixster-rating-stars-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.fixster-rating-star-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.2);
  font-size: 2rem;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.fixster-rating-star-btn:hover {
  transform: scale(1.2);
}

.fixster-rating-star-btn:active {
  transform: scale(0.9);
}

.fixster-rating-star-btn.is-active {
  color: #fbbf24;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.65));
}

.fixster-rating-score-label {
  min-height: 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fbbf24;
  transition: opacity 0.2s ease;
}

/* Sharh maydoni */
.fixster-rating-textarea-wrap {
  margin-bottom: 16px;
}

.fixster-rating-textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fixster-rating-textarea:focus {
  outline: none;
  border-color: #d946ef;
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.3);
}

.fixster-rating-textarea::placeholder {
  color: #64748b;
}

/* Rasm yuklash maydoni */
.fixster-rating-photo-section {
  margin-bottom: 22px;
}

.fixster-rating-photo-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fixster-rating-photo-picker:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d946ef;
  color: #ffffff;
}

.fixster-rating-preview-box {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 120px;
  max-height: 120px;
}

.fixster-rating-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fixster-rating-preview-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.88);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}

.fixster-rating-preview-del:hover {
  transform: scale(1.15);
}

/* Modal amallar qatori */
.fixster-rating-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.fixster-rating-cancel-btn {
  flex: 1;
  padding: 13px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fixster-rating-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.fixster-rating-submit-btn {
  flex: 1.5;
  width: 100%;
  padding: 13px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d946ef, #8b5cf6);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.35);
}

.fixster-rating-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 70, 239, 0.5);
}

.fixster-rating-submit-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.fixster-rating-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   5. REYTING TAQSIMOT CHIZIQLARI (RATING BREAKDOWN)
   -------------------------------------------------------------------------- */
.fixster-breakdown-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.fixster-breakdown-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fixster-breakdown-big-score {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1px;
}

.fixster-breakdown-stars-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fixster-breakdown-stars-col .stars {
  color: #fbbf24;
  font-size: 1rem;
}

.fixster-breakdown-count {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.fixster-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fixster-breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
}

.fixster-breakdown-star-num {
  width: 24px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  color: #cbd5e1;
}

.fixster-breakdown-star-num i {
  color: #fbbf24;
  font-size: 0.7rem;
}

.fixster-breakdown-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.fixster-breakdown-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.5s ease-out;
}

.fixster-breakdown-val {
  width: 28px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   6. SHARH KARTOCHKALARI (REVIEW CARDS)
   -------------------------------------------------------------------------- */
.fixster-review-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fixster-review-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.fixster-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.fixster-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fixster-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
}

.fixster-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixster-review-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.fixster-review-author-role {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  margin-left: 6px;
}

.fixster-review-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  white-space: nowrap;
}

.fixster-review-text {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 6px;
  word-break: break-word;
}

.fixster-review-expand-btn {
  background: transparent;
  border: none;
  color: #c084fc;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
}

.fixster-review-image-thumb {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 140px;
  max-height: 140px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.fixster-review-image-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.fixster-review-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fixster-review-date {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   7. BO'SH HOLATLAR (EMPTY STATES)
   -------------------------------------------------------------------------- */
.fixster-empty-state {
  text-align: center;
  padding: 42px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  margin: 16px 0;
}

.fixster-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #64748b;
  margin-bottom: 14px;
}

.fixster-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.fixster-empty-sub {
  font-size: 0.84rem;
  color: #94a3b8;
  max-width: 320px;
  margin: 0 auto 16px auto;
  line-height: 1.45;
}

.fixster-empty-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  background: rgba(217, 70, 239, 0.16);
  border: 1px solid rgba(217, 70, 239, 0.35);
  color: #f0abfc;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fixster-empty-action-btn:hover {
  background: rgba(217, 70, 239, 0.28);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- 6 ta Kategoriya Ranglari va Xizmatlar Dizayni --- */
.svc-card-purple { --svc-color: #a855f7; --svc-glow: 0 0 36px rgba(168, 85, 247, 0.75); border-color: rgba(168, 85, 247, 0.38); }
.svc-card-cyan { --svc-color: #06b6d4; --svc-glow: 0 0 36px rgba(6, 182, 212, 0.75); border-color: rgba(6, 182, 212, 0.38); }
.svc-card-orange { --svc-color: #f97316; --svc-glow: 0 0 36px rgba(249, 115, 22, 0.75); border-color: rgba(249, 115, 22, 0.38); }

.xizmat-modal[data-accent="purple"] .xizmat-list-item:hover,
.xizmat-modal[data-accent="purple"] .xizmat-list-item.selected { background: rgba(168, 85, 247, 0.2); }
.xizmat-modal[data-accent="cyan"] .xizmat-list-item:hover,
.xizmat-modal[data-accent="cyan"] .xizmat-list-item.selected { background: rgba(6, 182, 212, 0.2); }
.xizmat-modal[data-accent="orange"] .xizmat-list-item:hover,
.xizmat-modal[data-accent="orange"] .xizmat-list-item.selected { background: rgba(249, 115, 22, 0.2); }

/* Boshqa muammo (Custom issue & photo upload) */
.xizmat-custom-problem-wrap {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.xizmat-custom-problem-wrap.active {
  border-color: var(--modal-accent, rgba(217, 70, 239, 0.5));
  box-shadow: 0 0 20px var(--modal-accent-bg, rgba(217, 70, 239, 0.15));
}
.xizmat-custom-textarea {
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}
.xizmat-custom-textarea:focus {
  border-color: var(--modal-accent, #3b82f6);
}
.xizmat-photo-dropzone {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.xizmat-photo-dropzone:hover {
  border-color: var(--modal-accent, #3b82f6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.xizmat-photo-preview-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.xizmat-photo-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.xizmat-photo-del-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.xizmat-photo-del-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

/* Zakaz kartasidagi rasm va tavsif */
.usta-zakaz-card-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}
.usta-zakaz-card-photo-btn:hover {
  background: rgba(59, 130, 246, 0.28);
  color: #ffffff;
}
.usta-zakaz-card-desc {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 3px solid var(--modal-accent, #a855f7);
  line-height: 1.4;
}

/* Services preview tags */
.svc-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.svc-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 500;
}
.svc-preview-pill i {
  color: var(--svc-color, #3b82f6);
  font-size: 0.65rem;
}

/* Modal bottom safety */
.xizmat-modal .xizmat-modal-card {
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 24px));
}

/* Reduces animations if requested by system */
@media (prefers-reduced-motion: reduce) {
  .fixster-bnav-item,
  .fixster-heart-btn,
  .fixster-rating-modal,
  .fixster-saved-card,
  .fixster-review-card {
    transition: none !important;
    animation: none !important;
  }
}
