/* ==========================================================================
   AV. BÜŞRA TEKİN HUKUK & DANIŞMANLIK
   Yönetim & Yazar Paneli (admin.css)
   ========================================================================== */

:root {
  --admin-navy-dark: #122129;
  --admin-navy: #1b323d;
  --admin-navy-light: #2b4957;
  --admin-gold: #feda6a;
  --admin-gold-hover: #e5c45b;
  --admin-gold-dark: #c59b27;
  --admin-bg: #f4f6f8;
  --admin-card: #ffffff;
  --admin-border: #e2e8f0;
  --admin-text-main: #1a202c;
  --admin-text-muted: #64748b;
  --admin-success: #10b981;
  --admin-warning: #f59e0b;
  --admin-danger: #ef4444;
  --admin-sidebar-width: 260px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.admin-body {
  background: var(--admin-bg);
  color: var(--admin-text-main);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* 1. Sidebar */
.admin-sidebar {
  width: var(--admin-sidebar-width);
  background: var(--admin-navy-dark);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: contain;
}

.admin-brand-info h1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.admin-brand-info p {
  font-size: 0.75rem;
  color: var(--admin-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.admin-nav {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-nav-item.active {
  background: var(--admin-navy);
  color: var(--admin-gold);
  border-color: rgba(254, 218, 106, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-nav-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(254, 218, 106, 0.2);
  color: var(--admin-gold);
}

.admin-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--admin-gold);
  object-fit: cover;
}

.admin-logout-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.admin-logout-btn:hover {
  color: var(--admin-danger);
  background: rgba(239, 68, 68, 0.1);
}

/* 2. Main Layout */
.admin-main {
  margin-left: var(--admin-sidebar-width);
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  height: 70px;
  background: var(--admin-card);
  border-bottom: 1px solid var(--admin-border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-topbar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--admin-navy-dark);
}

.admin-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--admin-navy-dark);
  cursor: pointer;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 3. Button Styles */
.btn-admin-primary {
  background: var(--admin-navy-dark);
  color: var(--admin-gold);
  border: 1px solid var(--admin-navy);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-admin-primary:hover {
  background: var(--admin-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 50, 61, 0.25);
}

.btn-admin-gold {
  background: var(--admin-gold);
  color: var(--admin-navy-dark);
  border: 1px solid var(--admin-gold-hover);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-admin-gold:hover {
  background: var(--admin-gold-hover);
  box-shadow: 0 4px 12px rgba(254, 218, 106, 0.4);
}

.btn-admin-outline {
  background: transparent;
  color: var(--admin-navy);
  border: 1px solid var(--admin-border);
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-admin-outline:hover {
  background: rgba(27, 50, 61, 0.05);
  border-color: var(--admin-navy);
}

.btn-admin-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--admin-danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-danger:hover {
  background: var(--admin-danger);
  color: #ffffff;
}

/* 4. Content Area */
.admin-content {
  padding: 32px;
  flex-grow: 1;
}

/* 5. Metrics & Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

.admin-stat-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--admin-navy);
}

.admin-stat-card.stat-gold::before {
  background: var(--admin-gold);
}

.admin-stat-card.stat-success::before {
  background: var(--admin-success);
}

.admin-stat-card.stat-info::before {
  background: #3b82f6;
}

.admin-stat-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.admin-stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--admin-navy-dark);
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(27, 50, 61, 0.06);
  color: var(--admin-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 6. Law Firm Guidance Callout */
.admin-banner-card {
  background: linear-gradient(135deg, var(--admin-navy-dark) 0%, var(--admin-navy) 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(18, 33, 41, 0.15);
}

.admin-banner-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--admin-gold);
  margin-bottom: 6px;
}

.admin-banner-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 780px;
}

/* 7. Articles Data Table */
.admin-card-section {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 32px;
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-card-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-table-search {
  position: relative;
  min-width: 260px;
}

.admin-table-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 0.86rem;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  outline: none;
}

.admin-table-search input:focus {
  border-color: var(--admin-navy);
  box-shadow: 0 0 0 3px rgba(27, 50, 61, 0.1);
}

.admin-table-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--admin-text-muted);
}

.admin-filter-select {
  padding: 8px 12px;
  font-size: 0.86rem;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  outline: none;
  background: #ffffff;
  color: var(--admin-text-main);
}

.admin-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: #f8fafc;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--admin-text-muted);
  border-bottom: 1px solid var(--admin-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #fafbfc;
}

.admin-art-title {
  font-weight: 600;
  color: var(--admin-navy-dark);
  display: block;
  margin-bottom: 3px;
  line-height: 1.4;
}

.admin-art-slug {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  font-family: monospace;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-status.published {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.badge-status.draft {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.badge-cat {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(27, 50, 61, 0.08);
  color: var(--admin-navy);
}

.admin-action-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-action-btn {
  background: transparent;
  border: 1px solid var(--admin-border);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--admin-text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.admin-action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.admin-action-btn.btn-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--admin-danger);
  border-color: rgba(239, 68, 68, 0.3);
}

/* 8. Article Editor Modal (Dual Pane) */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 33, 41, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-overlay.active {
  display: flex;
}

.admin-modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal-header {
  padding: 18px 26px;
  background: var(--admin-navy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--admin-gold);
}

.admin-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-modal-body {
  padding: 26px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .admin-modal-body {
    grid-template-columns: 1fr;
  }
}

.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--admin-text-main);
  margin-bottom: 6px;
}

.admin-form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.88rem;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease;
}

.admin-form-control:focus {
  border-color: var(--admin-navy);
  box-shadow: 0 0 0 3px rgba(27, 50, 61, 0.1);
}

.admin-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--admin-border);
  border-radius: 6px 6px 0 0;
}

.admin-toolbar-btn {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  color: var(--admin-text-main);
}

.admin-toolbar-btn:hover {
  background: var(--admin-navy);
  color: #ffffff;
}

.admin-content-textarea {
  width: 100%;
  min-height: 260px;
  padding: 12px;
  font-family: monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  border: 1px solid var(--admin-border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  outline: none;
  resize: vertical;
}

.admin-preview-pane {
  background: #f8fafc;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  padding: 20px;
  overflow-y: auto;
  max-height: 600px;
}

.admin-preview-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--admin-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-modal-footer {
  padding: 16px 26px;
  background: #f8fafc;
  border-top: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* 9. Toast Notification */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  background: var(--admin-navy-dark);
  color: #ffffff;
  border-left: 4px solid var(--admin-gold);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-toast.active {
  display: block;
}

@keyframes toastSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 10. Login Modal (Auth Gate) */
.admin-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, #203c4a 0%, #122129 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  padding: 38px 32px;
  text-align: center;
  position: relative;
}

.admin-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--admin-gold);
}

.admin-login-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
}

.admin-login-card h2 {
  font-size: 1.35rem;
  color: var(--admin-navy-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.admin-login-card p {
  font-size: 0.86rem;
  color: var(--admin-text-muted);
  margin-bottom: 24px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-mobile-toggle {
    display: block;
  }
}

/* 11. Cover Image Upload & Presets */
.cover-upload-zone {
  border: 2px dashed var(--admin-border);
  background: #f8fafc;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}

.cover-upload-zone:hover, .cover-upload-zone.dragover {
  border-color: var(--admin-navy);
  background: rgba(27, 50, 61, 0.04);
}

.cover-preview-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 200px;
  border-radius: 6px;
  overflow: hidden;
  background: #172a33;
  margin-top: 10px;
  border: 1px solid var(--admin-border);
}

.cover-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.cover-remove-btn:hover {
  background: var(--admin-danger);
}

.cover-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.preset-chip-btn {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  color: var(--admin-text-main);
  transition: all 0.15s ease;
}

.preset-chip-btn:hover {
  border-color: var(--admin-navy);
  background: var(--admin-navy);
  color: #ffffff;
}

/* 12. Automated SEO Engine & Google SERP Preview */
.seo-engine-box {
  background: linear-gradient(135deg, rgba(27, 50, 61, 0.04) 0%, rgba(254, 218, 106, 0.08) 100%);
  border: 1px solid rgba(27, 50, 61, 0.12);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.seo-engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.btn-magic-seo {
  background: linear-gradient(135deg, #1b323d 0%, #2b4957 100%);
  color: var(--admin-gold);
  border: 1px solid var(--admin-gold);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-magic-seo:hover {
  background: var(--admin-navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Google SERP Live Snippet Box */
.serp-card {
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-top: 12px;
  font-family: Arial, sans-serif;
}

.serp-url {
  font-size: 0.8rem;
  color: #202124;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.serp-favicon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.serp-title {
  font-size: 1.15rem;
  line-height: 1.3;
  color: #1a0dab;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 4px;
  text-decoration: none;
  display: block;
}

.serp-title:hover {
  text-decoration: underline;
}

.serp-snippet {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #4d5156;
}

.serp-date {
  color: #70757a;
  font-size: 0.82rem;
}

/* SEO Score Meter */
.seo-score-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid var(--admin-border);
  margin-top: 10px;
}

.seo-score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  background: var(--admin-success);
  flex-shrink: 0;
}

.seo-score-circle.medium {
  background: var(--admin-warning);
}

.seo-score-circle.low {
  background: var(--admin-danger);
}

.seo-score-info h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--admin-navy-dark);
}

.seo-score-info p {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
}

/* 13. Appointments & Consultation Management */
.badge-apt-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-apt-status.yeni {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-apt-status.arandi {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-apt-status.tamamlandi {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 14. Firebase Cloud Settings */
.cloud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.cloud-status-badge.online {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.cloud-status-badge.offline {
  background: rgba(100, 116, 139, 0.15);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* 15. Article Table Thumbnails */
.admin-table-thumb {
  width: 54px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--admin-border);
}

.admin-art-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
