/* ============================================================
   AkademikTR Page-Specific Styles — pages.css
   Breadcrumb, Hero, İlan Detay, Akademik Kadro, FAQ, vb.
   ============================================================ */

/* ==================== POST MAIN ==================== */
.post-main {
  margin-top: 4px;
}

/* ==================== SMALL HELPERS ==================== */
/* Source tag variant */
.detail-tag--source {
  font-weight: var(--font-weight-semi);
}

.detail-tag--source i {
  color: #64748b;
  font-size: 11px;
}

/* Deadline */
.detail-deadline {
  text-align: right;
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  white-space: nowrap;
}

.detail-deadline time {
  font-weight: var(--font-weight-bold);
  color: var(--danger);
}

/* Similar jobs empty state */
.similar-jobs-empty {
  font-size: 13px;
  color: var(--text-subtle);
  margin: 0;
}

/* ==================== HERO ==================== */
.hero {
  background-color: var(--bg-off);
  padding: 100px 20px 64px;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  font-weight: var(--font-weight-black);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: var(--font-weight-semi);
  margin: 0 auto var(--space-8);
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 48px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }
}

/* ==================== BREADCRUMB NAV ==================== */
.breadcrumb-nav {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin-top: 15px;
  overflow: hidden;
  white-space: nowrap;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-base);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-nav .breadcrumb-sep {
  margin: 0 6px;
  color: var(--border-dark);
  font-size: 10px;
}

.breadcrumb-nav strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.desktop-breadcrumb {
  display: flex;
}

.mobile-breadcrumb {
  display: none;
}

/* ==================== İLAN DETAY LAYOUT ==================== */
.detail-container {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 12px;
  margin-top: var(--space-4);
  align-items: start;
}

.detail-container .layout-sidebar {
  width: 100%;
}

@media (max-width: 992px) {
  .detail-container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ==================== İLAN DETAY PANEL ==================== */
.detail-main {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-bottom: 2px solid var(--border-dark);
  border-radius: 6px;
  padding: var(--space-6);
  min-width: 0;
  box-shadow: var(--shadow-sm);
}

/* Sticky header inside detail panel */
.detail-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-3);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg-white);
  padding: var(--space-4) 0 0 0;
  margin: calc(-1 * var(--space-4)) 0 0 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.detail-title-wrapper {
  flex: 1;
  min-width: 0;
}

/* İlan başlığı */
.detail-title-new {
  font-size: 27px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Üniversite adı */
.detail-subtitle {
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--text-muted);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

/* Action buttons (desktop) */
.detail-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Share + Kaydet icon button */
.detail-action-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: transparent;
  transition: all var(--transition-base);
}

.detail-action-icon:hover {
  background: var(--primary-light);
}

/* Kaydet button */
.btn-detail-outline {
  padding: 0 20px;
  height: 40px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: var(--font-weight-semi);
  font-size: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.btn-detail-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* Başvur button */
.btn-detail-solid {
  padding: 0 28px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-weight: 500;
  font-size: 14.5px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--primary-dark);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  user-select: none;
}

.btn-detail-solid:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--primary-dark);
}

.btn-detail-solid:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--primary-dark);
}

/* Subtitle row (üniversite adı + mobile share) */
.detail-subtitle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-3);
}

/* Meta row (tags + deadline) */
.detail-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 18px;
  gap: var(--space-3);
}

/* Tags */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.detail-tag {
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}

/* Deadline */
.detail-deadline {
  text-align: right;
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  white-space: nowrap;
}

.detail-deadline time {
  font-weight: var(--font-weight-bold);
  color: var(--danger);
}

/* ==================== ALARM KUTUSU ==================== */
.detail-alert-box {
  background: var(--bg-surface);
  border-radius: 6px;
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.alert-box-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alert-box-title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
}

.alert-box-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.alert-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==================== İÇERİK ALANI ==================== */
.dynamic-content-wrapper {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.dynamic-content-wrapper p,
.dynamic-content-wrapper li {
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: var(--space-5);
  color: rgb(0, 0, 0);
  letter-spacing: 0.1px;
}

.dynamic-content-wrapper ul,
.dynamic-content-wrapper ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
  list-style: revert;
}

.dynamic-content-wrapper li {
  margin-bottom: var(--space-2);
}

.dynamic-content-wrapper p:last-child,
.dynamic-content-wrapper ul:last-child,
.dynamic-content-wrapper ol:last-child {
  margin-bottom: 0;
}

.dynamic-content-wrapper h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.375em;
  color: rgb(0, 0, 0);
  margin: var(--space-5) 0 var(--space-5);
}

.dynamic-content-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.375em;
  color: rgb(0, 0, 0);
  margin: var(--space-5) 0 var(--space-5);
}

.dynamic-content-wrapper a {
  color: #3F51B5;
  text-decoration: underline;
  font-weight: var(--font-weight-semi);
}

.dynamic-content-wrapper a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ==================== DETAY SECTION ==================== */
.detail-section {
  margin-top: var(--space-6);
  border-top: 1px dashed var(--border-light);
  padding-top: var(--space-6);
}

/* ==================== AKADEMİK KADRO BÖLÜMÜ ==================== */
/* 
  Bu sınıflar post.php'de kullanılıyordu ama hiçbir CSS dosyasında 
  tanımlı değildi! Şimdi tam ve profesyonel olarak ekleniyor.
*/
.akademik-kadro-section {
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
}

.akademik-kadro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.akademik-kadro-header h2 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.akademik-kadro-header h2 i {
  color: var(--primary);
  background: rgba(69, 69, 161, 0.1);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.akademik-kadro-count {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(69, 69, 161, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

/* ==================== KADRO TABLOSU (PREMIUM CORPORATE) ==================== */
.gt-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  margin-top: var(--space-2);
  overflow: hidden;
}

.google-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.google-table th {
  background-color: #f8fafc;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  /* Büyük harf zorlaması kaldırıldı */
  letter-spacing: 0.2px;
  padding: 14px 20px;
  border-bottom: 1.5px solid #e2e8f0;
}

.google-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.google-table tbody tr:last-child td {
  border-bottom: none;
}

.google-table tbody tr:hover td {
  background-color: #f8fafc;
}


.gt-dept {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  width: 32%;
  transition: color 0.15s ease;
}

.gt-dept mark.txt-highlight,
.gt-title mark.txt-highlight,
.gt-req mark.txt-highlight {
  background: #fef3c7;
  color: #92400e;
  border-radius: 4px;
  padding: 1px 4px;
}

.gt-title {
  width: 28%;
}

.gt-title-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
}

.gt-quota-sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-top: 3px;
}

.gt-req {
  width: 40%;
  font-size: 15px;
  color: #475569;
  line-height: 1.55;
}

.gt-req-label {
  display: none;
  /* Only show on mobile */
  font-weight: 500;
  color: var(--text-main);
  margin-right: 6px;
}

/* --- MOBILE RESPONSIVE TABLE (CARD LAYOUT) --- */
@media (max-width: 768px) {
  .gt-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .google-table {
    display: block !important;
    width: 100% !important;
  }

  .google-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .google-table thead {
    display: none;
    /* Hide headers on mobile */
  }

  .google-table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }

  .google-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .google-table tbody tr:hover td {
    background-color: transparent;
    /* Disable hover on mobile */
  }

  .google-table td {
    display: block;
    width: 100% !important;
    padding: 0;
    border: none;
  }

  .gt-dept {
    font-size: 15.5px;
    margin-bottom: 10px;
  }

  .gt-title {
    margin-bottom: 12px;
  }

  .gt-req {
    padding-top: 12px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 15.5px;
  }

  .gt-req-label {
    display: inline;
    font-size: 15.5px;
  }
}

.text-center {
  text-align: center !important;
}

/* ==================== EDİTÖR BİLGİ KUTUSU ==================== */
.editor-info-box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--bg-off);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm, 6px);
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.editor-avatar-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.editor-text-content {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==================== PAYLAŞIM DROPDOWN ==================== */
.share-dropdown-wrapper {
  position: relative;
}

.share-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  z-index: var(--z-dropdown);
  display: none;
  flex-direction: column;
  padding: 6px;
}

.share-dropdown-menu.active {
  display: flex;
}

.share-dropdown-item {
  padding: 9px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--transition-fast);
  cursor: pointer;
  border-radius: var(--radius-xs);
}

.share-dropdown-item:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.share-dropdown-item i {
  font-size: 17px;
  width: 22px;
  text-align: center;
}

/* Mobile-only share button */
.mobile-only-share {
  display: none !important;
}

/* ==================== SİDEBAR: Benzer İlanlar ==================== */
.similar-jobs-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.similar-jobs-title {
  font-size: 16px;
  font-weight: var(--font-weight-semi);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.similar-job-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid var(--bg-off);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.similar-job-item:hover {
  background: var(--bg-surface);
}

.similar-job-item:last-child {
  border-bottom: none;
}

.similar-job-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-surface);
  padding: 2px;
}

.similar-guide-thumb {
  width: 72px !important;
  height: 48px !important;
  object-fit: cover !important;
  padding: 0 !important;
}

.similar-job-title-text {
  font-size: 13.5px;
  font-weight: var(--font-weight-medium);
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
  transition: color var(--transition-base);
}

.similar-job-item:hover .similar-job-title-text {
  color: var(--primary);
}

/* ==================== TOGGLE SWITCH ==================== */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-dark);
  transition: var(--transition-base);
  border-radius: 28px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-base);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

input:checked+.slider {
  background-color: var(--primary);
}

input:checked+.slider::before {
  transform: translateX(24px);
}

/* ==================== FAQ ==================== */
.faq-minimal {
  margin-top: var(--space-10);
}

.faq-minimal .faq-title {
  font-size: 20px;
  font-weight: var(--font-weight-extra);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-minimal .faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-minimal .faq-item:last-child {
  border-bottom: none;
}

.faq-minimal .faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-base);
  text-align: left;
  gap: var(--space-3);
  font-family: var(--font-sans);
}

.faq-minimal .faq-btn:focus {
  outline: none;
}

.faq-minimal .faq-icon {
  color: var(--text-subtle);
  transition: transform var(--transition-base);
  font-size: 13px;
  flex-shrink: 0;
}

.faq-minimal .faq-item.active .faq-btn {
  color: var(--primary);
}

.faq-minimal .faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-minimal .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-minimal .faq-content-inner,
.faq-minimal .faq-content-inner p,
.faq-minimal .faq-content-inner li {
  padding-bottom: var(--space-5);
  color: var(--text-main);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ==================== PAGE SPACER ==================== */
.page-spacer {
  margin-top: 100px;
}

.detail-spacer {
  margin-top: 110px;
  padding-bottom: var(--space-10);
}

/* ==================== ALARM MODAL ==================== */
.alarm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alarm-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.alarm-modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 440px;
  padding: var(--space-8) var(--space-6) var(--space-6);
  position: relative;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-light);
}

.alarm-modal-overlay.active .alarm-modal-card {
  transform: scale(1);
}

.alarm-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-subtle);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.alarm-modal-close:hover {
  background: var(--bg-off);
  color: var(--text-primary);
}

.alarm-modal-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto var(--space-5);
  position: relative;
  animation: pulse-bell-ring 2s infinite;
}

@keyframes pulse-bell-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(69, 69, 161, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(69, 69, 161, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(69, 69, 161, 0);
  }
}

.alarm-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  font-family: 'Outfit', var(--font-sans);
}

.alarm-modal-body {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  padding: 0 8px;
}

.alarm-modal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.alarm-modal-btn-submit {
  width: 100%;
}

.alarm-modal-btn-cancel {
  width: 100%;
  background: transparent;
  color: var(--text-subtle);
  border: none;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.alarm-modal-btn-cancel:hover {
  color: var(--text-primary);
}

/* Masaüstü içeriğini varsayılan göster, mobilide gizle */
.alarm-desktop-content {
  display: block;
}

.alarm-mobile-content {
  display: none;
}

/* Mobil: 768px altında tersine çevir */
@media (max-width: 768px) {
  .alarm-desktop-content {
    display: none;
  }

  .alarm-mobile-content {
    display: block;
  }

  .alarm-modal-card {
    max-width: 360px;
    padding: 28px 20px 20px;
  }
}

/* ── Google Birincil Butonu (Desktop) ── */
.alarm-modal-btn-google {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: #fff;
  border: 2px solid #4285F4;
  border-radius: 12px;
  padding: 13px 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: left;
  color: #1a1a2e;
}

.alarm-modal-btn-google:hover {
  background: #f0f7ff;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.2);
  transform: translateY(-1px);
}

.alarm-modal-btn-google>i {
  font-size: 22px;
  color: #4285F4;
  flex-shrink: 0;
}

.alarm-modal-btn-google>span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.alarm-modal-btn-google strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}

.alarm-modal-btn-google small {
  font-size: 11.5px;
  color: var(--text-subtle);
  font-weight: 400;
}

/* ── Ayırıcı ── */
.alarm-modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 500;
}

.alarm-modal-divider::before,
.alarm-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* ── Store Rozetleri (Badges) ── */
.alarm-modal-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 12px 0 6px;
  flex-wrap: wrap;
}

.alarm-badge-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.alarm-badge-link:hover {
  transform: translateY(-2px);
}

.alarm-badge-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* Mobil için rozet düzeni */
.alarm-modal-badges--mobile {
  gap: 12px;
}

/* ── İkincil Google Butonu (Mobil) ── */
.alarm-google-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.alarm-google-secondary:hover {
  border-color: #4285F4;
  color: #4285F4;
  background: #f0f7ff;
}

.alarm-google-secondary>i {
  color: #4285F4;
  font-size: 14px;
}

/* ==================== DETAIL APP PROMO CARD ==================== */
.detail-app-promo-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.detail-app-promo-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
}

.app-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.app-promo-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

.app-promo-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

.app-promo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-promo-text {
  min-width: 0;
}

.app-promo-heading {
  font-size: 15.5px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.app-promo-subtext {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.app-promo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Official Store Badges */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff !important;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  min-width: 132px;
  height: 40px;
}

.app-store-badge i {
  font-size: 19px;
  color: #ffffff;
  flex-shrink: 0;
}

.app-store-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.app-store-badge .badge-sub {
  font-size: 8px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.75;
}

.app-store-badge .badge-main {
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.1px;
}

.app-store-badge:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.18);
}

.app-store-badge:active {
  transform: translateY(0);
}

/* Mobile Responsive Layout */
@media (max-width: 768px) {
  .detail-app-promo-card {
    padding: var(--space-4) var(--space-5);
  }

  .app-promo-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .app-promo-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .app-store-badge {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

/* ==================== KURUMSAL ÖZET VE MOBİL TANITIM (AEO) ==================== */
.aeo-summary-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: var(--space-4);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

.aeo-summary-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

.aeo-app-promo {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.aeo-app-promo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  flex: 1;
  min-width: 250px;
}

.aeo-app-promo-text i {
  color: var(--primary);
  font-size: 18px;
}

.aeo-app-promo-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.aeo-app-promo-badges img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.aeo-summary-text {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
  margin: 10px 0 20px 0;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}