/* NeuroPitch™ admin.css */

.np-admin-wrap { margin-top: 10px; }
.np-admin-wrap h1 { display: flex; align-items: center; gap: 10px; }
.np-version {
  display: inline-block;
  background: #eef2ff;
  color: #3346aa;
  border: 1px solid #dce4ff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
}

.np-admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.np-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  padding: 18px 20px;
}

.np-card h2 { margin-top: 0; font-size: 15px; }

/* ── Toggle switch ────────────────────────────────────────────────── */
.np-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  vertical-align: middle;
}
.np-switch input { display: none; }
.np-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #c5cad3;
  border-radius: 999px;
  transition: .2s;
}
.np-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: .2s;
}
.np-switch input:checked + .np-slider { background: #22c55e; }
.np-switch input:checked + .np-slider:before { transform: translateX(20px); }

/* ── Preview widget ───────────────────────────────────────────────── */
.np-preview-widget {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  max-width: 300px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.np-preview-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
.np-preview-widget h3 { margin: 0 28px 6px 0; font-size: 16px; }
.np-preview-widget p  { margin: 0 0 10px; font-size: 13px; color: #555; }
.np-preview-cta {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
}

/* ── Offers card ──────────────────────────────────────────────────── */
.np-offers-card { margin-bottom: 20px; }
.np-offers-card h2 { overflow: hidden; }

.np-offers-table { border-radius: 8px; overflow: hidden; }
.np-col-status { width: 20px; text-align: center; color: #22c55e; }
.np-col-intent { color: #555; }
.np-col-stat   { text-align: right; min-width: 50px; }
.np-col-actions { text-align: right; white-space: nowrap; }

/* ── Modal ────────────────────────────────────────────────────────── */
.np-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.np-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
}
.np-modal-content h2 { margin-top: 0; }
.np-modal-content h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
                   color: #888; border-bottom: 1px solid #eee; padding-bottom: 6px; margin-top: 24px; }
.np-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.np-modal-close:hover { color: #333; }

/* ── Welcome / onboarding box ─────────────────────────────────────── */
.np-welcome-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #c3d4e4;
    border-left: 4px solid #2271b1;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.np-welcome-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.np-welcome-box strong {
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
    color: #1d2327;
}
.np-welcome-box p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #50575e;
    line-height: 1.6;
}
.np-welcome-box p:last-child { margin-bottom: 0; }
.np-welcome-box a { color: #2271b1; }


/* ── Admin tabs ───────────────────────────────────────────────────── */
.np-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #c3c4c7;
    margin-bottom: 20px;
}
.np-tab {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    color: #646970;
    font-size: 14px;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    border-radius: 4px 4px 0 0;
}
.np-tab:hover { color: #1d2327; }
.np-tab.active {
    color: #1d2327;
    background: #fff;
    border-color: #c3c4c7;
    font-weight: 500;
}
.np-tab-cloud { color: #8b5cf6; font-weight: 500; }
.np-tab-cloud:hover { color: #7c3aed; }
.np-tab-cloud.active { color: #7c3aed; border-color: #c3c4c7; }

/* ── Cloud services page ─────────────────────────────────────────────────────── */
.np-cloud-page { max-width: 960px; }

.np-cloud-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-radius: 14px;
    padding: 36px 40px;
    margin-bottom: 28px;
    color: #fff;
}
.np-cloud-hero h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}
.np-cloud-hero p {
    margin: 0 0 24px;
    font-size: 15px;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    max-width: 560px;
}
.np-cloud-cta-btn {
    display: inline-block;
    background: #fff;
    color: #312e81 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: opacity .15s;
}
.np-cloud-cta-btn:hover { opacity: .9; }

.np-cloud-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.np-cloud-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.np-cloud-feature-icon {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1;
}
.np-cloud-feature-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}
.np-cloud-feature-card p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #50575e;
    line-height: 1.55;
}
.np-cloud-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}
.np-cloud-footer p {
    margin-top: 12px;
    color: #646970;
    font-size: 13px;
}
.np-cloud-footer a { color: #2271b1; }

/* ── Targeted table adjustments ─────────────────────────────────── */

/* Center statistic columns */
.np-offers-table th:nth-child(4),
.np-offers-table th:nth-child(5),
.np-offers-table th:nth-child(6),
.np-offers-table th:nth-child(7),
.np-offers-table th:nth-child(8),
.np-offers-table td:nth-child(4),
.np-offers-table td:nth-child(5),
.np-offers-table td:nth-child(6),
.np-offers-table td:nth-child(7),
.np-offers-table td:nth-child(8) {
    text-align: center;
}

/* Center statistic numbers */
.np-offers-table th:nth-child(4),
.np-offers-table th:nth-child(5),
.np-offers-table th:nth-child(6),
.np-offers-table td:nth-child(4),
.np-offers-table td:nth-child(5),
.np-offers-table td:nth-child(6) {
    text-align: center;
}

/* Cloud services pills */
.np-cloud-features-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-cloud-pill {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #646970;
    font-size: 12px;
    line-height: 1.2;
}
@media (max-width: 960px) {
    .np-admin-grid, .np-cloud-features, .np-cloud-features-six { grid-template-columns: 1fr; }
}

/* ── Modal hardening for WordPress admin screens ───────────────────── */
#np-offer-modal.np-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.55) !important;
  z-index: 999999 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 48px 16px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}
#np-offer-modal .np-modal-content {
  display: block !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #1d2327 !important;
  border-radius: 14px !important;
  padding: 24px 28px !important;
  max-width: 720px !important;
  width: 100% !important;
  position: relative !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.30) !important;
}
#np-offer-modal .form-table {
  width: 100% !important;
  margin-top: 0 !important;
}
#np-offer-modal .form-table th {
  width: 185px !important;
  padding: 14px 10px 14px 0 !important;
}
#np-offer-modal .form-table td {
  padding: 10px 0 !important;
}
#np-offer-modal input.large-text,
#np-offer-modal textarea.large-text {
  width: 100% !important;
}
#np-offer-modal .np-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
}

/* ── Insight links in offer table ─────────────────────────────────── */
.np-cloud-link {
    color: #6c5ce7;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.np-cloud-link:hover,
.np-cloud-link:focus {
    color: #4c1d95;
    text-decoration: underline;
}

/* ── Cloud services sections ──────────────────────────────────────── */
.np-cloud-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.np-cloud-section h3,
.np-cloud-cta-panel h3 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #1d2327;
}
.np-cloud-section ul {
    margin: 0;
    padding-left: 20px;
    color: #50575e;
    line-height: 1.7;
}
.np-cloud-features-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.np-cloud-cta-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.np-cloud-cta-panel p {
    max-width: 680px;
    margin: 0 auto 18px;
    color: #50575e;
    line-height: 1.6;
}
@media (max-width: 960px) {
    .np-cloud-features-four { grid-template-columns: 1fr; }
}

/* ── Cloud Services visual layout — final restored block ───────────────────── */
.np-cloud-page {
    max-width: 1180px !important;
    margin-top: 24px !important;
}
.np-cloud-hero {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 48%, #5b21b6 100%) !important;
    border-radius: 16px !important;
    padding: 38px 42px !important;
    margin: 0 0 28px !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(49,46,129,.18) !important;
}
.np-cloud-hero::after {
    content: "" !important;
    position: absolute !important;
    right: -80px !important;
    top: -100px !important;
    width: 260px !important;
    height: 260px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
}
.np-cloud-hero-text {
    position: relative !important;
    z-index: 1 !important;
    max-width: 720px !important;
}
.np-cloud-hero h2 {
    margin: 0 0 12px !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #fff !important;
}
.np-cloud-hero p {
    margin: 0 0 24px !important;
    font-size: 15px !important;
    color: rgba(255,255,255,.9) !important;
    line-height: 1.65 !important;
    max-width: 680px !important;
}
.np-cloud-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    background: #fff !important;
    color: #312e81 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 0 24px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.10) !important;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease !important;
}
.np-cloud-cta-btn:hover {
    opacity: .96 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.14) !important;
}
.np-cloud-features,
.np-cloud-features-six {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 0 28px !important;
}
.np-cloud-feature-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 22px 24px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
    min-height: 178px !important;
}
.np-cloud-feature-icon {
    font-size: 26px !important;
    margin-bottom: 12px !important;
    line-height: 1 !important;
}
.np-cloud-feature-card h3 {
    margin: 0 0 10px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1d2327 !important;
}
.np-cloud-feature-card p {
    margin: 0 0 12px !important;
    font-size: 13px !important;
    color: #50575e !important;
    line-height: 1.6 !important;
}
.np-cloud-pill {
    display: inline-block !important;
    margin-top: 6px !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #646970 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
/* ── Cloud waitlist panel ──────────────────────────────────────── */
.np-cloud-waitlist-panel {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 100%) !important;
    border: 1px solid #ddd6fe !important;
    border-radius: 14px !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    overflow: hidden !important;
}
.np-cloud-waitlist-inner {
    padding: 32px 36px !important;
    text-align: center !important;
}
.np-cloud-waitlist-badge {
    display: inline-block !important;
    background: #5b21b6 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    margin-bottom: 14px !important;
}
.np-cloud-waitlist-inner h3 {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1d2327 !important;
}
.np-cloud-waitlist-inner > p {
    max-width: 560px !important;
    margin: 0 auto 22px !important;
    color: #50575e !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}
.np-waitlist-form {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.np-waitlist-form input[type="email"] {
    min-width: 260px !important;
    font-size: 14px !important;
}
.np-waitlist-confirmed {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    color: #15803d !important;
    font-size: 14px !important;
}
.np-waitlist-check {
    font-size: 18px !important;
    font-weight: 700 !important;
}
.np-cloud-footer {
    text-align: center !important;
    padding: 20px 10px 4px !important;
    border-top: 1px solid #e5e7eb !important;
}
.np-cloud-footer p {
    margin: 8px 0 !important;
    color: #646970 !important;
    font-size: 13px !important;
}
.np-cloud-footer a { color: #2271b1 !important; }
@media (max-width: 960px) {
    .np-cloud-features,
    .np-cloud-features-six { grid-template-columns: 1fr !important; }
    .np-cloud-hero { padding: 30px 26px !important; }
}
