/* Premium Plus enhancements — enterprise shell */

.app-shell--enterprise .intel-main {
  animation: intelFadeUp 0.5s ease-out;
}

.app-shell--enterprise .dash-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.94) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 36px rgba(99, 102, 241, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.app-shell--enterprise .dash-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
  opacity: 0.75;
  pointer-events: none;
}

.app-shell--enterprise .dash-panel:hover {
  border-color: rgba(165, 180, 252, 0.9);
  box-shadow:
    0 4px 20px rgba(99, 102, 241, 0.12),
    0 16px 48px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.app-shell--enterprise .dash-panel.pp-banner::after,
.app-shell--enterprise .dash-setup-banner-wrap::after {
  display: none;
}

.app-shell--enterprise .intel-page-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 255, 0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.app-shell--enterprise .intel-page-title {
  background: linear-gradient(135deg, #0b1220 0%, #3730a3 55%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-shell--enterprise .dash-setup-banner {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98) 0%, rgba(254, 243, 199, 0.85) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.1);
  backdrop-filter: blur(8px);
}

.app-shell--enterprise .intel-page-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-shell--enterprise .seo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.app-shell--enterprise .seo-table-wrap .seo-table {
  min-width: 640px;
}

.app-shell--enterprise .ui-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.app-shell--enterprise .ui-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.app-shell--enterprise .intel-kpi {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.app-shell--enterprise .intel-kpi:hover {
  border-color: rgba(165, 180, 252, 0.8);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

/* Auth polish */
.auth-card {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 64px rgba(99, 102, 241, 0.12);
}

.auth-page .ui-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

@media (max-width: 768px) {
  .app-shell--enterprise .intel-main {
    padding: 20px 16px 40px;
  }

  .app-shell--enterprise .intel-page-header {
    padding: 20px 18px;
  }

  .app-shell--enterprise .intel-page-title {
    font-size: 28px;
  }
}
