/* ==========================================================
   📘 shop-list.css
   यह फाइल shop-card-template.php और single-shop-detail.php
   दोनों की सभी स्टाइल को एक जगह रखती है।
   हर सेक्शन के ऊपर हिंदी टिप्पणी दी गई है।
   ========================================================== */

/* --------------------------------------------
   🧱 (A) शॉप कार्ड टेम्पलेट (shop-card-template.php)
   -------------------------------------------- */

/* शॉप कार्ड का मुख्य बॉक्स */
.sewalok-shop-card {
  background: #fff;
  border: 1.5px solid #4e7ba2;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sewalok-shop-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* कार्ड में दिखने वाली फोटो */
.sewalok-shop-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* शॉप नाम ओवरले */
.sewalok-shop-name-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(30, 60, 100, 0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* शॉप की जानकारी का सेक्शन */
.sewalok-info {
  padding: 10px;
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

/* यूजर पंक्ति */
.sewalok-user-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

/* यूजर अवतार */
.sewalok-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #4e7ba2;
  object-fit: cover;
  margin-right: 8px;
}

/* यूजर नाम */
.sewalok-username {
  color: #4e7ba2;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 44px);
  display: inline-block;
}

/* कार्य का नाम */
.sewalok-work {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-top: 4px;
}

/* लोकेशन लाइन */
.sewalok-location {
  font-size: 14px;
  color: #4e7ba2;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
}

/* बटन सेक्शन */
.sewalok-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 12px;
}
.sewalok-buttons a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #4e7ba2;
  background: transparent;
  border: 1px solid #4e7ba2;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  margin: 0 5px;
  padding: 4px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.sewalok-buttons a:hover {
  background: #4e7ba2;
  color: #fff;
}
.sewalok-buttons img {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

/* वेरिफ़ाइड आइकन */
.verified-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  z-index: 10;
  pointer-events: none;
  background: transparent;
}

/* --------------------------------------------
   🧱 (B) सिंगल शॉप डिटेल पेज (single-shop-detail.php)
   -------------------------------------------- */

/* डिटेल कार्ड */
.shop-detail-card {
  background: #fff;
  border: 1.5px solid #00AEEF;
  border-radius: 15px;
  padding: 12px;
  max-width: 720px;
  margin: 15px auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* हेडिंग */
.shop-heading {
  background: #00AEEF;
  color: #fff;
  padding: 6px;
  border-radius: 10px;
  text-align: center;
  font-size: 17px;
  margin-bottom: 8px;
}

/* फोटो सेक्शन */
.shop-photo-section,
.owner-photo-section {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* फोटो बॉक्स */
.photo-box {
  text-align: center;
  flex: 0 0 40%;
}
.photo-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.photo-box p {
  font-size: 13px;
  margin-top: 4px;
}

/* डिटेल बॉक्स */
.detail-box {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
}

/* ओनर सेक्शन */
.owner-heading {
  background: #f3f9ff;
  color: #0073aa;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 8px;
  margin-top: 10px;
}

/* वेरिफाइड टैग */
.verified {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 5px;
}

/* लोकेशन बॉक्स */
.location-box {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
}

/* एक्शन आइकॉन */
.action-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  flex-wrap: wrap;
}
.action-icons .icon {
  text-align: center;
  font-size: 12px;
  text-decoration: none;
  color: #222;
  padding: 6px;
}

/* रिपोर्ट और वेरिफ़ाई फॉर्म आइकॉन */
.icon.verify-form,
.icon.report {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  color: #0073aa;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.icon.verify-form:hover,
.icon.report:hover {
  transform: scale(1.1);
}
.icon.verify-form .verify-icon-img,
.icon.report img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  background: transparent;
  border-radius: 4px;
}

/* मोबाइल व्यू पर वेरिफ़ाई फॉर्म हाइड */
@media (min-width: 769px) {
  .icon.verify-form {
    display: none;
  }
}


/* ==========================================================
   🧨 Delete / Cancel Buttons (Admin + Owner)
   ========================================================== */
.shop-delete-btn-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.shop-delete-btn-area button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  padding: 8px 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  background: #f6f7f9;
  color: #333;
  min-width: 130px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* 🔴 Delete Now button */
.shop-admin-delete-now-btn {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}
.shop-admin-delete-now-btn:hover {
  background: #c0392b;
  border-color: #c0392b;
  transform: translateY(-2px);
}

/* 🗑️ Delete Request button */
.shop-delete-request-btn {
  background: #fff;
  color: #e67e22;
  border-color: #e67e22;
}
.shop-delete-request-btn:hover {
  background: #e67e22;
  color: #fff;
  transform: translateY(-2px);
}

/* ❌ Cancel Delete button */
.shop-cancel-delete-btn {
  background: #fff;
  color: #0073aa;
  border-color: #0073aa;
}
.shop-cancel-delete-btn:hover {
  background: #0073aa;
  color: #fff;
  transform: translateY(-2px);
}

/* मोबाइल व्यू में Responsive look */
@media (max-width: 600px) {
  .shop-delete-btn-area {
    flex-direction: column;
    align-items: center;
  }
  .shop-delete-btn-area button {
    width: 90%;
  }
}

