/* ==========================================================================
   site.ac Modern Theme - Next-Gen Tech Glassmorphism & SaaS Design
   ========================================================================== */

:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(24, 34, 53, 0.9);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(99, 102, 241, 0.45);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.45);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.35);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body#siteac {
  background-color: var(--bg-main) !important;
  color: var(--text-main) !important;
  font-family: var(--font-family) !important;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
}

body#siteac a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
body#siteac a:hover {
  color: #38bdf8;
}

/* Navbar */
.siteac-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  padding: 12px 0;
  transition: background 0.3s;
}
.siteac-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.siteac-brand {
  display: inline-flex;
  align-items: center;
}
.siteac-brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.siteac-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Modern Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-modern-primary {
  background: var(--primary-gradient);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
}
.btn-modern-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-sub) !important;
}
.btn-modern-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}
.btn-modern-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5 !important;
}
.btn-modern-danger:hover {
  background: #ef4444;
  color: #fff !important;
}

/* Hero Section with Dynamic Blurred Background */
.siteac-hero {
  position: relative;
  padding: 90px 0 70px 0;
  text-align: center;
  overflow: hidden;
}
.siteac-hero .hero-bg-overlay {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.3);
  opacity: 0.65;
  z-index: 0;
  transform: scale(1.03);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.siteac-hero .container {
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.18;
  margin-bottom: 16px;
  color: #fff;
}
.hero-title .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 36px auto;
  font-weight: 400;
}

/* Domain Search Bar */
.domain-search-box {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 8px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.domain-search-box:focus-within {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.4);
}
.search-input-wrap {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.search-input-wrap i {
  color: var(--text-muted);
  font-size: 16px;
  margin-right: 12px;
}
.domain-input-text {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0;
  outline: none;
}
.domain-input-text::placeholder {
  color: #64748b;
  font-weight: 400;
}
.domain-select-ext {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  cursor: pointer;
}
.domain-select-ext option {
  background: #0f172a;
  color: #fff;
}
.domain-search-btn {
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.domain-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.search-result-banner {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  max-width: 90%;
  animation: fadeInDown 0.3s ease;
}
.search-result-banner.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.search-result-banner.danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Quick badges */
.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-badge-item i {
  color: var(--accent-cyan);
}

/* Domain Extensions 4-Column Grid */
.section-modern {
  padding: 80px 0;
  position: relative;
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-top: 0;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 550px;
  margin: 0 auto;
}

.extensions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.ext-card {
  flex: 0 1 calc(25% - 20px);
  min-width: 250px;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}
.ext-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.ext-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
}
.ext-card:hover::before {
  opacity: 1;
}
.ext-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.ext-badge {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.ext-badge span {
  color: var(--accent-cyan);
}
.ext-chip {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.ext-desc {
  color: var(--text-sub);
  font-size: 13.5px;
  margin-bottom: 14px;
  line-height: 1.4;
  min-height: 38px;
}
.ext-sample {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-family: monospace;
  color: #94a3b8;
  margin-bottom: 14px;
  word-break: break-all;
}
.ext-sample strong {
  color: #38bdf8;
}

/* Features / Services Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Content Pages (Rules, Announcements, FAQ, etc.) */
.content-box-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 30px auto;
  max-width: 1140px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.content-box-modern h1, .content-box-modern h2, .content-box-modern h3, .content-box-modern h5 {
  color: #fff;
  font-weight: 700;
}
.content-box-modern p, .content-box-modern li {
  color: var(--text-sub);
  font-size: 14.5px;
}

/* Modern Form Elements (Login, Register, Contact) */
.form-page {
  padding: 40px 15px;
  display: flex;
  justify-content: center;
}
.form-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  width: 100%;
  max-width: 520px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.form-card-modern h1 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}
.form-card-modern .form-group {
  margin-bottom: 18px;
}
.form-card-modern .input-group {
  display: flex;
  width: 100%;
}
.form-card-modern .input-group-addon {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-right: none !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 15px;
}
.form-card-modern .input-group .form-control {
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

/* Distinct Textarea Styling */
.form-card-modern .form-control {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-md) !important;
  height: 48px;
  padding: 10px 16px;
  font-size: 14.5px;
  box-shadow: none;
  transition: all 0.2s;
  width: 100%;
}
.form-card-modern .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3) !important;
  outline: none;
}
.form-card-modern textarea.form-control,
.form-card-modern .textarea-modern {
  height: auto !important;
  min-height: 120px !important;
  resize: vertical;
  line-height: 1.5;
  border-radius: var(--radius-md) !important;
}

/* ==========================================================================
   Panel View Theme (Re-imagined for dark/modern SaaS look)
   ========================================================================== */
.panel-wrapper {
  min-height: calc(100vh - 160px);
}
.panel-header-bar {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-card);
  padding: 14px 0;
  /* backdrop-filter: blur(12px); */
}
.panel-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
}
.panel-tab-btn.active, .panel-tab-btn:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.panel-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.panel-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.modern-dropdown {
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 6px !important;
  min-width: 180px;
}
.modern-dropdown li a {
  color: var(--text-sub) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.modern-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}

.panel-main-content {
  padding: 36px 0;
}
.panel-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}
.site-panel {
  background: transparent !important;
  color: var(--text-main) !important;
}

/* Panel Tables & Data Lists */
.site-panel .table {
  color: var(--text-sub);
  margin-top: 16px;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.site-panel .table thead th {
  background: rgba(30, 41, 59, 0.6) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-top: none;
  border-bottom: 1px solid var(--border-card) !important;
  padding: 12px 14px;
}
.site-panel .table tbody td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 12px 14px;
  font-size: 13.5px;
  vertical-align: middle;
}
.site-panel .table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.site-panel .form-control, .site-panel select, .site-panel input[type="text"], .site-panel input[type="textbox"] {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

/* ==========================================================================
   Trumbowyg WYSIWYG Editor Modern Dark Styling
   ========================================================================== */
.trumbowyg-box {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-md) !important;
  margin: 10px 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.trumbowyg-button-pane {
  background: rgba(30, 41, 59, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.trumbowyg-button-pane::after {
  background: rgba(255, 255, 255, 0.1) !important;
}
.trumbowyg-button-pane .trumbowyg-button-group::after {
  background: rgba(255, 255, 255, 0.1) !important;
}
.trumbowyg-button-pane button {
  color: #94a3b8 !important;
}
.trumbowyg-button-pane button svg {
  fill: #cbd5e1 !important;
  color: #cbd5e1 !important;
}
.trumbowyg-button-pane button:hover,
.trumbowyg-button-pane button:focus,
.trumbowyg-button-pane button.trumbowyg-active {
  background: rgba(99, 102, 241, 0.2) !important;
}
.trumbowyg-button-pane button:hover svg,
.trumbowyg-button-pane button.trumbowyg-active svg {
  fill: #a5b4fc !important;
}
.trumbowyg-editor {
  background: rgba(15, 23, 42, 0.7) !important;
  color: #f1f5f9 !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  padding: 16px 20px !important;
}
.trumbowyg-editor:focus {
  background: rgba(15, 23, 42, 0.9) !important;
}
.trumbowyg-textarea {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #38bdf8 !important;
  font-family: monospace !important;
  padding: 16px 20px !important;
}
.trumbowyg-dropdown {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius-sm) !important;
}
.trumbowyg-dropdown button {
  color: #e2e8f0 !important;
}
.trumbowyg-dropdown button svg {
  fill: #94a3b8 !important;
}
.trumbowyg-dropdown button:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  color: #fff !important;
}
.trumbowyg-dropdown button:hover svg {
  fill: #a5b4fc !important;
}
.trumbowyg-modal-box {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-md) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}
.trumbowyg-modal-box .trumbowyg-modal-title {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.trumbowyg-modal-box input {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 4px;
}
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit {
  background: var(--primary) !important;
  color: #fff !important;
}
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

/* ==========================================================================
   Domains Showcase Grid (content/domains)
   ========================================================================== */
.content-box-modern:has(.domain-showcase-grid) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  margin-top: 10px;
  max-width: 100% !important;
}
.content-box-modern:has(.domain-showcase-grid) > h2 {
  margin-bottom: 24px !important;
  border-bottom: 1px solid var(--border-card) !important;
  padding-bottom: 14px !important;
}
.domain-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.domain-showcase-col {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.domain-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.domain-col-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.domain-col-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.domain-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 650px;
  overflow-y: auto;
  padding-right: 6px;
}
.domain-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  min-width: 0;
  gap: 8px;
}
.domain-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}
.domain-item-link {
  font-weight: 600;
  font-size: 13.5px;
  color: #f1f5f9 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.domain-item-link > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.domain-item-num {
  color: #64748b;
  font-size: 11px;
  width: 20px;
}
.domain-item-type {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Footer */
.siteac-footer {
  border-top: 1px solid var(--border-card);
  background: rgba(7, 10, 18, 0.95);
  padding: 60px 0 30px 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--text-muted);
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748b;
  font-size: 13px;
}

/* ==========================================================================
   Responsive & Mobile Improvements
   ========================================================================== */
@media (max-width: 1200px) {
  .ext-card {
    flex: 0 1 calc(33.333% - 20px);
  }
}

@media (max-width: 991px) {
  .ext-card {
    flex: 0 1 calc(50% - 20px);
  }
  .domain-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .siteac-hero {
    padding: 60px 0 40px 0;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .domain-search-box {
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    display: grid;
  }
  .search-input-wrap {
    width: 100%;
    padding: 4px 8px;
  }
  .domain-select-ext {
    width: 100%;
    margin-bottom: 6px;
  }
  .domain-search-btn {
    width: 100%;
    justify-content: center;
  }
  .ext-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .panel-header-inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .panel-nav-right {
    width: 100%;
    justify-content: flex-end;
  }
  .panel-card-container {
    padding: 16px;
  }
}

/* ==========================================================================
   Dark Theme Table Overrides for Panel & Kayıtlar
   ========================================================================== */
#kayitlar, .kayitlar {
  color: var(--text-main) !important;
}

table.golgeli {
  width: 100% !important;
  background-color: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: var(--text-sub) !important;
}

table.golgeli thead,
table.golgeli thead tr,
table.golgeli thead tr th {
  background-color: rgba(30, 41, 59, 0.85) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  border-bottom: 1px solid var(--border-card) !important;
  padding: 12px 14px !important;
  letter-spacing: 0.3px;
}

table.golgeli thead tr th a,
table.golgeli thead tr th button,
table.golgeli thead tr th span {
  color: #fff !important;
}

table.golgeli tbody {
  background-color: transparent !important;
}

table.golgeli tbody tr {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background-color 0.2s ease;
}

table.golgeli tbody tr td {
  background-color: transparent !important;
  color: #e2e8f0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
}

table.golgeli tbody tr:hover,
table.golgeli tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
}

table.golgeli tbody tr td a {
  color: var(--accent-cyan) !important;
  font-weight: 600;
}
table.golgeli tbody tr td a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

table.golgeli tbody tr td .text-dark {
  color: #94a3b8 !important;
}

/* Table Input Textbox */
table.golgeli tr input[type=textbox],
table.golgeli tr input[type=text] {
  width: 100% !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-sm) !important;
}
table.golgeli tr input[type=textbox]:focus,
table.golgeli tr input[type=text]:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4) !important;
  outline: none !important;
}

/* Search Box Popover in Table Headers */
div.arama_kutusu {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 10px !important;
  color: #fff !important;
}
div.arama_kutusu label {
  color: var(--text-muted) !important;
}
div.arama_kutusu input.arama_yazi {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 10px !important;
}
div.arama_kutusu button.arama_buton {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px !important;
  margin-top: 4px !important;
}
div.arama_kutusu select {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 10px !important;
}

/* Pagination Dark Theme */
div.sayfalama {
  color: var(--text-sub) !important;
  padding: 16px 0 !important;
}
div.sayfalama .pagination {
  margin: 0 !important;
}
div.sayfalama .pagination li a {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-sub) !important;
  margin: 0 2px !important;
  border-radius: var(--radius-sm) !important;
}
div.sayfalama .pagination li.active a,
div.sayfalama .pagination li a:hover {
  background: var(--primary-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
}
div.sayfalama select.custom-select {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px 8px !important;
}

/* Top Filters & Controls */
.kayitlar-ust .input,
.kayitlar-ust select,
.kayitlar-ust input.datepicker {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 10px !important;
}
.kayitlar-ust .btn-black {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
}
.kayitlar-ust .btn-black:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

/* ==========================================================================
   Global Button Contrast & Visibility Fixes
   ========================================================================== */
.btn {
  font-family: var(--font-family) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
}

/* White Button (e.g. login/register alternative button) */
.btn-white,
a.btn-white,
.btn.btn-white {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.btn-white:hover,
.btn-white:focus,
.btn-white:active {
  background-color: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Gray Button (e.g. back buttons, action buttons) */
.btn-gray,
button.btn-gray,
a.btn-gray,
.btn.btn-gray {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f1f5f9 !important;
}
.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

/* Black Button */
.btn-black,
button.btn-black,
a.btn-black,
.btn.btn-black {
  background-color: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}
.btn-black:hover,
.btn-black:focus,
.btn-black:active {
  background-color: rgba(30, 41, 59, 1) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  color: #ffffff !important;
}

/* Default / Secondary Bootstrap Button */
.btn-default,
button.btn-default,
a.btn-default,
.btn.btn-default {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

/* Primary Button */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5) !important;
}

/* Success Button */
.btn-success,
button.btn-success,
a.btn-success,
.btn.btn-success {
  background-color: #10b981 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #059669 !important;
  color: #ffffff !important;
}

/* Danger Button */
.btn-danger,
button.btn-danger,
a.btn-danger,
.btn.btn-danger {
  background-color: #ef4444 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}

/* jQuery UI Dialog Buttons */
.ui-dialog .ui-dialog-buttonpane button {
  font-family: var(--font-family) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 14px !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   Complete Dark Form & Element Background Overrides
   ========================================================================== */
.form,
.site-panel .form,
.form-page .form,
.form-block {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(16px) !important;
}

.site-panel .form-page main,
.form-page main {
  background: transparent !important;
}

/* Global Form Controls & Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="textbox"],
input.form-control,
select.form-control,
textarea.form-control,
.form-control,
.site-panel .form-control {
  background-color: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="textbox"]:focus,
.form-control:focus {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35) !important;
  color: #ffffff !important;
}

.input-group-addon {
  background-color: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--text-muted) !important;
}

/* Checkbox and Radio Dark Styling */
label.input-checkbox > label > input + span {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(15, 23, 42, 0.7) !important;
}
label.input-checkbox > label > input + span:before {
  background-color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
label.input-checkbox > label > input:checked + span {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
label.input-checkbox > label > input:checked + span:before {
  background-color: #ffffff !important;
  border-color: transparent !important;
}

label.input-radio > input + span > span {
  background: rgba(15, 23, 42, 0.7) !important;
  color: var(--text-sub) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
label.input-radio > input:checked + span > span {
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Autofill Dark Background Override (Chrome/Edge/Safari) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.95) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Trumbowyg Editor Dark Mode */
.trumbowyg-box,
.trumbowyg-editor {
  background-color: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
}
.trumbowyg-button-pane {
  background-color: rgba(30, 41, 59, 0.9) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.trumbowyg-button-pane button {
  color: #cbd5e1 !important;
}
.trumbowyg-button-pane button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dividers in forms */
hr.hr-xs {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* Vertical Radio Cards Styling */
.input-radio-card input:checked + .radio-card-body {
  border-color: rgba(99, 102, 241, 0.7) !important;
  background: rgba(99, 102, 241, 0.15) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25) !important;
}

.input-radio-card input:checked + .radio-card-body .radio-indicator {
  border-color: #818cf8 !important;
  background: var(--primary) !important;
}

.input-radio-card input:checked + .radio-card-body .radio-dot {
  display: block !important;
}

.input-radio-card input:checked + .radio-card-body .radio-label-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.input-radio-card:hover .radio-card-body {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(30, 41, 59, 0.8) !important;
}

/* ==========================================================================
   Inner Pages & Subpages Dark Mode Overrides
   ========================================================================== */
.container.page,
.page,
div.page,
.site-panel .page {
  background: var(--bg-card) !important;
  color: var(--text-sub) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-lg) !important;
  padding: 32px 30px !important;
  margin-top: 30px !important;
  margin-bottom: 40px !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(16px) !important;
}

.container.page h1,
.container.page h2,
.container.page h3,
.container.page h4,
.container.page h5,
.container.page h6,
.page h1, .page h2, .page h3, .page h4, .page h5, .page h6 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.container.page p,
.container.page li,
.page p, .page li {
  color: var(--text-sub) !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

.container.page a,
.page a {
  color: var(--accent-cyan) !important;
}

.container.page a:hover,
.page a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.container.page pre,
.page pre,
pre.flex {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #38bdf8 !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-family: monospace !important;
  overflow-x: auto !important;
}

.container.page code,
.page code,
code.flex {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #38bdf8 !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-sm) !important;
  font-family: monospace !important;
  display: block;
  overflow-x: auto !important;
}

.container.page .table,
.container.page .table-bordered,
.page .table,
.page .table-bordered {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid var(--border-card) !important;
  color: var(--text-sub) !important;
}

.container.page .table td,
.container.page .table th,
.container.page .table-bordered td,
.container.page .table-bordered th,
.page .table td,
.page .table th {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 14px !important;
  color: var(--text-sub) !important;
}

.container.page .table tr td:first-child,
.page .table tr td:first-child {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Modal and jQuery UI Dialog Dark Theme */
.ui-dialog {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.8) !important;
  color: #f8fafc !important;
  padding: 0 !important;
}

.ui-dialog .ui-dialog-titlebar {
  background: rgba(30, 41, 59, 0.9) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  color: #ffffff !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
}

.ui-dialog .ui-dialog-titlebar-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-sm) !important;
  color: #cbd5e1 !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.ui-dialog .ui-dialog-content {
  padding: 24px 20px !important;
  color: var(--text-sub) !important;
  background: transparent !important;
}

.ui-dialog .ui-dialog-buttonpane {
  background: rgba(15, 23, 42, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 20px !important;
  margin: 0 !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

.ui-widget-overlay {
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  opacity: 1 !important;
}

/* Alert / Uyari Boxes Dark Mode */
.alert,
div.uyari {
  border-radius: var(--radius-md) !important;
  padding: 14px 18px !important;
  font-weight: 500 !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 20px !important;
}

.alert-success,
div.uyari.basarili {
  background-color: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #6ee7b7 !important;
}

.alert-danger,
div.uyari.basarisiz,
div.uyari.hata {
  background-color: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
}

.alert-warning,
div.uyari.dikkat {
  background-color: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fcd34d !important;
}

.alert-info,
div.uyari.bilgi {
  background-color: rgba(6, 182, 212, 0.15) !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  color: #67e8f9 !important;
}
