:root {
  --bg: #f4f8ff;
  --bg-card: #ffffff;
  --primary: #1e3a5f;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 40px -12px rgba(30, 58, 95, 0.15);
  --radius: 14px;
  --radius-pill: 999px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 45%, #fff 100%);
  min-height: 100vh;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

/* Kısa sayfalarda footer ekranın altına yapışır */
main {
  flex: 1 0 auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Yönetici → kullanıcı görüntüleme modu */
.impersonation-banner {
  background: linear-gradient(105deg, #431407 0%, #7c2d12 42%, #9a3412 100%);
  color: #fff7ed;
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 6px 20px rgba(124, 45, 18, 0.25);
  z-index: 45;
}
.impersonation-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.65rem 0;
  max-width: 1100px;
  margin: 0 auto;
  width: min(1180px, 92vw);
}
.impersonation-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  flex: 1;
  min-width: min(100%, 280px);
}
.impersonation-banner__text strong {
  color: #fff;
}
.impersonation-banner__muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  opacity: 0.88;
  font-weight: 500;
}
.impersonation-banner__form {
  margin: 0;
  flex-shrink: 0;
}
.impersonation-banner__btn {
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.45rem 1rem;
  background: #fff !important;
  color: #7c2d12 !important;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.impersonation-banner__btn:hover {
  filter: brightness(0.96);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.site-header__tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  max-width: 280px;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo.logo--image {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  font-size: 0;
}

.site-logo-img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.site-logo-img--vertical {
  height: 3rem;
  max-height: 52px;
  max-width: min(100px, 28vw);
}

.site-logo--show-desktop {
  display: block;
}

.site-logo--show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .site-logo--show-desktop {
    display: none !important;
  }
  .site-logo--show-mobile {
    display: block !important;
  }
}

.nav-main {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-main a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover {
  color: var(--accent);
}
.nav-main a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px -8px rgba(30, 58, 95, 0.45);
}
.btn-block {
  width: 100%;
}
.btn-ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  position: relative;
}

.hero--with-bg {
  padding-top: 4rem;
  padding-bottom: 2.75rem;
  border-radius: var(--radius);
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 1rem;
}

.hero .lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.search-pill {
  display: flex;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.search-pill input {
  flex: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  outline: none;
}
.search-pill button {
  margin: 0.35rem;
  padding: 0.65rem 1.5rem;
}

.stats-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.stat-card {
  background: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  text-align: center;
}
.stat-card .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.section {
  padding: 3rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head .eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.section-head .rule {
  width: 48px;
  height: 4px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(30, 58, 95, 0.25);
}

.card-img {
  height: 160px;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}
.badge-today {
  background: #0ea5e9;
}
.badge-soon {
  background: var(--primary);
}
.badge-live {
  background: #16a34a;
}
.badge-past {
  background: var(--muted);
}

.card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}
.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}
.card-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.card-loc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.page-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.page-hero p {
  color: var(--muted);
  margin: 0;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.filters-bar .input,
.input,
select.input {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  min-width: 160px;
}
.filters-bar form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.count-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer {
  flex-shrink: 0;
  margin-top: 2rem;
  padding: 0.75rem 0;
  background: #e8ecf2;
  border-top: 1px solid var(--border);
}

.footer-minimal {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.footer-minimal__copy {
  margin: 0;
}

.footer-minimal-notice {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-minimal-notice__text {
  margin: 0;
  max-width: 52rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.features-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}
.feature-card h3 {
  margin: 0.75rem 0 0.5rem;
  color: var(--primary);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Giriş / kayıt: tek renk gövde — header/main/footer arasında gradient şerit kalmaz */
body.body--auth {
  background: #eef2f7;
}

body.body--auth main.main--auth {
  margin: 0;
  padding: 0;
  /* Bazı tarayıcılarda header altı saç teli boşluğu */
  margin-top: -1px;
  padding-top: 1px;
  box-sizing: border-box;
}

/* Giriş / kayıt: main, header–footer arasındaki boşluğu doldurur */
main.main--auth {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

/* Auth: footer doğrudan main altına; üstteki 4rem boşluk yok */
body.body--auth main.main--auth ~ .site-footer {
  margin-top: 0;
}

/* Giriş / kayıt — çerçeveli kart düzeni */
.auth-shell {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: clamp(1rem, 3.5vw, 2.25rem);
  box-sizing: border-box;
}

.auth-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  width: 100%;
  max-width: min(1024px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 64px -28px rgba(30, 58, 95, 0.35);
}

.auth-aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  color: #fff;
  background: linear-gradient(155deg, #0c1929 0%, #153e7a 42%, #1d4ed8 88%);
  min-height: 100%;
}

.auth-aside--register {
  background: linear-gradient(155deg, #0f172a 0%, #134e4a 38%, #0d9488 72%, #1e3a8a 100%);
}

.auth-aside__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(56, 189, 248, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 50%);
}

.auth-aside--register .auth-aside__pattern {
  background:
    radial-gradient(ellipse 85% 65% at 95% 90%, rgba(45, 212, 191, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 15%, rgba(129, 140, 248, 0.22) 0%, transparent 48%);
}

.auth-aside__back {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s, border-color 0.2s;
}

.auth-aside__back:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.auth-aside__back-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.auth-aside__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 22rem;
}

.auth-aside__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.auth-aside__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.auth-aside__lead {
  margin: 0 0 1.1rem;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
}

.auth-aside__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.84rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
}

.auth-aside__list li {
  margin-bottom: 0.5rem;
}

.auth-aside__list li::marker {
  color: #93c5fd;
}

.auth-aside--register .auth-aside__list li::marker {
  color: #5eead4;
}

.auth-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.35rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem);
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  box-sizing: border-box;
  min-height: 100%;
}

.auth-card--register {
  max-width: 440px;
}

@media (max-width: 900px) {
  .auth-frame {
    grid-template-columns: 1fr;
    border-radius: 18px;
    max-width: 440px;
    margin: 0 auto;
  }

  .auth-frame--register {
    max-width: 480px;
  }

  .auth-aside {
    padding-bottom: 1.65rem;
    order: 0;
  }

  .auth-aside__content {
    justify-content: flex-start;
    max-width: none;
  }

  .auth-panel {
    order: 1;
    padding-top: 0.25rem;
  }
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.35rem, 4vw, 2rem);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 20px 50px -20px rgba(30, 58, 95, 0.18);
  overflow-x: hidden;
  box-sizing: border-box;
  text-align: left;
}

.auth-card__inner.auth-card__inner--tight {
  padding: clamp(1.25rem, 3.2vw, 1.9rem) clamp(1.1rem, 3vw, 1.65rem);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05), 0 14px 36px -20px rgba(30, 58, 95, 0.18);
}

.auth-card__heading {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.auth-card__sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.auth-card__alert {
  margin-bottom: 1.15rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
}

.auth-card__alert--flush {
  margin-bottom: 1rem;
}

.auth-result {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.auth-result__btn {
  flex-shrink: 0;
}

.auth-label-hint {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.auth-form .form-group {
  margin-bottom: 1.1rem;
}

.auth-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.auth-label-row .auth-label {
  margin-bottom: 0;
}

.auth-text-btn {
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-text-btn:hover {
  color: var(--primary);
}

.auth-input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.95rem;
  min-height: 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input:hover {
  border-color: #cbd5e1;
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-submit {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.95rem;
}

/* Eski kayıt sayfası (.auth-box) ile uyumluluk */
.auth-box {
  width: 100%;
  max-width: 400px;
}
.auth-box h1 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.auth-box .sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.alert-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.alert-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.sidebar-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--primary);
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.detail-list strong {
  color: var(--text);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-map-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.event-map-block__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--primary);
}
.event-map-block__iframe-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  line-height: 0;
}
.event-map-block__iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.event-map-block__link {
  margin-top: 0.65rem;
  text-align: center;
  font-weight: 600;
}

.prose {
  max-width: 720px;
}
.prose p {
  color: var(--muted);
}

.page-install {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}
.install-box {
  max-width: 420px;
  width: 100%;
  padding: 2rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* Etkinlik detay — başvuru paneli */
.event-apply-panel {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.event-apply-panel--inline {
  margin-top: 0;
  padding: 1.25rem 1.15rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}
.event-apply-inline-lead {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .event-apply-sidebar-wrap {
    display: none;
  }
}
.event-apply-panel__flash {
  margin-bottom: 1rem;
}
.event-apply-panel__head {
  margin-bottom: 1rem;
}
.event-apply-panel__hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.event-apply-panel__unlimited {
  margin: 0 0 1rem;
  font-size: 0.875rem;
}
.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.event-status-badge--open {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  border-color: #6ee7b7;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.12);
}
.event-status-badge--full {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fdba74;
}
.event-status-badge--closed {
  background: #f1f5f9;
  color: var(--muted);
  border-color: var(--border);
}
.event-quota-bar {
  margin-bottom: 1.15rem;
}
.event-quota-bar__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.event-quota-bar__left {
  font-weight: 600;
  color: var(--accent);
}
.event-quota-bar__track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: #e8eef5;
  overflow: hidden;
  border: 1px solid var(--border);
}
.event-quota-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transition: width 0.35s ease;
  min-width: 0;
}
.event-apply-panel__action {
  margin-top: 0.25rem;
}
.event-apply-form {
  margin: 0;
}
.event-apply-confirmed {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
}
.event-apply-confirmed__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #047857;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}
.event-apply-confirmed strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.event-apply-confirmed .muted {
  font-size: 0.82rem;
}

.event-apply-pending {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 12px;
}
.event-apply-pending__icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.event-apply-pending strong {
  display: block;
  color: #92400e;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.event-apply-pending .muted {
  font-size: 0.82rem;
}

.event-apply-rejected {
  padding: 0.85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
}
.event-apply-rejected strong {
  display: block;
  color: #991b1b;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.event-apply-rejected__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}
.event-apply-panel__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.event-apply-panel__btns .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
  justify-content: center;
}

.header-profile-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.header-profile-link:hover {
  text-decoration: none;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
}

/* Üye profili — geniş düzen, kartlar, tablo */
.profile-page {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.profile-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.profile-breadcrumb__link {
  color: var(--muted);
  font-weight: 500;
}
.profile-breadcrumb__link:hover {
  color: var(--accent);
}
.profile-breadcrumb__sep {
  color: var(--border);
  user-select: none;
}
.profile-breadcrumb__current {
  color: var(--text);
  font-weight: 600;
}

.profile-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(30, 58, 95, 0.12);
  box-shadow: 0 20px 50px -24px rgba(30, 58, 95, 0.35);
}
.profile-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #0f172a 0%, #1e3a5f 40%, #1d4ed8 78%, #0369a1 100%);
  opacity: 1;
}
.profile-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 85% 100%, rgba(56, 189, 248, 0.35), transparent 55%);
  pointer-events: none;
}
.profile-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.35rem;
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2.25rem);
  color: #fff;
}
.profile-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-hero__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.35);
}
.profile-hero__badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #059669;
  border: 2px solid #0f172a;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}
.profile-hero__badge--community {
  bottom: auto;
  top: -5px;
  right: -5px;
  left: auto;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0;
  border-width: 2px;
}
.profile-hero__badge--community-verified {
  background: linear-gradient(145deg, #0d9488, #059669);
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.45);
}
.profile-hero__badge--community-pending {
  background: linear-gradient(145deg, #d97706, #ca8a04);
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}
.profile-hero__badge-icon {
  width: 0.92rem;
  height: 0.92rem;
  flex-shrink: 0;
}
.profile-chip__icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  margin-right: 0.35rem;
  margin-left: -0.05rem;
}
.profile-chip--community-verified {
  background: rgba(13, 148, 136, 0.32);
  border-color: rgba(45, 212, 191, 0.5);
  color: #ccfbf1;
}
.profile-chip--community-pending {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(252, 211, 77, 0.45);
  color: #fef3c7;
}
.profile-chip--community-verified,
.profile-chip--community-pending {
  display: inline-flex;
  align-items: center;
}
.profile-hero__body {
  min-width: 0;
  flex: 1;
}
.profile-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.profile-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.profile-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  max-width: 100%;
  word-break: break-word;
}
.profile-chip--muted {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.profile-chip--ok {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(52, 211, 153, 0.45);
  color: #d1fae5;
}
.profile-chip--warn {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(252, 211, 77, 0.4);
  color: #fef3c7;
}
.profile-hero__tenure {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.profile-hero__tenure strong {
  color: #fff;
  font-weight: 700;
}
.profile-hero__tenure-date {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .profile-shell {
    grid-template-columns: 1fr;
  }
  .profile-aside {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .profile-aside {
    grid-template-columns: 1fr;
  }
}

.profile-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.15rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.45rem);
  box-shadow: var(--shadow);
}
.profile-card__head {
  margin-bottom: 1.1rem;
}
.profile-card__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.profile-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.profile-card__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.profile-card__action {
  flex-shrink: 0;
}

.profile-btn-compact {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.profile-stats-row {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0;
}
.profile-stats-row--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .profile-stats-row--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .profile-stats-row--4 {
    grid-template-columns: 1fr;
  }
}

.profile-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  text-align: left;
  box-shadow: 0 4px 20px -8px rgba(30, 58, 95, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.profile-stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 28px -10px rgba(30, 58, 95, 0.18);
}
.profile-stat-card__icon {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  line-height: 1;
  opacity: 0.9;
}
.profile-stat-card__value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.profile-stat-card__value--sm {
  font-size: 1.15rem;
  font-weight: 700;
}
.profile-stat-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 0.35rem;
  display: block;
}
.profile-stat-card__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.35;
  word-break: break-word;
}
.profile-stat-card--accent .profile-stat-card__value {
  color: var(--accent);
}
.profile-stat-card--done .profile-stat-card__value {
  color: #047857;
}
.profile-stat-card--soft .profile-stat-card__value {
  color: #475569;
}

.profile-dl {
  margin: 0;
}
.profile-dl__row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 0.65rem 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 540px) {
  .profile-dl__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.profile-dl__row:first-of-type {
  padding-top: 0;
}
.profile-dl__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.profile-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-dl dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}
.profile-dl__pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 0.35rem;
  vertical-align: middle;
}
.profile-dl__note {
  display: inline;
  font-size: 0.85rem;
  vertical-align: middle;
}
.profile-dl__ok {
  display: inline-block;
  font-weight: 700;
  color: #047857;
  margin-right: 0.5rem;
}

.profile-milestone__lead {
  font-size: 0.875rem;
  margin: 0 0 1rem;
  line-height: 1.55;
}
.profile-milestone__badge-msg {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
.profile-milestone__track {
  height: 12px;
  border-radius: var(--radius-pill);
  background: #e8eef5;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
}
.profile-milestone__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 45%, var(--accent-light) 100%);
  transition: width 0.5s ease;
  min-width: 0;
}
.profile-milestone__ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-milestone__ticks li {
  flex: 1;
  text-align: center;
}
.profile-milestone__ticks li.is-done span {
  color: #0f766e;
}

.profile-alert {
  margin-bottom: 0;
}

.profile-empty {
  text-align: center;
  padding: 1.75rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed var(--border);
}
.profile-empty--compact {
  text-align: left;
  padding: 1.1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.profile-empty__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.profile-empty__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.profile-table-wrap {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.profile-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.profile-table th {
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.profile-table td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.45;
}
.profile-table tbody tr:last-child td {
  border-bottom: 0;
}
.profile-table tbody tr:hover td {
  background: #f8fafc;
}
.profile-table__title {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.profile-table__title:hover {
  color: var(--accent);
}
.profile-table__meta {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.profile-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-tag--upcoming {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.profile-tag--past {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border);
}
.profile-tag--pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fcd34d;
}
.profile-tag--rejected {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.profile-thanks {
  border-color: #fde68a;
  background: linear-gradient(160deg, #fffbeb 0%, #fff7ed 42%, #fff 100%);
  box-shadow: 0 12px 40px -20px rgba(180, 83, 9, 0.2);
}
.profile-thanks__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: #b45309;
  font-weight: 800;
}
.profile-thanks__text {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.92rem;
}
.profile-thanks__sign {
  font-size: 0.86rem;
  font-style: italic;
}

.profile-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 960px) {
  .profile-aside {
    position: static;
  }
}
.profile-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}
.profile-side-card--tips {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.profile-side-card__title {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
}
.profile-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-side-list li {
  border-bottom: 1px solid var(--border);
}
.profile-side-list li:last-child {
  border-bottom: 0;
}
.profile-side-list a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.profile-side-list a:hover {
  color: var(--accent);
}
.profile-tips {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}
.profile-tips li {
  margin-bottom: 0.55rem;
}
.profile-tips li:last-child {
  margin-bottom: 0;
}

/* Topluluk vitrin — profil-topluluk.php */
.profile-comm-hero-page {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.profile-comm-hero-back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}
.profile-comm-hero-back a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.profile-comm-hero-back a:hover {
  color: var(--accent);
}
.profile-comm-hero-flash {
  margin-bottom: 1.25rem;
}
.profile-comm-hero-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .profile-comm-hero-layout {
    grid-template-columns: 1fr;
  }
}
.profile-comm-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 1rem;
}
@media (max-width: 900px) {
  .profile-comm-hero-aside {
    position: static;
  }
}
.profile-comm-hero-preview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.profile-comm-hero-preview-card__head {
  margin-bottom: 1rem;
}
.profile-comm-hero-preview-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}
.profile-comm-hero-preview-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.profile-comm-hero-preview-card__sub {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.profile-comm-hero-preview-mock {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 168px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.profile-comm-hero-preview__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}
.profile-comm-hero-preview__inner {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.25rem 1.5rem;
}
.profile-comm-hero-preview__name {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.profile-comm-hero-preview__badge {
  margin: 0.55rem 0 0;
}
.profile-comm-hero-preview__badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem 0.3rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.profile-comm-hero-preview__meta {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}
.profile-comm-hero-preview-card__link {
  display: inline-flex;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 600;
}
.profile-comm-hero-preview-card__pending {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.profile-comm-hero-tip-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}
.profile-comm-hero-tip-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.profile-comm-hero-checklist {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}
.profile-comm-hero-checklist li {
  margin-bottom: 0.45rem;
}
.profile-comm-hero-checklist li:last-child {
  margin-bottom: 0;
}
.profile-comm-hero-pagehead {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.profile-comm-hero-pagehead__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.profile-comm-hero-pagehead__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}
.profile-comm-hero-pagehead__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 52rem;
}
.profile-comm-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
}
.profile-comm-hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.profile-comm-hero-meta dt {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.profile-comm-hero-meta dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.profile-comm-hero-meta__code {
  font-size: 0.75rem;
  font-weight: 500;
  word-break: break-all;
  background: #f1f5f9;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.profile-comm-hero-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.profile-comm-hero-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}
.profile-comm-hero-step--soft {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.profile-comm-hero-step__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.profile-comm-hero-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #0d9488), var(--accent, #14b8a6));
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}
.profile-comm-hero-step__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.profile-comm-hero-step__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
}
.profile-comm-hero-step__body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.profile-comm-hero-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.15rem;
}
.profile-comm-hero-color-field .auth-label {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.profile-comm-hero-color-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.profile-comm-hero-color-swatch {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: none;
  flex-shrink: 0;
}
.profile-comm-hero-color-swatch::-webkit-color-swatch-wrapper {
  padding: 2px;
}
.profile-comm-hero-color-swatch::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.profile-comm-hero-color-hex {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}
.profile-comm-hero-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.profile-comm-hero-spec-block {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.profile-comm-hero-spec-block--note {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
  border-color: color-mix(in srgb, var(--primary, #0d9488) 18%, var(--border));
}
.profile-comm-hero-spec-block__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.profile-comm-hero-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}
.profile-comm-hero-spec-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
}
.profile-comm-hero-spec-list li:last-child {
  border-bottom: 0;
}
.profile-comm-hero-spec-list span {
  color: var(--muted);
}
.profile-comm-hero-spec-list strong {
  color: var(--text);
  font-weight: 700;
}
.profile-comm-hero-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.profile-comm-hero-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 2rem 1.25rem;
  border: 2px dashed color-mix(in srgb, var(--border) 80%, var(--muted));
  border-radius: 14px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.profile-comm-hero-dropzone:hover {
  border-color: var(--accent);
  background: #f8fffe;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.profile-comm-hero-dropzone.is-drag {
  border-color: var(--primary, #0d9488);
  background: #ecfdf5;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #0d9488) 15%, transparent);
}
.profile-comm-hero-dropzone__icon {
  color: var(--muted);
  opacity: 0.85;
}
.profile-comm-hero-dropzone:hover .profile-comm-hero-dropzone__icon {
  color: var(--accent);
}
.profile-comm-hero-dropzone__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  max-width: 22rem;
  line-height: 1.35;
}
.profile-comm-hero-dropzone__hint {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.45;
}
.profile-comm-hero-file-name {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
}
.profile-comm-hero-current-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 520px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.profile-comm-hero-current-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}
.profile-comm-hero-remove {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  line-height: 1.45;
}
.profile-comm-hero-remove input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.profile-comm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}
.profile-comm-hero-actions__primary {
  font-weight: 700;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* Topluluk — etkinlik oluştur / düzenle (profil-etkinlik.php) */
.profile-page--ev-editor {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, transparent 32rem);
  border-radius: 0;
  padding-top: 0.25rem;
}

.comm-ev-form__contextbar {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.09) 0%, var(--bg-card) 48%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 4px 24px -12px rgba(13, 148, 136, 0.35);
}
.comm-ev-form__contextbar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.comm-ev-form__contextbar-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.comm-ev-form__contextbar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.comm-ev-form__contextbar-meta {
  margin: 0;
  font-size: 0.875rem;
}

.comm-ev-form--modern {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px -20px rgba(30, 58, 95, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.comm-ev-form__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}
.comm-ev-form__hero-badge {
  flex: 1;
  min-width: min(100%, 18rem);
}
.comm-ev-form__hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.comm-ev-form__hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.comm-ev-form__hero-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.92;
  max-width: 36rem;
}
.comm-ev-form__hero-steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comm-ev-form__hero-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.comm-ev-form__hero-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent) 0%, #14b8a6 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.comm-ev-section {
  margin-bottom: 1.65rem;
}
.comm-ev-section--compact {
  margin-bottom: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  background: rgba(248, 250, 252, 0.65);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.comm-ev-section__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.comm-ev-section__step {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.18) 0%, rgba(20, 184, 166, 0.12) 100%);
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}
.comm-ev-section__meta {
  min-width: 0;
}
.comm-ev-section__title {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.comm-ev-section__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}
.comm-ev-section__body {
  padding-left: 0;
}
@media (min-width: 640px) {
  .comm-ev-section__body {
    padding-left: 2.85rem;
  }
}

.comm-ev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comm-ev-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85em;
}

.comm-ev-input:focus {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.comm-ev-input--textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}

.comm-ev-publish__label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.comm-ev-publish__label input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}
.comm-ev-publish__text {
  font-size: 0.95rem;
}
.comm-ev-publish__hint {
  margin: 0.4rem 0 0 1.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.comm-ev-file {
  margin-bottom: 1.35rem;
}
.comm-ev-file:last-child {
  margin-bottom: 0;
}
.comm-ev-file__label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}
.comm-ev-file__zone {
  position: relative;
  min-height: 5.5rem;
  padding: 1rem 1.1rem;
  border: 2px dashed rgba(148, 163, 184, 0.65);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.6);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
}
.comm-ev-file__zone--sm {
  min-height: 4.5rem;
}
.comm-ev-file__zone:hover,
.comm-ev-file__zone:focus-within {
  border-color: rgba(13, 148, 136, 0.55);
  background: rgba(240, 253, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}
.comm-ev-file__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.comm-ev-file__hint {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.comm-ev-file__sub {
  font-size: 0.78rem;
}
.comm-ev-file__current {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
}

.comm-ev-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}
.comm-ev-form__submit {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  font-weight: 700;
  box-shadow: 0 4px 14px -4px rgba(13, 148, 136, 0.55);
}

.comm-ev-form__alert {
  margin-bottom: 1.25rem;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .comm-ev-form__grid {
    grid-template-columns: 1fr !important;
  }
  .comm-ev-grid {
    grid-template-columns: 1fr;
  }
  .comm-ev-form__hero-steps {
    width: 100%;
    justify-content: center;
  }
}

/* Topluluk detay — üst başlık bandı (topluluk.php) */
.community-hero {
  position: relative;
  overflow: hidden;
}
.community-hero--cover {
  background-color: #0f172a;
}
.community-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}
.community-hero__inner {
  position: relative;
  z-index: 1;
}

/* Topluluk detay kahraman — onay rozeti (topluluk.php) */
.community-hero__verified {
  margin: 0.65rem 0 0;
  padding: 0;
}
.community-hero__verified-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.community-hero__verified-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  opacity: 0.98;
}

/* Etkinlik başvurusu onay modalı */
body.apply-modal-open {
  overflow: hidden;
}
.apply-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.apply-confirm-modal[hidden] {
  display: none !important;
}
.apply-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.apply-confirm-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px -24px rgba(30, 58, 95, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  animation: apply-modal-in 0.28s ease-out;
}
@keyframes apply-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.apply-confirm-modal__decor {
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--accent) 0%, #14b8a6 50%, var(--accent-light) 100%);
  opacity: 0.95;
}
.apply-confirm-modal__icon {
  color: #0d9488;
  margin: 0.5rem auto 0.75rem;
  display: flex;
  justify-content: center;
}
.apply-confirm-modal__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.apply-confirm-modal__event {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  word-break: break-word;
}
.apply-confirm-modal__hint {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.apply-confirm-modal__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: stretch;
}
.apply-confirm-modal__actions .btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}
@media (max-width: 420px) {
  .apply-confirm-modal__actions {
    flex-direction: column-reverse;
  }
  .apply-confirm-modal__actions .btn {
    width: 100%;
  }
}
