.sheet-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0;
  direction: rtl;
}

.sheet-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}

.sheet-form input[type="text"],
.sheet-form input[type="tel"],
.sheet-form input[type="file"],
.sheet-form textarea,
.sheet-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--c-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sheet-form input[type="text"]:focus,
.sheet-form input[type="tel"]:focus,
.sheet-form input[type="file"]:focus,
.sheet-form textarea:focus,
.sheet-form select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

.sheet-form textarea {
  min-height: 80px;
  resize: vertical;
}

.sheet-form .form-submit {
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: background 0.15s, transform 0.1s;
}

.sheet-form .form-submit:active {
  transform: scale(0.97);
}

.sheet-form .form-submit:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.image-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  margin-top: 8px;
  display: none;
}

.image-preview.visible {
  display: block;
}
/* ===== شيتا التبنّي والبلاغ: موضع وحركة مستقلان ===== */

.share-bottom-sheet.adopt-sheet,
.share-bottom-sheet.report-sheet {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200; /* أعلى من شيت الشجرة (1100) */
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-height: 85dvh;
  background: var(--store-sheet-bg, #fff);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  direction: rtl;
  touch-action: pan-y;
  will-change: transform;

  /* مخفي تماماً حتى لا يظهر أي جزء منه أسفل الشاشة */
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.share-bottom-sheet.adopt-sheet.visible,
.share-bottom-sheet.report-sheet.visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}

.share-bottom-sheet.adopt-sheet .share-sheet-handle,
.share-bottom-sheet.report-sheet .share-sheet-handle {
  flex-shrink: 0;
}

/* تتجاوز قاعدة max-height: 70vh المحقونة من ملفات JS */
.share-bottom-sheet.adopt-sheet .share-sheet-content,
.share-bottom-sheet.report-sheet .share-sheet-content {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px));
}