/* Page-specific overrides & shared utilities (front-office) */

/* ------------------------------------------------------------------
   Forms validation (used by multiple pages: contact, register, etc.)
------------------------------------------------------------------- */
.error {
  color: #d7342c !important;
  width: 100% !important;
}

input.error,
select.error,
textarea.error {
  border: 1px solid #eea9a6 !important;
}

/* Phone number validation styles (intl-tel-input + custom validation) */
.telephonecity.is-valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.telephonecity.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.tb-recaptcha-wrapper {
  margin: 1pc;
}

/* ------------------------------------------------------------------
   Patient landing (`public/templates/Patient.html`)
------------------------------------------------------------------- */
.tb-section-doctor {
  background-color: #f8f9fa;
  padding: 45px 0;
}

.tb-color-bleu {
  color: #005455;
}

.tb-section-doctor .section-header {
  margin-bottom: 30px;
}

.tb-line {
  background-color: #005455;
  height: 2px;
  margin: 0;
  width: 60px;
}

.tb-patient-content-min {
  min-height: 14px;
}

.tb-patient-img {
  width: 70%;
  margin: auto;
  display: block;
}

.tb-text-justify-lg {
  text-align: justify;
  line-height: 35px;
}

.tb-patient-hero-title {
  text-align: center;
  color: #2ea999;
}

.tb-center-cta {
  margin: 17px auto 0;
  display: block;
  width: 155px;
  font-size: 21px;
}

/* ------------------------------------------------------------------
   Home (`public/templates/index.twig`)
------------------------------------------------------------------- */
.ui-widget {
  font-size: 12px !important;
}

@keyframes tb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tb-spin {
  display: inline-block;
  animation: tb-spin 1s linear infinite;
}

.btn-location.loading {
  opacity: 0.7;
  pointer-events: none;
}

.tb-search-icon-margin {
  margin-left: 9px;
}

/* ------------------------------------------------------------------
   Detail (`public/templates/Detail.html`)
------------------------------------------------------------------- */
#showHideRdv {
  display: block;
}

@media (max-width: 767px) {
  #showHideRdv {
    display: none;
  }
}

.tb-alert-owner {
  font-size: 13px;
  font-weight: lighter;
}

.tb-map-detail {
  width: 100%;
  height: 469px;
}

.tb-map-placeholder {
  width: 100%;
  height: 469px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.tb-modal-title {
  text-align: left;
  font-size: 17px;
}

.tb-modal-title-icon {
  font-size: 21px;
  margin-right: 5px;
}

.tb-modal-footer-no-border {
  border-top: none;
}

.tb-modal-bg {
  background-color: rgba(174, 255, 244, 0.37);
}

.tb-get-date-hour {
  text-align: center;
  color: #005555;
  font-size: 20px;
  border: none;
  font-weight: bold;
}

.tb-map-min {
  min-height: 200px;
}

.tb-comments-list {
  padding-left: 0;
}

.tb-rating-rel {
  position: relative;
}

.tb-mb-0 {
  margin-bottom: 0;
}

.tb-hidden-iframe {
  height: 0;
  width: 0;
  display: none;
  visibility: hidden;
}

.tb-modal-icon-img {
  width: 100px;
  height: 100px;
}

.tb-input-h49 {
  height: 49px;
}

.tb-btn-forget {
  cursor: pointer;
  padding-top: 12px;
  padding-bottom: 7px;
}

.tb-modal-pad-right-17 {
  padding-right: 17px;
}

.tb-font-14 {
  font-size: 14px;
}

.tb-modal-title-center {
  margin: auto;
  font-size: 17px;
  text-align: center;
}

.tb-urgence-btn {
  color: #fff;
  border-radius: 4px;
  width: 100%;
  height: 40px;
  background: #c43636;
  cursor: pointer;
}

.tb-urgence-btn-text {
  font-size: 13px;
  margin: auto;
  padding-top: 11px;
}

.tb-link-white {
  color: #fff;
}

.tb-urgence-box {
  margin-top: 7px;
  width: 100%;
  height: 50px;
  background: #ececec;
}

.tb-urgence-unavailable {
  font-size: 13px;
  color: #464646;
  margin: 15px auto;
}

.tb-prefix-select {
  height: 35px;
  width: 73px;
  font-size: 11px;
}

.tb-get-name {
  color: #005555 !important;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0;
}

