.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(8, 40, 92, .055);
  padding: 20px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.panel:hover { border-color: #d8e3f2; box-shadow: 0 14px 34px rgba(8, 40, 92, .075); }
.panel-title, .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: #09265a;
  font-weight: 800;
}
.panel-title a, .section-header a { color: var(--primary); font-size: 13px; font-weight: 700; }
.panel h2, .panel h3 { color: #08285c; font-weight: 850; }
.panel-dark {
  color: white;
  background: linear-gradient(155deg, #082b63, #061d45);
  border-color: #0a3d86;
}
.category-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 8px;
  transition: background .18s ease, transform .18s ease;
}
.category-row:hover { color: #fff; background: rgba(255,255,255,.1); transform: translateX(2px); }
.category-row b {
  min-width: 30px;
  height: 22px;
  padding: 3px 8px;
  text-align: center;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
}
.mini-facts { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 0; }
.mini-facts dt { color: #0b2d66; font-weight: 700; }
.mini-facts dd { margin: 0; color: #0b2d66; text-align: right; }
.mini-facts i { color: var(--primary-dark); margin-right: 8px; }
.status-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: #153365;
  font-weight: 700;
}
.status-row b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}
.suitable-card { background: linear-gradient(160deg, #f6fff8, #fff); }
.profile-signin-card { display: grid; justify-items: center; gap: 10px; text-align: center; }
.profile-signin-card:hover { transform: none; }
.profile-signin-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 24px;
}
.profile-signin-card h3 { margin: 2px 0 0; font-size: 17px; }
.profile-signin-card p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.profile-signin-actions { width: 100%; display: grid; gap: 8px; margin-top: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; vertical-align: middle; }
.success, .event-başvuru-başlangıcı { background: var(--success); }
.warning, .event-fiziki-yeterlilik { background: var(--warning); }
.danger, .event-son-başvuru { background: var(--danger); }
.muted { background: #7d8798; }
.info, .event-evrak-teslimi { background: var(--primary); }
.event-mülakat { background: var(--purple); }
.event-sonuç-açıklama { background: #b51e2e; }

.btn-primary-soft, .btn-primary-wide {
  border: 0;
  background: linear-gradient(180deg, #0d66f2, #004bd1);
  color: white;
  border-radius: 7px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(13,95,232,.25);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn-primary-wide { width: 100%; }
.btn-primary-soft:hover, .btn-primary-wide:hover {
  color: #fff;
  background: linear-gradient(180deg, #1d73f5, #0754d9);
  box-shadow: 0 12px 24px rgba(13,95,232,.28);
  transform: translateY(-1px);
}
.btn-outline-soft, .btn-outline-blue {
  border: 1px solid #cbd8ec;
  background: white;
  color: #08285c;
  border-radius: 7px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-outline-soft { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.55); }
.btn-outline-blue:hover, .btn-mini:hover {
  color: var(--primary);
  background: #f4f8ff;
  border-color: #9fbee9;
  transform: translateY(-1px);
}
.btn-outline-soft:hover {
  color: #fff;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.8);
}
.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcd0ed;
  color: var(--primary);
  border-radius: 6px;
  min-height: 30px;
  padding: 0 12px;
  margin: 2px;
  background: white;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-mini.primary { color: white; background: var(--primary); border-color: var(--primary); }
.btn-mini.primary:hover { color: white; background: #0754d9; border-color: #0754d9; }

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
}
.status-badge.success { color: #07833d; background: #dcf7e8; }
.status-badge.warning { color: #c36d00; background: #fff0ce; }
.status-badge.info { color: #0d5fe8; background: #e5f0ff; }
.status-badge.muted { color: #667085; background: #edf1f6; }

.seal, .big-seal {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #0a3981;
  background: radial-gradient(circle, #fff 0 45%, #e9f1ff 46%);
  border: 1px solid #d9e6f7;
  font-size: 26px;
  font-weight: 900;
}
.seal.small { width: 46px; height: 46px; font-size: 20px; }
.job-row {
  display: grid;
  grid-template-columns: 58px minmax(240px, 1fr) 190px 170px 116px 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--border);
  border-radius: 10px;
  transition: background .16s ease, transform .16s ease;
}
.job-row:hover { background: #f8fbff; transform: translateX(2px); }
.job-main a { display: block; color: #08285c; font-size: 17px; font-weight: 850; }
.job-main a:hover { color: var(--primary); }
.job-main span, .job-date small, .job-main em { display: block; color: var(--text-muted); font-style: normal; }
.job-main em { background: #edf2f8; width: fit-content; border-radius: 7px; padding: 4px 8px; margin-top: 5px; font-size: 12px; }
.job-days { color: var(--danger); font-weight: 800; }
.row-arrow { color: #08285c; font-size: 22px; }
.tabs-line { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; border-bottom: 1px solid var(--border); overflow: visible; margin-bottom: 14px; }
.tabs-line button {
  border: 0;
  background: transparent;
  color: #091f4e;
  font-weight: 800;
  padding: 12px 0;
  border-bottom: 3px solid transparent;
  white-space: normal;
  text-align: left;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.tabs-line button:hover { color: var(--primary); }
.tabs-line button.active { color: var(--primary); border-color: var(--primary); }
.source-warning, .info-box {
  border: 1px solid #cfe0fa;
  background: #f4f9ff;
  color: #29518c;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 18px;
}
.soft-blue { background: linear-gradient(160deg, #eef7ff, #fff); }
.green-chip { background: #dff7e9; color: #07833d; border-radius: 99px; padding: 6px 12px; font-size: 13px; }

.ad-slot {
  display: block;
  width: 100%;
  min-height: 96px;
  margin: 18px 0;
  overflow: hidden;
}
.ad-slot-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #c8d6ea;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  color: #7a8aa3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.right-rail .ad-slot { min-height: 250px; margin-top: 0; }
.news-content + .ad-slot,
.guide-article + .ad-slot,
.tabs-card + .ad-slot { margin-top: 20px; }

.seo-link-panel { margin-top: 18px; }
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.seo-link-grid a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #d9e5f5;
  border-radius: 8px;
  background: #fbfdff;
  color: #08285c;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.seo-link-grid a:hover {
  color: var(--primary);
  border-color: #a9c4eb;
  background: #f5f9ff;
  transform: translateY(-1px);
}
.seo-link-grid i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e9f2ff;
  color: var(--primary);
}
.seo-link-grid strong,
.seo-link-grid span { min-width: 0; }
.seo-link-grid span { display: grid; gap: 2px; font-weight: 850; }
.seo-link-grid small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  padding: 16px 0;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}

.cookie-banner-icon {
  font-size: 1.8rem;
  color: #fbbf24;
  line-height: 1;
  margin-top: 2px;
}

.cookie-banner-text h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.cookie-banner-text p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

.cookie-link {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #7dd3fc;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

/* --- Back To Top Floating Button --- */
#backToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: 0;
  box-shadow: 0 8px 24px rgba(13, 95, 232, 0.35);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

#backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTopBtn:hover {
  background: var(--primary-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 95, 232, 0.45);
}

/* --- Favorite Bookmark Toggle Button --- */
.fav-btn {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fav-btn:hover {
  transform: scale(1.15);
  color: #ef4444;
}

.fav-btn.active {
  color: #ef4444;
}

/* --- Print Styles --- */
@media print {
  .app-header, .app-footer, #cookieConsentBanner, #backToTopBtn, .home-news-card, .ad-slot, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .app-shell, main {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   Modern Footer Newsletter & Links Styling
   ========================================================================== */
.app-footer {
  background: linear-gradient(135deg, #061938 0%, #08285c 50%, #04122c 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
}

.footer-newsletter-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-newsletter-card:hover {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

.newsletter-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.newsletter-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.4);
  flex-shrink: 0;
}

.newsletter-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.newsletter-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.2px;
}

.newsletter-desc {
  color: #b0c4de;
  font-size: 13px;
  margin: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 440px;
  min-width: 280px;
}

.newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 4px 4px 4px 16px;
  transition: all 0.25s ease;
}

.newsletter-input-group:focus-within {
  border-color: #3d8bfd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
  background: rgba(0, 0, 0, 0.35);
}

.newsletter-input-group .input-icon {
  color: #94a3b8;
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}

.newsletter-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  width: 100%;
  padding: 6px 0;
}

.newsletter-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #157347 0%, #198754 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(25, 135, 84, 0.4);
}

.newsletter-submit-btn i {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.newsletter-submit-btn:hover i {
  transform: translateX(3px);
}

.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.footer-trust-strip div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.footer-trust-strip i {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #8ec5ff;
  background: rgba(110, 168, 254, 0.12);
  border-radius: 8px;
}

.footer-trust-strip span {
  color: #dbe6f3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94a3b8;
}

.copyright-text strong {
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 13px;
}

.footer-links a:hover {
  color: #6ea8fe;
  text-decoration: underline;
}
