/* ==========================================================================
   Hostzilla + DataLife Engine (DLE) Seamless Integration Stylesheet
   ========================================================================== */

:root {
  --hz-primary: #457BFF;
  --hz-primary-dark: #3164e6;
  --hz-dark: #111827;
  --hz-text: #1F2937;
  --hz-muted: #6B7280;
  --hz-border: #E5E7EB;
  --hz-card-bg: #FFFFFF;
  --hz-bg-soft: #F9FAFB;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--hz-text);
  background-color: #F8FAFC;
}

/* Header & Nav refinement */
.main-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Breadcrumb area */
.hostzilla-breadcrumb-area {
  background: #ffffff;
  border-bottom: 1px solid var(--hz-border);
  padding: 14px 0;
  font-size: 14px;
}
.hostzilla-breadcrumb-area a {
  color: var(--hz-muted);
  transition: color 0.2s;
}
.hostzilla-breadcrumb-area a:hover {
  color: var(--hz-primary);
}

/* Main Body Layout */
.hostzilla-main-body {
  min-height: 50vh;
  padding: 48px 0;
}

/* DLE Story / Article Cards */
.dle-card,
article.story,
.feed__item {
  background: var(--hz-card-bg);
  border: 1px solid var(--hz-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.dle-card:hover,
article.story:hover,
.feed__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.story__title,
.story-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.story__title a,
.story-title a {
  color: var(--hz-dark);
  text-decoration: none;
}
.story__title a:hover,
.story-title a:hover {
  color: var(--hz-primary);
}

.story__meta,
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--hz-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.story__content,
.story-text {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 20px;
}

/* DLE Buttons & Links */
.btn-hostzilla,
.btn-primary,
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--hz-primary) !important;
  border-color: var(--hz-primary) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}
.btn-hostzilla:hover,
.btn-primary:hover,
.primary-button:hover {
  background-color: var(--hz-primary-dark) !important;
  border-color: var(--hz-primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(69, 123, 255, 0.3);
}

/* DLE Pagination */
.navigation,
.pagination,
.dle-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.navigation a,
.navigation span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  color: var(--hz-text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.navigation a:hover,
.pagination a:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--hz-primary);
}
.navigation span.current,
.pagination .active span,
.pagination span.current {
  background: var(--hz-primary);
  border-color: var(--hz-primary);
  color: #ffffff;
}

/* DLE Sidebar Blocks */
.sidebar-box,
.block {
  background: #ffffff;
  border: 1px solid var(--hz-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sidebar-box__title,
.block_title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hz-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.sidebar-box__title::after,
.block_title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--hz-primary);
}

/* Form inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
  border: 1px solid var(--hz-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--hz-dark);
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--hz-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 123, 255, 0.15) !important;
}

/* DLE System info & alerts */
.info-box,
#dle-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px;
}

/* Footer overrides */
.footer {
  background-color: #0b0f19;
  color: #9ca3af;
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer_link_title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer_link_list li a {
  color: #9ca3af;
  font-size: 14px;
  line-height: 2;
  transition: color 0.2s;
}
.footer_link_list li a:hover {
  color: #ffffff;
}
.footer_policies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer_policies ul li a {
  color: #9ca3af;
  font-size: 14px;
}
.footer_policies ul li a:hover {
  color: #ffffff;
}
.footer_copyright p {
  margin: 0;
  font-size: 14px;
}
