:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-a63b0ba *//* ===== Cihaz listesi ana kapsayıcı ===== */
.device-list-section {
  max-width: 1200px;
  margin: 24px auto;
  padding: 18px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 55%, #eef2ff 100%);
  border-radius: 20px;
}

.device-list-header h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.device-list-header p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #475569;
}

/* ===== Grid yapısı ===== */
.device-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* ===== Cihaz kartı ===== */
.device-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.device-card:hover::before {
  opacity: 1;
}

.device-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(59, 130, 246, 0.35);
}

/* ===== Resim alanı ===== */
.device-card-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 2px 8px;
}

/* Resim tıklandığında yeni sekmede açılan link */
.device-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.device-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

/* Hover'da hafif büyüme – modern görünüm */
.device-card-image:hover img {
  transform: scale(1.05);
}


.device-card-image--placeholder {
  color: #e5f2ff;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 18px rgba(15, 23, 42, 0.5);
}

/* ===== Kart başlığı ===== */
.device-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.device-card-id {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.10);
}

.device-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.device-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.device-card-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #047857;
  background: rgba(16, 185, 129, 0.10);
  font-weight: 500;
}

.device-card-status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c05621;
  background: rgba(251, 146, 60, 0.12);
}

/* ===== Gövde ===== */
.device-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.device-card-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.device-card-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
}

.device-card-value {
  font-size: 0.82rem;
  font-weight: 500;
  color: #111827;
  text-align: right;
}

/* ===== Butonlar ===== */
.device-card-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.device-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

/* Kullanma Klavuzu butonu (dolu) */
.device-card-btn--primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.device-card-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.6);
}

/* Risk Analizi butonu (outlined) */
.device-card-btn--outline {
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.60);
}

.device-card-btn--outline:hover {
  background: rgba(219, 234, 254, 0.7);
  transform: translateY(-1px);
}

/* URL OLMAYAN (PASİF) BUTONLAR */
.device-card-btn--disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  border-style: dashed;
}

/* ===== Mobil uyum ===== */
@media (max-width: 640px) {
  .device-card-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .device-card-value {
    text-align: left;
  }

  .device-card-image {
    height: 140px;
  }
}/* End custom CSS */