/* صفحه ارسال پیام تسلیت — slot خالی برای محتوای بعدی داخل box-condolence */

.tomb-personal-page .condolence-send-slot {
  padding: 12px;
  min-height: 0;
}

/* فرم ثبت پیام تسلیت — همان الگوی managment-service داخل کادر */
.condolence-send-slot .registration-Service-form {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.condolence-send-slot .registration-Service-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.condolence-send-slot .condolence-opening-preset-wrap {
  margin-bottom: 0.5rem;
}

/* دکمه «ادامه» — همان ظاهر «ثبت دلنوشته» (.btn-routing)؛ عرض متناسب با متن */
.condolence-send-page .condolence-send-submit-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.condolence-send-page .condolence-send-continue-btn {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 0.5rem 1.75rem;
  display: inline-block;
  white-space: nowrap;
}

.condolence-send-page .condolence-send-continue-btn:hover,
.condolence-send-page .condolence-send-continue-btn:focus {
  outline: none;
  box-shadow: none;
}

/* فاصله ۲۰px بین پایین کادر سفید و بالای فوتر */
.condolence-send-page .box-condolence {
  margin-bottom: 20px;
}

/* عنوان وسط نوار؛ position:sticky از condolence.css حفظ می‌شود (بدون override به relative) */
.condolence-send-page .condolence-send-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.condolence-send-page .header-condolence .return-tomb,
.condolence-send-page .header-condolence .arrow-condolence {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .condolence-send-page .condolence-send-title {
    font-size: 1rem;
  }
}
