/* 현장확인 모달 상단 닫기 버튼 */
.richhome-site-check.sc-package-detail .sc-heading{
  position:relative !important;
  padding-right:64px !important;
}

.richhome-site-check.sc-package-detail .sc-heading-close{
  position:absolute !important;
  top:12px !important;
  right:14px !important;
  width:40px !important;
  height:40px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #d7e1ea !important;
  border-radius:12px !important;
  background:#f7fafc !important;
  color:#27465f !important;
  font-size:22px !important;
  font-weight:700 !important;
  line-height:1 !important;
  box-shadow:none !important;
}

/* 하단 기본 닫기 영역 숨김 */
.richhome-site-check.sc-package-detail .sc-footer.sc-footer-minimal{
  display:none !important;
}

/* 새 내용 추가 내부 버튼 정리 */
.richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="button"],
.richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="submit"]{
  min-height:44px !important;
  padding:10px 16px !important;
  border-radius:10px !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  box-shadow:none !important;
}

.richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="button"]{
  border:1px solid #cfd9e3 !important;
  background:#f4f7fa !important;
  color:#2c4358 !important;
}

.richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="submit"]{
  border:1px solid #2a6686 !important;
  background:#2f6d8e !important;
  color:#fff !important;
  margin-left:8px !important;
}

/* 모바일에서 버튼 줄바꿈 대응 */
@media (max-width: 600px){
  .richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="button"],
  .richhome-site-check.sc-package-detail .rh-site-add-record-form > button[type="submit"]{
    min-width:110px !important;
  }
}
