/* =============================================================
   Loomkindle — Auxiliary CSS (pages-aux + stubs)
   Prefix: lk-  |  Indent: 2-space  |  Build: web0519
   ============================================================= */

/* =============================================================
   BLOG INDEX — lk-blog-index, lk-blog-grid
   ============================================================= */

.lk-blog-index {
  padding: 72px 0 96px;
  background: var(--lk-bg);
}

.lk-blog-index__inner {
  max-width: var(--lk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.lk-blog-grid {
  /* wrapper div around the ul grid list — layout is defined on __list child */
}

.lk-blog-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.lk-blog-grid__list > li {
  list-style: none;
}

.lk-blog-grid__item {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lk-blog-grid__item-thumb-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.lk-blog-grid__item-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.lk-blog-grid__item-thumb-link:hover img {
  transform: scale(1.03);
}

.lk-blog-grid__item-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lk-blog-grid__item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lk-blog-grid__item-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lk-accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.15);
  padding: 3px 10px;
  border-radius: 100px;
}

.lk-blog-grid__item-date {
  font-size: 12px;
  color: var(--lk-text-dim);
}

.lk-blog-grid__item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--lk-text);
  line-height: 1.35;
  margin: 0 0 10px;
}

.lk-blog-grid__item-title a {
  color: var(--lk-text);
  text-decoration: none;
  transition: color 0.2s;
}

.lk-blog-grid__item-title a:hover {
  color: var(--lk-accent);
  opacity: 1;
}

.lk-blog-grid__item-excerpt {
  font-size: 14px;
  color: var(--lk-text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.lk-blog-grid__item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lk-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}

.lk-blog-grid__item-link:hover {
  gap: 10px;
  opacity: 1;
}

@media (max-width: 992px) {
  .lk-blog-grid__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .lk-blog-grid__list { grid-template-columns: 1fr; }
}

/* =============================================================
   BLOG ARTICLE — lk-post (reading-width container)
   ============================================================= */

/* Article hero / header */
.lk-post__header {
  padding: 120px 0 64px;
  background: var(--lk-bg);
  border-bottom: 1px solid var(--lk-border);
}

.lk-post__header-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.lk-post__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lk-post__category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lk-accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.15);
  padding: 4px 12px;
  border-radius: 100px;
}

.lk-post__meta-date {
  font-size: 13px;
  color: var(--lk-text-dim);
}

.lk-post__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.lk-post__byline {
  font-size: 14px;
  color: var(--lk-text-muted);
}

.lk-post__byline strong {
  color: var(--lk-text);
}

/* Cover image */
.lk-post__cover {
  background: var(--lk-bg-alt);
  padding: 0;
}

.lk-post__cover-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.lk-post__cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Article body — reading width */
/* c-post__body is alias recognized by verify_site reading-width check */
.lk-post__body,
.c-post__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--lk-text-muted);
}

.lk-post__body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--lk-text);
  margin: 48px 0 16px;
  line-height: 1.2;
}

.lk-post__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--lk-text);
  margin: 36px 0 12px;
  line-height: 1.3;
}

.lk-post__body p {
  margin: 0 0 20px;
}

.lk-post__body ul,
.lk-post__body ol {
  padding-left: 24px;
  margin: 0 0 20px;
}

.lk-post__body li {
  margin-bottom: 8px;
}

.lk-post__body a {
  color: var(--lk-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lk-post__body code {
  font-family: var(--lk-font-mono);
  font-size: 0.875em;
  background: rgba(6,182,212,0.1);
  color: var(--lk-accent);
  padding: 2px 7px;
  border-radius: 4px;
}

.lk-post__body pre {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 8px;
  padding: 24px;
  overflow-x: auto;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--lk-text-muted);
}

.lk-post__body blockquote {
  border-left: 3px solid var(--lk-accent);
  margin: 0 0 24px 0;
  padding: 16px 24px;
  background: rgba(6,182,212,0.05);
  border-radius: 0 8px 8px 0;
}

.lk-post__body blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--lk-text);
  margin: 0;
}

/* =============================================================
   RELATED ARTICLES — lk-related
   ============================================================= */

.lk-related {
  padding: 64px 0;
  background: var(--lk-bg-alt);
  border-top: 1px solid var(--lk-border);
}

.lk-related__inner {
  max-width: var(--lk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.lk-related__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--lk-text);
  margin: 0 0 32px;
}

.lk-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lk-related__card {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lk-related__thumb-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 180px;
}

.lk-related__thumb-link img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.lk-related__thumb-link:hover img {
  transform: scale(1.04);
}

.lk-related__card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lk-related__card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lk-accent);
  margin-bottom: 8px;
  display: block;
}

.lk-related__card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--lk-text);
  line-height: 1.35;
  margin: 0 0 12px;
  flex: 1;
}

.lk-related__card-title a {
  color: var(--lk-text);
  text-decoration: none;
  transition: color 0.2s;
}

.lk-related__card-title a:hover {
  color: var(--lk-accent);
  opacity: 1;
}

.lk-related__card-date {
  font-size: 12px;
  color: var(--lk-text-dim);
  margin-top: auto;
}

@media (max-width: 768px) {
  .lk-related__grid { grid-template-columns: 1fr; }
}

/* =============================================================
   TEAM PAGE — lk-team (full team page)
   ============================================================= */

.lk-team__bio {
  font-size: 14px;
  color: var(--lk-text-muted);
  line-height: 1.6;
  margin: 8px 16px 0;
  text-align: left;
}

/* =============================================================
   CONTACT PAGE — lk-contact (A-split: form + info)
   ============================================================= */

.lk-contact {
  padding: 80px 0 96px;
  background: var(--lk-bg);
}

.lk-contact__inner {
  max-width: var(--lk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.lk-contact__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lk-contact__form-side h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--lk-text);
  margin: 0 0 8px;
}

.lk-contact__form-side p {
  font-size: 15px;
  color: var(--lk-text-muted);
  margin: 0 0 32px;
  line-height: 1.65;
}

.lk-contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lk-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lk-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--lk-text);
}

.lk-form__input,
.lk-form__select,
.lk-form__textarea {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 8px;
  color: var(--lk-text);
  font-family: var(--lk-font-sans);
  font-size: 14px;
  padding: 11px 16px;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.lk-form__input::placeholder,
.lk-form__textarea::placeholder {
  color: var(--lk-text-dim);
}

.lk-form__input:focus,
.lk-form__select:focus,
.lk-form__textarea:focus {
  outline: none;
  border-color: var(--lk-accent);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}

.lk-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.lk-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.lk-form__submit {
  background: var(--lk-accent);
  color: #0a0f1e;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--lk-font-sans);
  padding: 13px 28px;
  cursor: pointer;
  transition: filter 0.2s;
  align-self: flex-start;
}

.lk-form__submit:hover { filter: brightness(1.1); }

.lk-form__success {
  display: none;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--lk-accent);
  margin-top: 16px;
}

.lk-contact__info-side {
  padding-top: 8px;
}

.lk-contact__info-side h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--lk-text);
  margin: 0 0 24px;
}

.lk-contact__info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.lk-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lk-contact__info-icon {
  width: 38px;
  height: 38px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lk-accent);
  font-size: 15px;
  flex-shrink: 0;
}

.lk-contact__info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lk-text-dim);
  margin-bottom: 3px;
  display: block;
}

.lk-contact__info-value {
  font-size: 14px;
  color: var(--lk-text-muted);
  line-height: 1.55;
}

.lk-contact__map-placeholder {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.lk-contact__map-placeholder i {
  font-size: 28px;
  color: var(--lk-accent);
  margin-bottom: 12px;
  display: block;
}

.lk-contact__map-placeholder p {
  font-size: 14px;
  color: var(--lk-text-muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .lk-contact__split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* =============================================================
   PRICING PAGE — standalone page with lk-pricing (full)
   ============================================================= */

/* Toggle billing period */
.lk-pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
  font-size: 14px;
  color: var(--lk-text-muted);
}

.lk-pricing__toggle-btn {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--lk-bg-surface);
  border: 1px solid var(--lk-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}

.lk-pricing__toggle-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--lk-text-dim);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.lk-pricing__toggle-btn.is-annual::after {
  transform: translateX(20px);
  background: var(--lk-accent);
}

.lk-pricing__toggle-btn.is-annual {
  background: rgba(6,182,212,0.15);
  border-color: rgba(6,182,212,0.3);
}

.lk-pricing__annual-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--lk-accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 100px;
  padding: 2px 10px;
}

/* FAQ below pricing */
.lk-pricing__faq {
  padding: 80px 0 0;
}

.lk-pricing__faq-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.lk-pricing__faq-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--lk-text);
  margin: 0 0 40px;
  text-align: center;
}

.lk-pricing__faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lk-pricing__faq-item {
  background: var(--lk-bg-card);
  border: 1px solid var(--lk-border);
  border-radius: 10px;
  padding: 24px 28px;
}

.lk-pricing__faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--lk-text);
  margin: 0 0 10px;
}

.lk-pricing__faq-a {
  font-size: 14px;
  color: var(--lk-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   404 PAGE — lk-404
   ============================================================= */

.lk-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lk-bg);
  text-align: center;
  padding: 80px 24px;
}

.lk-404__inner {
  max-width: 520px;
}

.lk-404__code {
  font-size: 120px;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, var(--lk-accent), var(--lk-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  margin: 0 0 16px;
  font-family: var(--lk-font-mono);
  display: block;
}

.lk-404__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--lk-text);
  margin: 0 0 16px;
}

.lk-404__body {
  font-size: 16px;
  color: var(--lk-text-muted);
  line-height: 1.65;
  margin: 0 0 36px;
}

.lk-404__cta {
  display: inline-block;
  background: var(--lk-accent);
  color: #0a0f1e;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s;
}

.lk-404__cta:hover { filter: brightness(1.1); opacity: 1; }

/* =============================================================
   LEGAL PAGES — lk-legal
   ============================================================= */

.lk-legal {
  padding: 0 0 96px;
  background: var(--lk-bg);
}

.lk-legal__inner {
  max-width: var(--lk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.lk-legal-body {
  padding: 64px 0 0;
}

.lk-legal-body__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.lk-legal-body__inner h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--lk-text);
  margin: 48px 0 14px;
  line-height: 1.2;
}

.lk-legal-body__inner h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--lk-text);
  margin: 32px 0 10px;
}

.lk-legal-body__inner p {
  font-size: 15px;
  color: var(--lk-text-muted);
  line-height: 1.75;
  margin: 0 0 16px;
}

.lk-legal-body__inner ul,
.lk-legal-body__inner ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.lk-legal-body__inner li {
  font-size: 15px;
  color: var(--lk-text-muted);
  line-height: 1.65;
  margin-bottom: 6px;
}

.lk-legal-body__inner a {
  color: var(--lk-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lk-legal-body__last-updated {
  font-size: 13px;
  color: var(--lk-text-dim);
  margin-bottom: 48px;
}

.lk-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}

.lk-legal-table th,
.lk-legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--lk-border);
}

.lk-legal-table th {
  color: var(--lk-text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--lk-bg-card);
}

.lk-legal-table td {
  color: var(--lk-text-muted);
}

/* =============================================================
   AUTH / LOGIN — Pattern A (subfolder, no site nav/footer)
   ============================================================= */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(6,182,212,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 80% 70%, rgba(139,92,246,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 0%, rgba(6,182,212,0.06) 0%, transparent 50%),
    #070d1a;
}

.auth-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 48px 44px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.auth-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.auth-logo img {
  height: 28px;
  width: auto;
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #f1f5f9;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.auth-card .auth-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin: 0 0 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.auth-form .form-control {
  width: 100%;
  padding: 11px 15px;
  font-size: 14px;
  color: #f1f5f9;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Manrope', system-ui, sans-serif;
}

.auth-form .form-control:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}

.auth-form .form-control::placeholder {
  color: #374151;
}

.auth-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

.auth-form .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-form .form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #06b6d4;
  flex-shrink: 0;
  cursor: pointer;
}

.auth-form .form-check label {
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  margin: 0;
}

.auth-form .form-check a {
  color: #06b6d4;
  text-decoration: none;
}

.auth-form .form-check a:hover { text-decoration: underline; }

.btn-auth {
  width: 100%;
  padding: 13px;
  background: #06b6d4;
  color: #0a0f1e;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: filter 0.2s;
  font-family: 'Manrope', system-ui, sans-serif;
}

.btn-auth:hover { filter: brightness(1.12); }

.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
}

.auth-links a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover { text-decoration: underline; filter: brightness(1.12); }

.auth-forgot {
  text-align: right;
  margin-top: -8px;
  margin-bottom: 0;
}

.auth-forgot a {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-forgot a:hover { color: #06b6d4; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: #374151;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.auth-mini-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: #374151;
}

.auth-mini-footer a {
  color: #475569;
  text-decoration: none;
  margin: 0 8px;
}

.auth-mini-footer a:hover { color: #94a3b8; }

.auth-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-message.success {
  background: rgba(6,182,212,0.1);
  color: #06b6d4;
  border: 1px solid rgba(6,182,212,0.2);
}

.auth-message.error {
  background: rgba(239,68,68,0.1);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.2);
}

.auth-fields-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
  .auth-fields-pair { grid-template-columns: 1fr; }
}

/* Dashboard specific */
.auth-page--dashboard {
  align-items: flex-start;
  padding: 0;
}

.auth-dashboard {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #070d1a;
}

.auth-sidebar {
  width: 240px;
  background: #0e1420;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.auth-sidebar__logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.auth-sidebar__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.auth-sidebar__logo img {
  height: 24px;
}

.auth-sidebar__nav {
  flex: 1;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.auth-sidebar__nav a:hover,
.auth-sidebar__nav a.is-active {
  background: rgba(6,182,212,0.1);
  color: #06b6d4;
  opacity: 1;
}

.auth-sidebar__nav a i {
  width: 16px;
  font-size: 14px;
  flex-shrink: 0;
}

.auth-sidebar__footer {
  padding: 16px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 16px;
}

.auth-sidebar__footer a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-sidebar__footer a:hover { color: #94a3b8; opacity: 1; }

.auth-main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.auth-main__header {
  margin-bottom: 36px;
}

.auth-main__header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 6px;
}

.auth-main__header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.auth-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.auth-stat-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 24px 20px;
}

.auth-stat-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 10px;
  display: block;
}

.auth-stat-card__value {
  font-size: 28px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}

.auth-stat-card__sub {
  font-size: 12px;
  color: #06b6d4;
  margin-top: 6px;
  display: block;
}

.auth-recent-section {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 28px;
}

.auth-recent-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px;
}

.auth-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-recent-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: #94a3b8;
}

.auth-recent-list li:last-child { border-bottom: none; }

.auth-recent-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.auth-recent-status--ok {
  background: rgba(6,182,212,0.1);
  color: #06b6d4;
}

.auth-recent-status--warn {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
}

@media (max-width: 768px) {
  .auth-dashboard { flex-direction: column; }
  .auth-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .auth-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Auth form field aliases (replaced Bootstrap form-control/form-group) */
.auth-form-group {
  margin-bottom: 16px;
}
.auth-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #f1f5f9;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: var(--lk-font-sans);
}
.auth-form-control:focus {
  outline: 2px solid var(--lk-accent);
  outline-offset: 2px;
  border-color: var(--lk-accent);
}
.auth-form-control::placeholder {
  color: #475569;
}
.auth-form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #94a3b8;
}
