/* Genel stil tanımları */

/* MOBİL: Başlık solda, Seç butonu sağda (aynı satır) */
@media (max-width: 767px) {

/* Randevu Detayları başlık arka plan rengi */
.booking-details-mobile__header{
background: none !important;
  background-image: none !important;
  background-color: #000 !important;
 box-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

  .bs-service-card{
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "header book"
      "dc dc";
    align-items: center;
    column-gap: 12px;
  }

  /* Sol taraf */
  .bs-service-card__header{
    grid-area: header;
    padding-right: 0 !important;
  }

  /* Süre / Kapasite alanı */
  .bs-service-card__dc{
    grid-area: dc;
    margin-top: 6px;
  }

  /* Sağdaki buton alanı */
  .bs-service-card__book{
    grid-area: book;
    margin-top: 0 !important;
    justify-self: end;
    align-self: center;
  }

  /* Başlık ortalanmasın */
  .bs-service-card__header__info,
  .bs-service-card__header__info h4{
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* Buton küçük kalsın */
  .bs-service-card__book__button{
    width: auto !important;
  }

  .bs-service-card__book__button button{
    width: auto !important;
    min-width: 76px;
    height: 40px;
    padding: 0 16px;
    white-space: nowrap;
  }
}

/* Servis kartı: tüm çerçeveleri kaldır, sadece alt border bırak */
.bs-service-card{
  position: relative;
  border: none !important;
  padding-bottom: 22px;
}

.bs-service-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.18),
    rgba(0,0,0,0.05)
  );
}

/* Kart içindeki olası iç border / gölgeleri de temizle */
.bs-service-card *{
  box-shadow: none !important;
}

.bs-service-card__dc[data-v-b0322ad6] {
display: none !important;
}

.ui-button[data-v-f48ee050] {
    border-radius: 0 !important;
}

.ui-carousel {
    height: 400px !important;
}

/* .bs-service-card__header__info__dc ve benzeri seçiciler için ortak stil */
.bs-service-card__header__info__dc[data-v-de97116d],
.service-dg-dcl__item[data-v-1835eb42],
.service-card-dc[data-v-5dc65761],
.bs-service-card__dc[data-v-ddcf05a9],
.bs-service-card__dc[data-v-48bc4a4d] { /* Yeni eklenen kural */
    display: none !important;
}

/* Medya sorguları */
@media (min-width: 1024px) {
    /* .bs-service-card__header__info__dc için medya sorgusu */
    .bs-service-card__header__info__dc[data-v-ddcf05a9],
    .bs-service-card__header__info__dc[data-v-48bc4a4d] { /* Yeni eklenen kural */
        display: none !important;
    }

    /* .bs-service-card__header için medya sorgusu */
    .bs-service-card__header[data-v-ddcf05a9],
    .bs-service-card__header[data-v-48bc4a4d] { /* Yeni eklenen kural */
        align-items: center !important;
        flex-grow: 1 !important;
    }
}

.bs-dt .booking-ts div:last-child,
.bs-dt .booking-ts > span {
display: none;
}

/* Onaylı -> Onaylandı */
span.sub-med[style*="rgb(18, 174, 81)"] {
  font-size: 0 !important;
  position: relative;
}
span.sub-med[style*="rgb(18, 174, 81)"]::after {
  content: "Onaylandı";
  font-size: 14px !important;
  color: #12AE51 !important;
}

/* Gösteri Yok -> Gelmedi */
span.sub-med[style*="rgb(33, 37, 41)"] {
  font-size: 0 !important;
  position: relative;
}
span.sub-med[style*="rgb(33, 37, 41)"]::after {
  content: "Gelmedi";
  font-size: 14px !important;
  color: #212529 !important;
}

/* Askıda olması -> Onay Bekliyor */
span.sub-med[style*="rgb(231, 165, 14)"] {
  font-size: 0 !important;
  position: relative;
}
span.sub-med[style*="rgb(231, 165, 14)"]::after {
  content: "Onay Bekliyor";
  font-size: 14px !important;
  color: #E7A50E !important;
}

/* Reddedildi ve İptal edildi için ekstra güvence */
span.sub-med[style*="rgb(240, 16, 56)"] {
  font-size: 0 !important;
  position: relative;
}
span.sub-med[style*="rgb(240, 16, 56)"]::after {
  content: "Reddedildi";
  font-size: 14px !important;
  color: #F01038 !important;
}

/* Sadece "İnsanların sayısı" metnini değiştir */
.booking-details-body__item .ui-icon-customers + span.sub-med {
  font-size: 0 !important;
  position: relative;
}

.booking-details-body__item .ui-icon-customers + span.sub-med::after {
  content: "Kişi Sayısı";
  font-size: 12px !important;
  line-height: 16px !important;
  color: inherit !important;
  top: 3px !important;
}

.text-graphite {
display: none !important;
}

/* 30 dakika süre ve ikonunu gizle */
.bs-check-info__items .ui-icon-stopwatch,
.bs-check-info__items .ui-icon-stopwatch + span.sub-med {
  display: none !important;
}

/* "Tarafından sunulan" metnini "Servis Verenler" olarak değiştir */
.service_de__employees h4 {
  font-size: 0 !important;
  position: relative;
}

.service_de__employees h4::after {
  content: "Servis Verenler";
  font-size: 16px !important; /* Orijinal başlık boyutunu koru */
  color: inherit !important;
  position: absolute;
  left: 0;
  top: 0;
}

/* 30 dakika süre ve ikonunu gizle */
.service-dg-dcl__item:nth-child(1) {
  display: none !important;
}

/* 1-100 İnsanların sayısı ve ikonunu gizle */
.service-dg-dcl__item:nth-child(2) {
  display: none !important;
}

/* "Örnek 0501 234 56 78" metnini "501 234 56 78" olarak değiştir */
.m-input-label {
  font-size: 0 !important;
  position: relative;
}

/* Sadece "Üye olmak" yazan butonu hedef al */
.signup__bottom .ui-button span {
  font-size: 0 !important;
  position: relative;
}

.signup__bottom .ui-button span::after {
  content: "Hesabını oluştur";
  font-size: 14px !important; /* Orijinal yazı boyutunu koru */
  color: inherit !important;
}

/* EMPLOYEE (MOBİL): solda avatar+isim+tag, sağda Seç butonu (kart dışına taşmaz) */
@media (max-width: 767px) {

  /* Mobilde alttaki full-width "Seç" butonunu kapat */
  .bs-employee-card__body__choose{
    display: none !important;
  }

  /* Header'ı grid yap: up (sol) + down (sağ) */
  .bs-employee-card__header{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important; /* taşmayı engeller */
    grid-template-areas: "up down";
    align-items: center;
    column-gap: 12px;
  }

  .bs-employee-card__header__up{
    grid-area: up;
    margin: 0 !important;
    min-width: 0 !important; /* kritik */
  }

  .bs-employee-card__header__down{
    grid-area: down;
    margin: 0 !important;
    justify-self: end;
    align-self: center;
    display: block !important;
    position: static !important; /* önceki denemeleri sıfırlar */
  }

  /* Avatar kalsın (mobilde responsive avatar) */
  .bs-employee-card__header__up__avatar-responsive{ display: block !important; }
  .bs-employee-card__header__up__avatar-desktop{ display: none !important; }

  /* Info alanı taşmasın */
  .bs-employee-card__header__up__info{
    min-width: 0 !important; /* kritik */
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* İsim: gerekirse satır kır / taşmayı engelle */
  .bs-employee-card__header__up__info h4{
    text-align: left !important;
    margin: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Tag: buton alanını yemesin, gerekirse 2 satıra kırılsın */
  .bs-employee-card__header__up__info .ui-tag{
    max-width: 100% !important;
    white-space: normal !important;
  }

  .bs-employee-card__header__up__info .ui-tag__content{
    white-space: normal !important;
    line-height: 1.2 !important;
  }

  /* Buton: küçük kutu */
  .bs-employee-card__header__down .ui-button{
    width: auto !important;
    min-width: 86px !important;
    height: 44px;
    padding: 0 16px !important;
    white-space: nowrap;
    border-radius: 10px;
  }
}
@media (max-width: 767px) {

  /* Tag kutusu: satır kırılabilsin ve kutu büyüsün */
  .bs-employee-card__header__up__info .ui-tag{
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;          /* kutu büyüsün */
    max-width: 100% !important;
    white-space: normal !important;   /* kırılmaya izin */
    overflow: hidden !important;      /* dışarı taşma olmasın */
  }

  /* Tag iç metin: kırılma + dışarı taşma yok */
  .bs-employee-card__header__up__info .ui-tag__content{
    display: block !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;  /* uzun parçalar bile kırılır */
    word-break: normal !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }

  /* Eğer tag'a inline width/height basılıyorsa, bunu boşa çıkar */
  .bs-employee-card__header__up__info .ui-tag[style]{
    width: auto !important;
    max-width: 100% !important;
  }
}

/* Founder | Master – özel etiket rengi */
.bs-employee-card.founder-card .ui-tag {
  background-color: #E6C86E !important;
  border: 1px solid #D6B85E !important;
}

.bs-employee-card.founder-card .ui-tag__content {
  color: #1C1C1C !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Çalışan kartları: dış border ve kutu görünümünü kaldır */
.bs-employee-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Sadece alt ayırıcı çizgi */
.bs-employee-card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
