/* ================================================================
   GENERAL (Dashboard) — Modern UI
   Sadece görsel. Hiçbir JS/mantık kodu değiştirilmemiştir.
================================================================ */

/* ── SAYFA ARKA PLANI ────────────────────────────────────────── */
body          { background: #F1F5F9 !important; }
.page-wrapper { background: #F1F5F9; }

/* ── GENEL KART (Mobil Uygulamalar, Bilgi) ───────────────────── */
.card.block {
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  border: none !important;
}

/* ── SATIR BOŞLUKLARI ─────────────────────────────────────────── */
.container-fluid > .container-fluid > .row {
  margin-bottom: 0;
}
.container-fluid > .container-fluid > .row > [class*="col-"] {
  padding-bottom: 1.25rem;
}

/* ── KART SARICI (a > .card) ─────────────────────────────────── */
[class*="col-"] > a {
  text-decoration: none !important;
  display: block;
}
[class*="col-"] > a > .card {
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden;
  position: relative;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.22s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16) !important;
}

/* Glassmorphism-style üst highlight */
[class*="col-"] > a > .card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.45);
  pointer-events: none;
}

/* Hover: kart yukarı kalkar */
[class*="col-"] > a:hover > .card {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22) !important;
}

/* ── KART BODY PADDING ────────────────────────────────────────── */
[class*="col-"] > a > .card > .card-body {
  padding: 1.75rem 1.6rem !important;
}

/* ── İKON KUTUSU ──────────────────────────────────────────────── */
[class*="col-"] .card-body .d-flex > .mr-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[class*="col-"] .card-body .d-flex > .mr-3 h1 {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem !important;
  margin: 0;
  line-height: 1;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35),
              0 2px 8px rgba(0,0,0,0.12);
}

/* ── TİPOGRAFİ ────────────────────────────────────────────────── */
[class*="col-"] .card-body > .d-flex > div > h2.card-title {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem !important;
  line-height: 1.2;
}
[class*="col-"] .card-body > .d-flex > div > h6.card-subtitle {
  font-size: 0.79rem !important;
  font-weight: 500 !important;
  opacity: 0.82;
  margin: 0 !important;
  line-height: 1.4;
}

/* ── UYARI KARTLARI (uyelikAzKaldi / uyelikSonu) ─────────────── */
#uyelikAzKaldi .card,
#uyelikSonu    .card {
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(239,68,68,0.25) !important;
}

/* ── MOBİL UYGULAMA KARTI ────────────────────────────────────── */
.card.block .card-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #1E293B;
}
.card.block .card-subtitle {
  font-size: 0.82rem !important;
  color: #64748B;
  line-height: 1.5;
}
.card.block .btn-success {
  border-radius: 10px !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 3px 10px rgba(16,185,129,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card.block .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,185,129,0.35);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  [class*="col-"] > a > .card > .card-body {
    padding: 1.35rem 1.25rem !important;
  }
  [class*="col-"] .card-body .d-flex > .mr-3 h1 {
    width: 50px;
    height: 50px;
    font-size: 1.35rem !important;
  }
}

/* ── SON GELİŞTİRMELER ───────────────────────────────────────── */
.general-updates-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(79,70,229,0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.general-updates-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.25rem 0 1.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.general-updates-copy .card-title {
  font-size: 1.3rem !important;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.general-updates-copy .card-subtitle {
  max-width: 760px;
  font-size: 0.92rem !important;
  line-height: 1.7;
  color: #64748b;
}

.general-updates-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.general-updates-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827 0%, #312e81 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(49, 46, 129, 0.22);
}

.general-updates-badge i {
  font-size: 1.2rem;
}

.general-updates-badge span {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.general-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.general-update-item {
  min-height: 100%;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.general-update-item:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.26);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.general-update-item__head {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.general-update-item__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
  color: #4338ca;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.general-update-item__icon i {
  font-size: 1.2rem;
}

.general-update-item h5 {
  margin: 0 0 0.32rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
}

.general-update-item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #64748b;
}

.general-update-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.general-update-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.general-update-tag--soft {
  background: #f1f5f9;
  color: #475569;
}

@media (max-width: 991px) {
  .general-updates-hero {
    flex-direction: column;
  }

  .general-updates-badge span {
    white-space: normal;
  }

  .general-updates-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .general-updates-card .card-body {
    padding: 1.2rem !important;
  }

  .general-updates-copy .card-title {
    font-size: 1.15rem !important;
  }

  .general-updates-copy .card-subtitle {
    font-size: 0.86rem !important;
  }

  .general-update-item {
    padding: 1rem;
  }

  .general-update-item__head {
    gap: 0.8rem;
  }

  .general-update-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}
