/* ==========================================================================
   reminders.umitcakil.com - Modern Dark & Glassmorphism Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette - Deep Futuristic Dark */
  --bg-main: #090d16;
  --bg-sidebar: #0d1322;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(24, 34, 53, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(99, 102, 241, 0.25);

  /* Accents */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --secondary: #8b5cf6;
  
  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.25);

  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.25);

  --rose: #ef4444;
  --rose-bg: rgba(239, 68, 68, 0.14);
  --rose-border: rgba(239, 68, 68, 0.35);

  --sky: #0ea5e9;
  --sky-bg: rgba(14, 165, 233, 0.12);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Layout - Ultra Compact & Modern */
  --sidebar-width: 195px;
  --header-height: 48px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

svg.lucide, i[data-lucide] {
  width: 13px !important;
  height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  stroke-width: 1.8 !important;
  vertical-align: middle;
  flex-shrink: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.04) 0px, transparent 60%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* ==========================================================================
   App Layout
   ========================================================================== */
.app-layout {
  display: block;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.sidebar-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.brand-logo {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 10px var(--primary-glow);
}
.brand-logo i, .brand-logo svg {
  width: 13px !important;
  height: 13px !important;
}

.brand-text h2 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.brand-text p {
  font-size: 9px;
  color: var(--primary-light);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.sidebar-nav {
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}

.nav-label {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  font-weight: 700;
  padding: 8px 8px 3px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-item-inner {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-item i, .nav-item svg {
  width: 13px !important;
  height: 13px !important;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  color: #fff;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}
.nav-item.active i, .nav-item.active svg {
  color: var(--primary-light);
}

.nav-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}
.nav-badge.danger {
  background: var(--rose-bg);
  color: #f87171;
  border: 1px solid var(--rose-border);
}

.sidebar-footer {
  padding: 8px;
  border-top: 1px solid var(--border-glass);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: white;
}

.user-info {
  flex: 1;
  min-width: 0;
}
.user-name {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-role {
  font-size: 9px;
  color: var(--text-dim);
}

/* Main Content Area */
.main-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Topbar Header */
.topbar {
  height: var(--header-height);
  background: rgba(13, 19, 34, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}

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

.topbar-title h1 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.topbar-title p {
  font-size: 10px;
  color: var(--text-muted);
}

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

.content-container {
  padding: 12px 14px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   Kritik Uyarı Banner'ı (7 Gün & Bitişi Yaklaşanlar)
   ========================================================================== */
.critical-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(185, 28, 28, 0.2));
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12);
  animation: pulseBorder 3s infinite ease-in-out;
}

@keyframes pulseBorder {
  0%, 100% { border-color: rgba(239, 68, 68, 0.35); }
  50% { border-color: rgba(239, 68, 68, 0.8); }
}

.critical-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.critical-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fca5a5;
  font-size: 13px;
  font-weight: 600;
}
.critical-title i, .critical-title svg {
  width: 14px !important;
  height: 14px !important;
}

.critical-badge {
  background: #ef4444;
  color: white;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.critical-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.critical-item-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.critical-item-card:hover {
  transform: translateY(-1px);
  border-color: #ef4444;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

.crit-name {
  font-weight: 600;
  font-size: 11.5px;
  color: #fff;
  margin-bottom: 1px;
}
.crit-meta {
  font-size: 10px;
  color: var(--text-muted);
}
.crit-days {
  text-align: right;
}

/* ==========================================================================
   Metrik Kartları (Stats Grid)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}
.stat-card:hover::before {
  opacity: 1;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon i, .stat-icon svg {
  width: 14px !important;
  height: 14px !important;
}
.stat-icon.primary { background: var(--primary-glow); color: var(--primary-light); }
.stat-icon.emerald { background: var(--emerald-bg); color: var(--emerald); }
.stat-icon.amber { background: var(--amber-bg); color: var(--amber); }
.stat-icon.rose { background: var(--rose-bg); color: var(--rose); }

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 10px;
  color: var(--text-dim);
}

/* ==========================================================================
   Kartlar, Tablolar ve Veri Görünümü - Ultra Kompakt Modern
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-title i, .card-title svg {
  color: var(--primary-light);
  width: 13px !important;
  height: 13px !important;
}

/* Arama ve Filtre Çubuğu */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  min-width: 150px;
  max-width: 200px;
}

.search-input-wrap i, .search-input-wrap svg {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 11px !important;
  height: 11px !important;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 26px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0 8px 0 26px;
  color: #fff;
  font-size: 11px;
  outline: none;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.filter-select {
  height: 32px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  color: #f8fafc;
  font-size: 12px;
  line-height: normal;
  outline: none;
  cursor: pointer;
}
.filter-select:focus {
  border-color: var(--primary);
}
.filter-select option {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 8px 10px;
}

/* Tablo Stilleri - Kompakt & Modern */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}

.custom-table th {
  background: rgba(13, 19, 34, 0.95);
  padding: 5px 6px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.custom-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.custom-table th.sortable:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.custom-table th .th-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.custom-table th .sort-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.15s ease, color 0.15s ease;
  vertical-align: middle;
}

.custom-table th.sortable:hover .sort-icon {
  opacity: 0.75;
  color: var(--primary-light, #38bdf8);
}

.custom-table th.sort-asc {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.05);
}

.custom-table th.sort-asc .sort-icon {
  opacity: 1;
  color: #38bdf8;
}

.custom-table th.sort-desc {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.05);
}

.custom-table th.sort-desc .sort-icon {
  opacity: 1;
  color: #38bdf8;
}

.custom-table td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
  color: var(--text-main);
  font-size: 11px;
  line-height: 1.3;
}

.custom-table tbody tr {
  transition: var(--transition);
}
.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

/* Askıda Olan Hesaplar / Alan Adları Vurgusu */
.custom-table tbody tr.row-suspended {
  background: rgba(239, 68, 68, 0.09) !important;
  box-shadow: inset 3px 0 0 #ef4444;
}
.custom-table tbody tr.row-suspended:hover {
  background: rgba(239, 68, 68, 0.16) !important;
}

/* Rozetler (Badges) - Zarif & Küçük */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 5px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.25;
}
.badge svg, .badge i {
  width: 10px !important;
  height: 10px !important;
}

.badge-success {
  background: var(--emerald-bg);
  color: #34d399;
  border: 1px solid var(--emerald-border);
}
.badge-warning {
  background: var(--amber-bg);
  color: #fbbf24;
  border: 1px solid var(--amber-border);
}
.badge-danger {
  background: var(--rose-bg);
  color: #f87171;
  border: 1px solid var(--rose-border);
}
.badge-info {
  background: var(--sky-bg);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.badge-primary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.badge-primary svg, .badge-primary i, .badge-primary * {
  color: #ffffff !important;
}
.btn-paid-toggle {
  color: #ffffff !important;
}

.pulse-danger {
  animation: pulseRed 2s infinite;
}
@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   Butonlar (Buttons) - Kompakt & Şık
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  outline: none;
  white-space: nowrap;
  line-height: 1;
}
.btn svg, .btn i {
  width: 12px !important;
  height: 12px !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-primary:hover {
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-danger {
  background: var(--rose-bg);
  border: 1px solid var(--rose-border);
  color: #f87171;
}
.btn-danger:hover {
  background: #ef4444;
  color: white;
}

.btn-sm {
  height: 22px;
  padding: 0 7px;
  font-size: 10px;
  border-radius: 3px;
}
.btn-sm svg, .btn-sm i {
  width: 11px !important;
  height: 11px !important;
}

.btn-icon, .btn-icon-sm {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon svg, .btn-icon i,
.btn-icon-sm svg, .btn-icon-sm i {
  width: 11px !important;
  height: 11px !important;
}

/* Tablo içindeki işlem ikon butonlarını garantile */
td .btn-icon, td .btn-icon-sm {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border-radius: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
td .btn-icon svg, td .btn-icon-sm svg,
td .btn-icon i, td .btn-icon-sm i {
  width: 11px !important;
  height: 11px !important;
}

/* ==========================================================================
   Modal Pencereleri
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Form Elemanları */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

select.form-control {
  height: 38px !important;
  line-height: normal !important;
  padding: 6px 36px 6px 12px !important;
  font-size: 13px !important;
  color: #f8fafc !important;
  background-color: #0f172a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
  box-sizing: border-box;
}

select.form-control option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 10px 14px !important;
  font-size: 13px;
}

/* ==========================================================================
   Toast Bildirimleri (Alerts / Flash)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-left: 4px solid var(--emerald); }
.toast-error { border-left: 4px solid var(--rose); }
.toast-warning { border-left: 4px solid var(--amber); }

/* ==========================================================================
   Login Sayfası Stili
   ========================================================================== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.auth-brand {
  display: inline-flex;
  margin-bottom: 24px;
}

/* Barınan Domainler Popover / Modal Kartları */
.hosted-domain-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
  transition: var(--transition);
}
.hosted-domain-pill:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
}
.hosted-domain-pill .domain-name {
  font-weight: 500;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hosted-domain-pill .pill-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hosted-domain-pill .pill-actions a,
.hosted-domain-pill .pill-actions button {
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.hosted-domain-pill .pill-actions a:hover,
.hosted-domain-pill .pill-actions button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Düzen */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-wrapper {
    margin-left: 0;
  }
  .topbar {
    padding: 0 20px;
  }
  .content-container {
    padding: 20px;
  }
}

/* ==========================================================================
   Hızlı Filtre Rozetleri (Filter Pills)
   ========================================================================== */
.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  user-select: none;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.filter-pill.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.filter-pill .pill-count {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 9.5px;
  font-weight: 600;
}

.filter-pill.active .pill-count {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

/* ==========================================================================
   Kayan Toplu İşlem Çubuğu (Floating Batch Actions Bar)
   ========================================================================== */
.batch-actions-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
  border-radius: 40px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.batch-actions-bar.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.batch-count-badge {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Canlı Uptime & Durum Noktası (Pulse Dots)
   ========================================================================== */
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.status-dot.online {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

.status-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
}

.status-dot.checking {
  background: #f59e0b;
  animation: pulse-checking 1.2s infinite ease-in-out;
}

@keyframes pulse-checking {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ==========================================================================
   WhatsApp Aksiyon Butonu
   ========================================================================== */
.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Hızlı Fiyat Düzenleme Butonu (Sunucu & Domain)
   ========================================================================== */
.btn-quick-price {
  transition: all 0.15s ease-in-out;
}
.btn-quick-price:hover {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}


