/* =================================================================== */
/* TOMB-SHARE.CSS - استایل‌های اختصاصی صفحه اشتراک‌گذاری                */
/* =================================================================== */

/* 1. استایل کلی باکس‌های اشتراک‌گذاری */
.custom-square {
  width: 120px;
  height: 120px;
  background-color: var(--color-white-aqua);
  border-radius: 8px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-align: center;
}

.custom-square p {
  margin-bottom: 0;
}

.box-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 45px;
}

.box-qrcode {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 45px;
}

.box-link input {
  border: none !important;
  outline: none !important;
  background: transparent;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
}

.box-link input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


  .box-link,
  .box-qrcode {
    padding: 0 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

.box-qrcode #qrCodeImage {
  width: 40px;
  height: 40px;
}

.title-share {
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.share-description {
  font-size: 0.625rem;
  color: #555;
  margin-top: 8px;
  line-height: 1.3;
}

.app-share {
  margin-top: auto;
  padding-top: 5px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.app-share a {
  color: #333;
  font-size: 18px;
  transition: color 0.3s;
}

.copy-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  font-size: 0.9rem;
}

.copy-icon:hover {
  color: var(--color-primary);
}

/* 2. استایل‌های واکنش‌گرا برای محتوای باکس‌ها */
@media (max-width: 575.98px){
  .custom-square {
    width: 100% !important;
    height: 200px !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .title-share {
    margin-top: 10px;
  }

  .share-description {
    margin-top: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-left: 10px;
  }
  .prayer-counter-wrapper,
  .custom-square {
    width: 100%;
    margin-bottom: 0;
  }

  .custom-square {
    width: 100% !important;
    height: 200px !important;
    margin-top: 30px;
    margin-bottom: 60px;
    /* min-height: 150px;
    aspect-ratio: 1 / 1.2; */
  }

  .title-share {
    font-size: 0.7rem;
    margin-top: 10px;
  }

  .share-description {
    margin-top: 15px;
  }

}

@media (min-width: 768px) and (max-width: 991.98px) {
  .custom-square {
    width: 180px;
    height: 270px;
  }

  .box-link,
  .box-qrcode {
    min-height: 60px;
  }

  .box-qrcode #qrCodeImage {
    width: 50px;
    height: 50px;
  }

  .title-share {
    font-size: 0.75rem;
  }

  .app-share a {
    font-size: 20px;
  }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .custom-square {
    width: 220px;
    height: 220px;
  }

  .box-link,
  .box-qrcode {
    min-height: 60px;
  }

  .box-qrcode #qrCodeImage {
    width: 50px;
    height: 50px;
  }

  .title-share {
    font-size: 1rem;
    margin-top: 15px;
  }

  .app-share a {
    font-size: 20px;
  }

}

@media (min-width: 1200px) {
  .grid3 {
    grid-template-columns: 300px 300px;
  }

  .custom-square {
    width: 300px;
    height: 300px;
    padding: 20px;
  }

  .box-link,
  .box-qrcode {
    min-height: 100px;
  }

  .box-qrcode #qrCodeImage {
    width: 80px;
    height: 80px;
  }

  .title-share {
    font-size: 1.25rem;
    margin-top: 15px;
    margin-bottom: 0 !important;
  }

  .share-description {
    font-size: 0.75rem;
    margin-top: 15px;
  }

  .app-share {
    gap: 20px;
    font-size: 28px;
  }
}