/* ------------------------------------------------------------------
   Burs başvuru formu + menüdeki "Burs Başvuru Formu" bağlantısı
   (Gönüllü / İK form tasarımıyla aynı dil: düz köşe, ince kenarlık,
   kırmızı vurgu)
------------------------------------------------------------------ */

/* Menü: sola yaslı, burs bağlantısı en sağda */
.nav-row .container-main > .nav { width: 100%; }

.nav-link.nav-link-burs {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0,0,0,.16);
}
.nav-link.nav-link-burs:hover,
.nav-link.nav-link-burs:focus {
  background: rgba(0,0,0,.28) !important;
}

.mobile-offcanvas .mobile-burs-link {
  gap: .5rem;
  color: var(--primary) !important;
  font-weight: 800;
}

/* Sayfa */
.burs-page {
  padding: 72px 0 96px;
  background: #fff;
}

.burs-intro,
.burs-kontrol {
  height: 100%;
  background: #fff;
  border: 1px solid #e4e8ed;
  box-shadow: 0 12px 34px rgba(20,27,37,.04);
}

.burs-intro { padding: 2.2rem; }

.burs-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  background: #fdf2f2;
  color: #9f1d22;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.burs-intro h2 {
  margin: 0 0 .75rem;
  font-size: 2.2rem;
  font-weight: 850;
  color: #111827;
  letter-spacing: -.03em;
}

.burs-intro p {
  font-size: .96rem;
  line-height: 1.8;
  color: #697586;
  margin-bottom: .6rem;
}

.burs-page em {
  color: #9f1d22;
  font-style: normal;
  font-weight: 800;
}





.burs-kontrol h3 {
  margin: 0;
  padding: 1rem 1.2rem;
  background: #9f1d22;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.burs-kontrol ul {
  list-style: none;
  margin: 0;
  padding: 1.2rem 1.4rem;
}

.burs-kontrol li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .75rem;
  font-size: .92rem;
  line-height: 1.65;
  color: #4b5563;
}

.burs-kontrol li:last-child { margin-bottom: 0; }

.burs-kontrol li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: .05rem;
  color: #9f1d22;
  font-size: 1.05rem;
}

.burs-kontrol strong { color: #111827; }

/* Form kutusu */
.burs-form-box {
  padding: 2.2rem;
  background: #fff;
  border: 1px solid #e4e8ed;
  box-shadow: 0 12px 34px rgba(20,27,37,.04);
}

.burs-bolum {
  scroll-margin-top: 180px;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px dashed #dfe4ea;
}

.burs-bolum-baslik {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.4rem;
}

.burs-bolum-baslik > span {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #9f1d22;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
}

.burs-bolum-baslik h3 {
  margin: .35rem 0 0;
  font-size: 1.3rem;
  font-weight: 850;
  color: #111827;
  letter-spacing: -.02em;
}

.burs-bolum-baslik p {
  margin: .35rem 0 0;
  font-size: .9rem;
  line-height: 1.7;
  color: #697586;
}

.burs-grup-baslik {
  margin: 1.8rem 0 1rem;
  padding: .7rem 1rem;
  background: #fbf3f3;
  border-left: 3px solid #9f1d22;
  color: #111827;
  font-size: .9rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.burs-not {
  margin: -.4rem 0 1rem;
  font-size: .88rem;
  color: #697586;
}

/* Alanlar */
.burs-form-box label,
.burs-etiket {
  display: block;
  margin-bottom: .45rem;
  font-size: .86rem;
  font-weight: 800;
  color: #111827;
}

.burs-form-box input[type="text"],
.burs-form-box input[type="tel"],
.burs-form-box input[type="email"],
.burs-form-box input[type="date"],
.burs-form-box textarea {
  width: 100%;
  height: 50px;
  border: 1px solid #d9dfe6;
  background: #fff;
  outline: none;
  color: #111827;
  font-size: .92rem;
  font-weight: 600;
  padding: 0 1rem;
  transition: .2s ease;
}

.burs-form-box textarea {
  height: auto;
  padding-top: 1rem;
  resize: vertical;
}

.burs-form-box input:focus,
.burs-form-box textarea:focus { border-color: #9f1d22; }

.burs-form-box input:disabled { background: #f6f7f9; }

.burs-alan[hidden] { display: none !important; }

.burs-alan.hatali input,
.burs-alan.hatali textarea,
.burs-alan.hatali .burs-secenek span,
.burs-alan.hatali .burs-ulke-btn,
.burs-belge.hatali,
.gonullu-kvkk.hatali {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220,53,69,.12);
}

.burs-tutar {
  position: relative;
}

.burs-tutar input { padding-right: 3.2rem !important; }

.burs-tutar span {
  position: absolute;
  right: 0;
  top: 0;
  height: 50px;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #d9dfe6;
  color: #697586;
  font-size: .82rem;
  font-weight: 800;
}

.burs-ipucu {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: #8a94a0;
}

/* Basit seçim menüsü (Sınıf): ülke seçiciyle aynı görünüm */
.burs-gizli-select {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.burs-secim .burs-ulke-btn.bos b {
  color: #8a94a0;
  font-weight: 600;
}

.burs-secim .burs-ulke-menu { width: 100%; min-width: 180px; }

.burs-ulke-menu li.secili {
  background: #fff4f4;
  color: #9f1d22;
}

.burs-ulke-menu li.secili::after {
  content: "\F26E";
  font-family: "bootstrap-icons";
  margin-left: auto;
}

/* Ülke seçici (uyruk ve telefon kodu) */
.burs-ulke { position: relative; }

.burs-ulke-btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1rem;
  border: 1px solid #d9dfe6;
  background: #fff;
  color: #111827;
  font-size: .92rem;
  text-align: left;
  transition: .2s ease;
}

.burs-ulke-btn b {
  flex: 1;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.burs-ulke-btn i {
  color: #697586;
  font-size: .8rem;
  transition: transform .2s ease;
}

.burs-ulke.acik .burs-ulke-btn { border-color: #9f1d22; }
.burs-ulke.acik .burs-ulke-btn i { transform: rotate(180deg); }

.burs-ulke .fi {
  width: 1.35em;
  min-width: 1.35em;
  line-height: 1em;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.burs-ulke-menu {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid #e4e8ed;
  box-shadow: 0 18px 46px rgba(23,32,42,.14);
}

.burs-ulke[data-tip="ulke"] .burs-ulke-menu { width: 100%; min-width: 260px; }

.burs-ulke.acik .burs-ulke-menu { display: block; }

.burs-ulke-ara {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1rem;
  border-bottom: 1px solid #eef1f4;
}

.burs-ulke-ara i { color: #8a94a0; }

.burs-form-box .burs-ulke-ara input[type="text"] {
  height: 48px;
  border: 0;
  padding: 0;
}

.burs-ulke-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
}

.burs-ulke-menu li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .62rem 1rem;
  font-size: .9rem;
  font-weight: 650;
  color: #111827;
  cursor: pointer;
}

.burs-ulke-menu li + li { border-top: 1px solid #eef1f4; }

.burs-ulke-menu li[hidden] { display: none; }

.burs-ulke-menu li:hover { background: #fdf2f2; color: #9f1d22; }

.burs-ulke-ad { flex: 1; }

.burs-ulke-kod {
  color: #8a94a0;
  font-weight: 700;
}

/* Telefon: ülke kodu + numara */
.burs-tel {
  display: flex;
}

.burs-tel .burs-ulke { flex: 0 0 auto; }

.burs-tel .burs-ulke-btn {
  width: auto;
  min-width: 112px;
  background: #f7f8fa;
  border-right: 0;
}

.burs-tel .burs-ulke-btn b { flex: none; }

.burs-tel .burs-tel-no {
  flex: 1;
  min-width: 0;
}

/* Seçim (radio) kartları */
.burs-secenekler {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.burs-form-box label.burs-secenek {
  margin: 0;
  cursor: pointer;
  font-weight: inherit;
}

.burs-secenek input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burs-secenek span {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 1rem;
  border: 1px solid #dde3ea;
  background: #fff;
  color: #111827;
  font-size: .9rem;
  font-weight: 650;
  transition: .2s ease;
}

.burs-secenek span i {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d6dce4;
  color: transparent;
  font-size: 11px;
  transition: .18s ease;
}

.burs-secenek:hover span {
  border-color: #9f1d22;
  background: #fffafa;
}

.burs-secenek input:checked + span {
  border-color: #9f1d22;
  background: #fff4f4;
}

.burs-secenek input:checked + span i {
  background: #9f1d22;
  border-color: #9f1d22;
  color: #fff;
}

.burs-secenek input:focus-visible + span { outline: 2px solid #9f1d22; outline-offset: 2px; }

/* Aile bireyleri */
.burs-aile {
  border: 1px solid #e4e8ed;
}

.burs-aile-baslik,
.burs-aile-satir {
  display: grid;
  grid-template-columns: 2fr .6fr 1.3fr 1.3fr 1fr 1fr 44px;
}

.burs-aile-baslik {
  background: #f7f8fa;
  border-bottom: 1px solid #e4e8ed;
}

.burs-aile-baslik span {
  padding: .7rem .75rem;
  font-size: .78rem;
  font-weight: 800;
  color: #111827;
}

.burs-aile-satir { border-bottom: 1px solid #eef1f4; }

.burs-form-box .burs-aile-satir input[type="text"] {
  height: 46px;
  border: 0;
  border-right: 1px solid #eef1f4;
  padding: 0 .75rem;
}

.burs-aile-sil {
  border: 0;
  background: #fff;
  color: #9aa4af;
  transition: .2s ease;
}

.burs-aile-sil:hover { color: #9f1d22; background: #fdf2f2; }

.burs-aile-ekle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: .75rem;
  padding: .55rem 1rem;
  border: 1px dashed #9f1d22;
  background: #fff;
  color: #9f1d22;
  font-size: .86rem;
  font-weight: 800;
  transition: .2s ease;
}

.burs-aile-ekle:hover { background: #fdf2f2; }

/* Belgeler */
.burs-form-box label.burs-belge {
  position: relative;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  border: 1px dashed #cfd6de;
  background: #fafbfc;
  cursor: pointer;
  transition: .2s ease;
}

.burs-belge input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.burs-belge-ikon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdf2f2;
  color: #9f1d22;
  font-size: 1.25rem;
}

.burs-belge-metin strong {
  display: block;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.45;
  color: #111827;
}

.burs-belge-metin small {
  display: block;
  margin-top: .2rem;
  font-size: .8rem;
  font-weight: 600;
  color: #8a94a0;
  word-break: break-all;
}

.burs-form-box label.burs-belge:hover { border-color: #9f1d22; background: #fffafa; }

.burs-form-box label.burs-belge.secili {
  border-style: solid;
  border-color: #9f1d22;
  background: #fff4f4;
}

.burs-belge.secili .burs-belge-ikon { background: #9f1d22; color: #fff; }
.burs-belge.secili small { color: #9f1d22; }

/* Beyan */
.burs-beyanlar {
  display: grid;
  gap: .9rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid #e4e8ed;
  background: #fafbfc;
}

.burs-form-box label.gonullu-kvkk {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  font-weight: 600;
  color: #4b5563;
  text-align: justify;
  cursor: pointer;
}

.burs-form-box label.gonullu-kvkk input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: .2rem;
  accent-color: #9f1d22;
}

/* Önemli notlar */
.burs-notlar {
  border: 1px solid #e4e8ed;
}

.burs-notlar h4 {
  margin: 0;
  padding: .9rem 1.2rem;
  background: #17202a;
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.burs-notlar ul {
  margin: 0;
  padding: 1.1rem 1.4rem 1.1rem 2.6rem;
}

.burs-notlar li {
  margin-bottom: .45rem;
  font-size: .9rem;
  line-height: 1.7;
  color: #697586;
}

.burs-zorunlu-bilgi {
  font-size: .88rem;
  color: #697586;
}

.burs-form-box .btn-main:disabled { opacity: .65; }

@media (max-width: 991px) {
  .burs-aile-baslik { display: none; }
  .burs-aile-satir {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: .5rem;
    border-bottom: 1px solid #e4e8ed;
  }
  .burs-aile-satir input[type="text"]:first-child { grid-column: 1 / -1; }
  .burs-form-box .burs-aile-satir input[type="text"] {
    border: 1px solid #eef1f4;
    margin: .2rem;
    width: calc(100% - .4rem);
  }
  .burs-aile-sil { grid-column: 1 / -1; height: 38px; }
}

@media (max-width: 767px) {
  .burs-page { padding: 52px 0; }
  .burs-intro, .burs-form-box { padding: 1.35rem; }
  .burs-intro h2 { font-size: 1.8rem; }
  .burs-secenek { flex: 1 1 calc(50% - .5rem); }
  .burs-secenek span { width: 100%; }
}

/* Başvuru alımı kapalı: açıklama kutusu ve kilitli form */
.burs-kapali-bildirim {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: #fbf3f3;
  border: 1px solid #f0d6d7;
  border-left: 4px solid #9f1d22;
}

.burs-kapali-ikon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9f1d22;
  color: #fff;
  font-size: 1.35rem;
}

.burs-kapali-bildirim h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.25rem;
  font-weight: 850;
  color: #111827;
}

.burs-kapali-bildirim p {
  margin: 0 0 .5rem;
  font-size: .95rem;
  line-height: 1.75;
  color: #4b5563;
}

.burs-kapali-bildirim p:last-child { margin-bottom: 0; }

.burs-alanlar {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.burs-form-box.burs-kapali .burs-bolum,
.burs-form-box.burs-kapali .burs-notlar {
  opacity: .55;
  filter: grayscale(.35);
}

.burs-form-box.burs-kapali,
.burs-form-box.burs-kapali * {
  cursor: not-allowed !important;
}

.burs-form-box.burs-kapali .btn-main:disabled {
  opacity: .7;
  background: #6b7280;
  border-color: #6b7280;
}

@media (max-width: 767px) {
  .burs-kapali-bildirim { flex-direction: column; padding: 1.25rem; }
}
