/**
 * Sunucu listesi — polished /servers style
 */

.srv-page {
  padding: 0 0 3rem;
  background: #f8fafc;
}

.srv-hero {
  padding: 1.35rem 0 1.1rem;
}

.srv-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.srv-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #94a3b8;
}

.srv-breadcrumb a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.srv-hero__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.srv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.srv-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.srv-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.srv-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.srv-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.srv-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.srv-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.1rem 0.35rem;
}

.srv-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.srv-side-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.7rem;
}

.srv-field-label {
  display: block;
  margin: 0.65rem 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #64748b;
}

.srv-field-label:first-of-type {
  margin-top: 0;
}

.srv-type-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.srv-type-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid transparent;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.srv-type-tabs button span {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
}

.srv-type-tabs button:hover {
  border-color: #99f6e4;
}

.srv-type-tabs button.active {
  background: #ecfdf5;
  border-color: #99f6e4;
  color: #0f766e;
}

.srv-type-tabs button.active span {
  color: #0f766e;
}

.srv-firm-list {
  max-height: 210px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  scrollbar-width: thin;
}

.srv-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.3rem;
  font-size: 0.88rem;
  cursor: pointer;
  margin: 0;
  border-radius: 8px;
}

.srv-check:hover {
  background: #f8fafc;
}

.srv-check span { flex: 1; color: #334155; }
.srv-check em {
  font-style: normal;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
}

.srv-price-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.srv-side-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: sticky;
  bottom: 0;
  padding-top: 0.25rem;
}

.srv-main {
  min-width: 0;
}

.srv-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.srv-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.srv-stat span {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.srv-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.srv-stat strong small {
  font-size: 0.85rem;
  font-weight: 650;
  color: #94a3b8;
  margin-left: 0.15rem;
}

.srv-stat > small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.srv-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
}

.srv-count {
  font-size: 0.95rem;
  color: #64748b;
}

.srv-count strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.srv-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.srv-sort-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: #94a3b8;
}

.srv-sort {
  width: auto;
  min-width: 190px;
}

.srv-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.srv-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.srv-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.srv-rank {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #64748b;
  font-size: 0.9rem;
}

.srv-card-body { min-width: 0; }

.srv-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1.1rem;
  align-items: flex-start;
}

.srv-card-info { min-width: 0; flex: 1 1 auto; }

.srv-provider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 0.3rem;
}

.srv-provider a {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.srv-provider a:hover { color: #0f766e; }

.srv-rating {
  color: #ca8a04;
  font-weight: 700;
}

.srv-type-badge {
  background: #ecfdf5;
  color: #0f766e;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.srv-name {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.srv-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.srv-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 650;
}

.srv-specs i {
  color: #0f766e;
  width: 0.9rem;
}

.srv-coupon {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff7ed;
  color: #c2410c;
  border: 1px dashed #fdba74;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.srv-price-box {
  text-align: right;
  min-width: 170px;
  flex: 0 0 auto;
}

.srv-was {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.82rem;
}

.srv-off {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  margin: 0.15rem 0 0.25rem;
}

.srv-price {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.srv-price small {
  font-size: 0.85rem;
  font-weight: 650;
  color: #94a3b8;
}

.srv-vat {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.3rem 0 0.7rem;
}

.srv-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

/* Buttons */
.srv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.srv-btn--solid {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.2);
}

.srv-btn--solid:hover {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff !important;
}

.srv-btn--ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #0f172a !important;
}

.srv-btn--ghost:hover {
  border-color: #0f766e;
  color: #0f766e !important;
}

.srv-btn--soft {
  background: #ecfdf5;
  border-color: #99f6e4;
  color: #0f766e !important;
}

.srv-btn--sm {
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 9px;
}

.srv-btn--block { width: 100%; }

.srv-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.srv-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2.25rem 1.25rem;
  text-align: center;
  color: #64748b;
}

.srv-empty i {
  font-size: 1.4rem;
  color: #94a3b8;
}

.srv-pager {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.srv-page-btn {
  min-width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: #334155;
}

.srv-page-btn.active,
.srv-page-btn:hover:not(:disabled) {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.srv-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.srv-page-dots {
  padding: 0 0.25rem;
  color: #94a3b8;
  line-height: 38px;
}

.srv-overlay {
  display: none;
}

body.srv-lock { overflow: hidden; }

@media (max-width: 1100px) {
  .srv-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .srv-layout {
    grid-template-columns: 1fr;
  }

  .srv-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1990;
  }

  .srv-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 92vw);
    max-height: 100vh;
    background: #f8fafc;
    z-index: 2000;
    padding: 1rem;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 10px 0 36px rgba(0, 0, 0, 0.18);
  }

  .srv-sidebar.open {
    transform: translateX(0);
  }

  .srv-card-top {
    flex-direction: column;
  }

  .srv-price-box {
    text-align: left;
    width: 100%;
    min-width: 0;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
  }

  .srv-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .srv-stats {
    grid-template-columns: 1fr;
  }
  .srv-card {
    grid-template-columns: 1fr;
  }
  .srv-rank {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .srv-actions {
    width: 100%;
  }
  .srv-actions .srv-btn {
    flex: 1 1 auto;
  }
}

[data-theme="dark"] .srv-page {
  background: #0b1220;
}

[data-theme="dark"] .srv-hero h1,
[data-theme="dark"] .srv-name,
[data-theme="dark"] .srv-price,
[data-theme="dark"] .srv-stat strong,
[data-theme="dark"] .srv-count strong,
[data-theme="dark"] .srv-provider a {
  color: #e2e8f0;
}

[data-theme="dark"] .srv-side-card,
[data-theme="dark"] .srv-stat,
[data-theme="dark"] .srv-toolbar,
[data-theme="dark"] .srv-card,
[data-theme="dark"] .srv-empty,
[data-theme="dark"] .srv-page-btn,
[data-theme="dark"] .srv-btn--ghost {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .srv-type-tabs button,
[data-theme="dark"] .srv-specs span,
[data-theme="dark"] .srv-rank {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .srv-type-tabs button.active {
  background: rgba(20, 184, 166, 0.12);
  border-color: #14b8a6;
  color: #5eead4;
}

[data-theme="dark"] .srv-sidebar {
  background: #0b1220;
}
