/* ==========================================================================
   SınavaHazırlık.tr - Gelişmiş Üst Menü (Header) Stilleri
   ========================================================================== */

:root {
  --hdr-primary: #0f766b;
  --hdr-primary-dark: #0a4f47;
  --hdr-primary-deep: #073832;
  --hdr-accent: #f5bd19;
  --hdr-accent-hover: #ffcf33;
  --hdr-text: #ffffff;
  --hdr-text-muted: #d5eee7;
  --hdr-line: rgba(255, 255, 255, 0.16);
  --hdr-surface: #ffffff;
  --hdr-ink: #142823;
  --hdr-ink-muted: #5e7069;
}

/* Sabit Kalan Üst Header (Sticky Header) */
header.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 72px !important;
  padding: 0 clamp(16px, 3.5vw, 44px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  background: var(--hdr-primary) !important;
  border-bottom: 1px solid var(--hdr-line) !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  transition: height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease !important;
}

header.site-header.is-scrolled {
  height: 62px !important;
  background: rgba(12, 86, 78, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 6px 24px rgba(4, 30, 24, 0.22) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Sol Taraf: Logo */
.hdr-brand {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}
.hdr-brand:hover {
  transform: scale(1.02);
}
.hdr-brand img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  max-width: 195px !important;
  object-fit: contain !important;
  transition: height 0.25s ease !important;
}
header.site-header.is-scrolled .hdr-brand img {
  height: 36px !important;
}

/* Orta Arama Alanı (Sınav, ders ve konu arama alanı) */
.hdr-search-wrap {
  position: relative !important;
  flex: 0 1 270px !important;
  min-width: 190px !important;
  margin: 0 4px !important;
}

.hdr-search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 0 36px 0 36px !important;
  transition: all 0.25s ease !important;
}
.hdr-search-box:focus-within {
  background: #ffffff !important;
  border-color: var(--hdr-accent) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22) !important;
}

.hdr-search-box .search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  color: var(--hdr-text-muted) !important;
  pointer-events: none !important;
  transition: color 0.2s ease !important;
}
.hdr-search-box:focus-within .search-icon {
  color: var(--hdr-primary) !important;
}

.hdr-search-input {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}
.hdr-search-box:focus-within .hdr-search-input {
  color: var(--hdr-ink) !important;
}
.hdr-search-input::placeholder {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.2s ease !important;
}
.hdr-search-box:focus-within .hdr-search-input::placeholder {
  color: #8fa099 !important;
}

.hdr-search-clear {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.12) !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.hdr-search-box:focus-within .hdr-search-clear {
  background: #e2ece7 !important;
  color: #445650 !important;
}
.hdr-search-clear:hover {
  background: #d9423d !important;
  color: #fff !important;
}

/* Arama Sonuç Açılır Listesi */
.hdr-search-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: max(100%, 360px) !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(5, 30, 24, 0.28) !important;
  border: 1px solid #dce8e2 !important;
  padding: 8px !important;
  display: none !important;
  z-index: 1050 !important;
  scrollbar-width: thin !important;
}
.hdr-search-dropdown.show {
  display: block !important;
  animation: hdrDropFade 0.2s ease forwards !important;
}
@keyframes hdrDropFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hdr-search-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 9px !important;
  color: var(--hdr-ink) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: background 0.15s ease !important;
}
.hdr-search-item:hover,
.hdr-search-item.active {
  background: #edf6f2 !important;
}
.hdr-search-item-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.hdr-search-item-title {
  font-weight: 700 !important;
  color: var(--hdr-ink) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.hdr-search-item-type {
  font-size: 10.5px !important;
  color: var(--hdr-ink-muted) !important;
}
.hdr-search-badge {
  flex-shrink: 0 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  background: #dff2eb !important;
  color: var(--hdr-primary) !important;
}
.hdr-search-empty {
  padding: 22px 16px !important;
  text-align: center !important;
  color: var(--hdr-ink-muted) !important;
  font-size: 13px !important;
}

/* Navigasyon Menüsü (Desktop) */
.hdr-nav {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hdr-nav-item {
  position: relative !important;
}

.hdr-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 8px 10px !important;
  color: var(--hdr-text-muted) !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}
.hdr-nav-link:hover,
.hdr-nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.hdr-nav-link .chevron {
  width: 13px !important;
  height: 13px !important;
  transition: transform 0.2s ease !important;
  opacity: 0.8 !important;
}
.hdr-nav-item:hover .hdr-nav-link .chevron,
.hdr-nav-item.open .hdr-nav-link .chevron {
  transform: rotate(180deg);
}

/* Etiket Rozetleri (Badges) */
.hdr-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 6px !important;
  border-radius: 8px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}
.hdr-badge-free {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
}
.hdr-badge-ai {
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4) !important;
  animation: hdrPulse 2s infinite !important;
}
@keyframes hdrPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.hdr-nav-link.ai-link {
  color: #ffffff !important;
  background: rgba(245, 189, 25, 0.15) !important;
  border: 1px solid rgba(245, 189, 25, 0.3) !important;
}
.hdr-nav-link.ai-link:hover {
  background: rgba(245, 189, 25, 0.28) !important;
  border-color: var(--hdr-accent) !important;
}

/* Açılır Menüler (Desktop Dropdowns) */
.hdr-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(5, 30, 24, 0.24) !important;
  border: 1px solid #dce8e2 !important;
  padding: 10px !important;
  min-width: 260px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1040 !important;
}
.hdr-nav-item:hover .hdr-dropdown-menu,
.hdr-nav-item.open .hdr-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.hdr-dropdown-menu::before {
  content: "" !important;
  position: absolute !important;
  top: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(45deg) !important;
  width: 12px !important;
  height: 12px !important;
  background: #ffffff !important;
  border-left: 1px solid #dce8e2 !important;
  border-top: 1px solid #dce8e2 !important;
}

.hdr-dd-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  color: var(--hdr-ink) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
}
.hdr-dd-link:hover {
  background: #edf6f2 !important;
  color: var(--hdr-primary) !important;
  transform: translateX(3px) !important;
}
.hdr-dd-link svg {
  width: 17px !important;
  height: 17px !important;
  color: var(--hdr-primary) !important;
  flex-shrink: 0 !important;
}
.hdr-dd-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}
.hdr-dd-text b {
  font-weight: 700 !important;
  font-size: 13px !important;
}
.hdr-dd-text small {
  font-size: 10.5px !important;
  color: var(--hdr-ink-muted) !important;
  font-weight: normal !important;
}

/* Sağ Taraf: Giriş Yap ve Ücretsiz Kayıt Ol Butonları */
.hdr-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.btn-hdr-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  padding: 0 16px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 20px !important;
  background: transparent !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.btn-hdr-login:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.btn-hdr-signup {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 38px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--hdr-accent) !important;
  color: #0d3830 !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(245, 189, 25, 0.35) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.btn-hdr-signup:hover {
  background: var(--hdr-accent-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(245, 189, 25, 0.45) !important;
  color: #072a24 !important;
}
.btn-hdr-signup svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.5 !important;
}

/* Mobil Hamburger ve Hızlı Arama Butonları */
.hdr-mobile-actions {
  display: none !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.hdr-search-mobile-btn {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.hdr-search-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}
.hdr-search-mobile-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.hdr-mobile-toggle {
  display: flex !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  z-index: 1010 !important;
}
.hdr-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

.hdr-mobile-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background: #ffffff !important;
  border-radius: 2px !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.hdr-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
.hdr-mobile-toggle.open span:nth-child(2) {
  opacity: 0 !important;
}
.hdr-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* Mobil Açılır Menü Çekmecesi (Mobile Drawer) */
.hdr-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(4, 22, 18, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 1998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}
.hdr-drawer-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.hdr-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(390px, 88vw) !important;
  background: var(--hdr-primary-dark) !important;
  color: #ffffff !important;
  z-index: 1999 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}
.hdr-mobile-drawer.active {
  transform: translateX(0) !important;
}

/* Çekmece Üst Başlık */
.hdr-drawer-head {
  padding: 16px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(0, 0, 0, 0.1) !important;
}
.hdr-drawer-head .hdr-brand img {
  height: 34px !important;
}
.hdr-drawer-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.hdr-drawer-close:hover {
  background: #d9423d !important;
}

/* Çekmece Arama Alanı */
.hdr-drawer-search {
  padding: 16px 20px 8px !important;
}
.hdr-drawer-search .hdr-search-box {
  background: rgba(255, 255, 255, 0.14) !important;
  height: 42px !important;
}
.hdr-drawer-search .hdr-search-input {
  font-size: 13.5px !important;
}

/* Çekmece Menü Listesi */
.hdr-drawer-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 10px 14px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.hdr-drawer-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.15s ease !important;
}
.hdr-drawer-link:hover,
.hdr-drawer-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
}
.hdr-drawer-link-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.hdr-drawer-link-title svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--hdr-accent) !important;
}

/* Akordiyon Alt Menü */
.hdr-drawer-accordion {
  border-radius: 10px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.08) !important;
}
.hdr-drawer-acc-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-align: left !important;
}
.hdr-drawer-acc-btn .chevron {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.25s ease !important;
}
.hdr-drawer-accordion.open .hdr-drawer-acc-btn .chevron {
  transform: rotate(180deg) !important;
}
.hdr-drawer-sublist {
  display: none !important;
  padding: 0 10px 10px 24px !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.hdr-drawer-accordion.open .hdr-drawer-sublist {
  display: flex !important;
}
.hdr-drawer-sublink {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  color: var(--hdr-text-muted) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}
.hdr-drawer-sublink:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Çekmece Alt Butonlar */
.hdr-drawer-footer {
  padding: 16px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.hdr-drawer-footer .btn-hdr-login,
.hdr-drawer-footer .btn-hdr-signup {
  width: 100% !important;
  height: 44px !important;
  font-size: 14px !important;
}

/* ==========================================================================
   Responsive Ayarları (Farklı Ekran Boyutları)
   ========================================================================== */
@media (max-width: 1360px) {
  .hdr-nav-link {
    padding: 6px 7px !important;
    font-size: 11.5px !important;
  }
  .hdr-search-wrap {
    flex: 0 1 180px !important;
    min-width: 140px !important;
  }
  .btn-hdr-signup {
    padding: 0 14px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 1240px) {
  .hdr-nav,
  .hdr-search-wrap,
  .hdr-actions {
    display: none !important;
  }
  .hdr-mobile-actions {
    display: flex !important;
  }
  header.site-header {
    height: 64px !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 480px) {
  header.site-header {
    height: 60px !important;
    padding: 0 14px !important;
  }
  .hdr-brand img {
    height: 34px !important;
    max-width: 155px !important;
  }
}


/* ==========================================================================
   Yapay Zekâ Öğretmen ve Çıkmış Sorular Modalleri
   ========================================================================== */
.site-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(4, 25, 20, 0.72) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  z-index: 2100 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}
.site-modal.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.site-modal-content {
  background: #ffffff !important;
  color: #162621 !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 620px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 28px !important;
  position: relative !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(16px) scale(0.97) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.site-modal.show .site-modal-content {
  transform: translateY(0) scale(1) !important;
}

.site-modal-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e2ede7 !important;
}
.site-modal-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.site-modal-title h3 {
  margin: 0 !important;
  font: 800 21px/1.2 Manrope, sans-serif !important;
  color: #0d3830 !important;
}
.site-modal-head p {
  margin: 4px 0 0 !important;
  font-size: 12.5px !important;
  color: #60736c !important;
}

.site-modal-close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #edf5f1 !important;
  border: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #3f554d !important;
  font-size: 18px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  flex-shrink: 0 !important;
}
.site-modal-close:hover {
  background: #d9423d !important;
  color: #ffffff !important;
}

/* AI Soru Kutusu */
.ai-prompt-box {
  background: #f4f9f6 !important;
  border: 1px solid #d8e8df !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 18px !important;
}
.ai-input-wrap {
  display: flex !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.ai-input-wrap input {
  flex: 1 !important;
  height: 42px !important;
  border: 1px solid #ccdcd2 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  background: #fff !important;
}
.ai-input-wrap input:focus {
  border-color: #0f766b !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 107, 0.15) !important;
}
.ai-input-wrap button {
  height: 42px !important;
  padding: 0 18px !important;
  background: #0f766b !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.ai-input-wrap button:hover {
  background: #09574e !important;
}

.ai-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 10px !important;
}
.ai-chip {
  background: #ffffff !important;
  border: 1px solid #d4e5dc !important;
  padding: 5px 10px !important;
  border-radius: 15px !important;
  font-size: 11.5px !important;
  color: #174d41 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}
.ai-chip:hover {
  background: #0f766b !important;
  color: #fff !important;
  border-color: #0f766b !important;
}

.ai-answer-card {
  display: none;
  background: #ffffff !important;
  border: 1px solid #cce4d8 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-top: 14px !important;
  border-left: 4px solid #0f766b !important;
  animation: hdrDropFade 0.25s ease !important;
}
.ai-answer-card.show {
  display: block !important;
}
.ai-answer-card h4 {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  color: #0f766b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.ai-answer-card p {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #344841 !important;
}

/* Çıkmış Sorular Grid */
.past-exams-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
@media (max-width: 540px) {
  .past-exams-grid {
    grid-template-columns: 1fr !important;
  }
}
.past-exam-card {
  padding: 16px !important;
  border: 1px solid #dce8e1 !important;
  border-radius: 12px !important;
  background: #fbfdfc !important;
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}
.past-exam-card:hover {
  border-color: #0f766b !important;
  background: #edf7f3 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 118, 107, 0.12) !important;
}
.past-exam-card b {
  font-size: 15px !important;
  color: #0c3d34 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.past-exam-card span {
  font-size: 11.5px !important;
  color: #64766f !important;
  line-height: 1.5 !important;
}
.past-exam-card small {
  color: #0f766b !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  margin-top: 4px !important;
}
