
/* Logtool DX - Kadence App Mode 3.5 */

/* Kadence / WordPress Theme Rahmen auf Logtool-Seiten minimieren */
body:has(.ltcb-wrap) #masthead,
body:has(.ltcb-wrap) .site-header,
body:has(.ltcb-wrap) .site-footer,
body:has(.ltcb-wrap) #colophon,
body:has(.ltcb-wrap) .entry-header,
body:has(.ltcb-wrap) .entry-title,
body:has(.ltcb-wrap) .page-title,
body:has(.ltcb-wrap) .content-title-style-above,
body:has(.ltcb-wrap) .kadence-breadcrumbs,
body:has(.ltcb-wrap) .wp-block-post-title,
body:has(.ltcb-wrap) header.wp-block-template-part,
body:has(.ltcb-wrap) footer.wp-block-template-part {
  display: none !important;
}

body:has(.ltcb-wrap) {
  background:
    radial-gradient(circle at 15% 8%, rgba(34, 211, 238, .22), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, .18), transparent 34%),
    radial-gradient(circle at 45% 90%, rgba(34, 197, 94, .10), transparent 35%),
    #050814 !important;
  color: #fff !important;
}

body:has(.ltcb-wrap) #primary,
body:has(.ltcb-wrap) #main,
body:has(.ltcb-wrap) .site-main,
body:has(.ltcb-wrap) .content-area,
body:has(.ltcb-wrap) .entry-content,
body:has(.ltcb-wrap) .content-container,
body:has(.ltcb-wrap) .kt-row-column-wrap,
body:has(.ltcb-wrap) .wp-site-blocks,
body:has(.ltcb-wrap) main {
  margin-top: 0 !important;
  padding-top: 0 !important;
  max-width: none !important;
}

body:has(.ltcb-wrap) .entry-content {
  margin: 0 !important;
}

body:has(.ltcb-wrap) .content-wrap,
body:has(.ltcb-wrap) .site-container,
body:has(.ltcb-wrap) .wp-block-group {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* App Shell */
.ltcb-wrap {
  width: min(1560px, calc(100vw - 28px)) !important;
  margin: 0 auto !important;
  padding: 28px 14px 70px !important;
  min-height: 100vh;
}

/* Logo sauber oben */
.ltcb-wrap::before {
  content: "";
  display: block;
  width: min(420px, 84vw);
  height: 120px;
  margin: 0 auto 18px;
  background: url("../logo.svg") center/contain no-repeat;
  filter: drop-shadow(0 18px 45px rgba(34, 211, 238, .36));
}

/* Navigation wie App */
.ltcb-nav {
  position: sticky !important;
  top: 12px !important;
  z-index: 9990 !important;
  margin: 0 auto 24px !important;
  padding: 10px !important;
  border-radius: 24px !important;
  background: rgba(2, 6, 23, .74) !important;
  backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(34, 211, 238, .20) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .34) !important;
}

.ltcb-nav a {
  border-radius: 16px !important;
  transition: transform .18s ease, background .18s ease, color .18s ease !important;
}

.ltcb-nav a:hover {
  transform: translateY(-2px);
  background: rgba(34, 211, 238, .16) !important;
  color: #67e8f9 !important;
}

/* Hero noch mehr App/SaaS */
.ltcb-hero,
.ltcb-panel,
.ltcb-card,
.ltcb-auth-card,
.ltcb-locator-box,
.ltcb-io-card {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .86), rgba(2, 6, 23, .78)) !important;
  border: 1px solid rgba(34, 211, 238, .18) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(16px) !important;
}

.ltcb-hero h1,
.ltcb-auth-left h1 {
  letter-spacing: -.04em;
  background: linear-gradient(90deg, #fff 0%, #dffbff 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Form/App Felder */
.ltcb-form input,
.ltcb-form textarea,
.ltcb-form select,
.ltcb-dir-search input {
  background: rgba(2, 6, 23, .72) !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.ltcb-form input:focus,
.ltcb-form textarea:focus,
.ltcb-form select:focus,
.ltcb-dir-search input:focus {
  border-color: rgba(34, 211, 238, .60) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .13) !important;
  outline: none !important;
}

/* Tabellen luftiger */
.ltcb-table-wrap {
  border-radius: 24px !important;
  overflow: auto !important;
  border: 1px solid rgba(34, 211, 238, .14) !important;
}

.ltcb-table th {
  background: rgba(34, 211, 238, .10) !important;
  color: #bff6ff !important;
  font-size: 12px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ltcb-table td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

/* Login Page */
.ltcb-auth-modern {
  width: min(1480px, calc(100vw - 28px)) !important;
}

.ltcb-auth-shell {
  min-height: calc(100vh - 80px);
  align-items: center;
}

.ltcb-auth-brand {
  font-size: 0 !important;
  display: block !important;
  width: min(460px, 86vw) !important;
  height: 130px !important;
  background: url("../logo.svg") left center/contain no-repeat !important;
  filter: drop-shadow(0 18px 45px rgba(34, 211, 238, .36));
}

/* Mobile */
@media (max-width: 900px) {
  .ltcb-wrap {
    width: min(100vw, calc(100vw - 16px)) !important;
    padding: 18px 8px 80px !important;
  }

  .ltcb-wrap::before {
    height: 92px;
    margin-bottom: 12px;
  }

  .ltcb-nav {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start !important;
    border-radius: 20px !important;
  }

  .ltcb-nav a {
    flex: 0 0 auto;
  }

  .ltcb-auth-brand {
    height: 100px !important;
  }
}
