/* Hub Midas — Unified Client Onboarding & LP Factory Styles */

/* Modal Backdrop */
.midas-lp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 10, 7, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
  font-family: 'Manrope', 'Montserrat', -apple-system, sans-serif;
}
.midas-lp-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.midas-lp-modal-card {
  background: #0b1610;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  color: #f1f5f9;
}

.midas-lp-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 30, 23, 0.6);
}

.midas-lp-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 16px;
  gap: 8px;
  overflow-x: auto;
}

.midas-lp-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}

.midas-lp-tab:hover {
  color: #f8fafc;
}

.midas-lp-tab.active {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

.midas-lp-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.midas-lp-step-content {
  display: none;
}

.midas-lp-step-content.active {
  display: block;
}

.midas-lp-input-group {
  margin-bottom: 16px;
}

.midas-lp-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.midas-lp-label .req {
  color: #f59e0b;
}

.midas-lp-input,
.midas-lp-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.midas-lp-input:focus,
.midas-lp-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.midas-lp-help {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

.midas-lp-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 30, 23, 0.4);
}

.midas-lp-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.midas-lp-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.midas-lp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.midas-lp-btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.midas-lp-btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
}

.midas-lp-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Oculta card do topo permanentemente */
#midasStage12LpCard {
  display: none !important;
}

/* ======================================================= */
/* Hub Midas — DUAL THEME ADAPTIVE CARDS (Stage 5 & 12)    */
/* ======================================================= */

/* ------------------------------------------------------- */
/* 1. DARK THEME (DEFAULT / html.dark / :root:not(.light)) */
/* ------------------------------------------------------- */

#midasStage5LpBanners,
.midas-cockpit-lp-card {
  background: linear-gradient(180deg, #121915 0%, #0d1310 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  color: #f1f5f9 !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#midasStage5LpBanners::before,
.midas-cockpit-lp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #10b981, #f59e0b);
  z-index: 2;
}

/* Destaque: Link Oficial da LP (Dark) */
.midas-s5-link-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 78, 59, 0.35)) !important;
  border: 2px solid #10b981 !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15) !important;
  transition: all 0.25s ease;
}
.midas-s5-link-banner-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
}
.midas-s5-link-ssl-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.midas-s5-link-anchor {
  font-size: 18px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.midas-s5-btn-copy-lp {
  font-size: 12px;
  font-weight: 800;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s;
}
.midas-s5-btn-copy-lp:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.midas-s5-btn-access-lp {
  font-size: 12px;
  font-weight: 900;
  padding: 10px 20px;
  background: #10b981 !important;
  color: #042f2e !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
}
.midas-s5-btn-access-lp:hover {
  background: #059669 !important;
  transform: translateY(-1px);
}

/* Titles and Headers (Dark) */
.midas-cockpit-lp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 6px;
}
.midas-cockpit-lp-desc {
  font-size: 12px;
  color: #94a3b8 !important;
  margin-bottom: 18px;
  line-height: 1.5;
}
.midas-cockpit-lp-desc strong {
  color: #f1f5f9;
}
.midas-dns-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Config Section: Subdomínio, OAB, Demanda (Dark) */
.midas-s5-config-box {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}
.midas-s5-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24 !important;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.midas-s5-subdomain-wrapper {
  display: flex;
  align-items: center;
  background: #0c1310 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.midas-s5-subdomain-wrapper:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.midas-s5-subdomain-prefix {
  font-size: 11px;
  color: #64748b;
  padding: 0 8px;
  font-family: monospace;
}
.midas-s5-subdomain-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0 !important;
  outline: none;
  font-family: monospace;
}
.midas-s5-subdomain-suffix {
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
  padding: 0 10px;
  font-family: monospace;
}
.midas-s5-input {
  width: 100%;
  background: #0c1310 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 12px;
  padding: 8px 12px !important;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.midas-s5-input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* Dashboard Box (Dark) */
.midas-s5-dash-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(0, 0, 0, 0.5)) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  transition: all 0.25s ease;
}
.midas-s5-dash-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fbbf24 !important;
}
.midas-s5-dash-crm-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  padding: 1px 6px;
  border-radius: 4px;
}
.midas-s5-dash-url-text {
  font-size: 12px;
  color: #cbd5e1;
}
.midas-s5-dash-url-link {
  color: #38bdf8 !important;
  font-weight: 700;
  font-family: monospace;
  text-decoration: none;
}
.midas-s5-dash-url-link:hover {
  text-decoration: underline;
}
.midas-s5-dash-pass-badge {
  background: #070c09 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.midas-s5-dash-pass-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
}
.midas-s5-dash-pass-val {
  font-size: 14px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: #fbbf24 !important;
  letter-spacing: 1px;
}
.midas-s5-btn-copy-pass {
  font-size: 10px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 4px;
  transition: all 0.2s;
}
.midas-s5-btn-copy-pass:hover {
  background: rgba(245, 158, 11, 0.35) !important;
}
.midas-s5-btn-open-dash {
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000000 !important;
  text-decoration: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
  transition: all 0.2s;
}
.midas-s5-btn-open-dash:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  transform: translateY(-1px);
}

/* Banner Dropgrid and Boxes (Dark) */
.midas-banner-dropgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .midas-banner-dropgrid {
    grid-template-columns: 1fr;
  }
}

.midas-banner-box {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 2px dashed rgba(245, 158, 11, 0.35) !important;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
}
.midas-banner-box:hover {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.05) !important;
}
.midas-banner-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fbbf24 !important;
}
.midas-banner-preview-box {
  width: 100%;
  height: 130px;
  background: #070c09 !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s;
}
.midas-banner-preview-box.logo-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 10px 10px;
}
.midas-banner-preview-placeholder {
  color: #94a3b8 !important;
}
.midas-banner-url-input {
  width: 100%;
  background: #0c1310 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px;
  color: #cbd5e1 !important;
  font-size: 10px;
  padding: 6px 8px !important;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s;
}
.midas-banner-url-input:focus {
  border-color: #f59e0b !important;
}
.midas-banner-upload-btn {
  flex: 1;
  font-size: 11px;
  padding: 7px 10px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px;
}
.midas-banner-upload-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* Footer Section (Dark) */
.midas-s5-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.25s ease;
}
.midas-s5-footer-text {
  font-size: 11px;
  color: #94a3b8 !important;
}
.midas-s5-btn-save {
  font-size: 11px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.midas-s5-btn-save:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.midas-s5-btn-provision {
  font-size: 11px;
  padding: 8px 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000000 !important;
  border: none !important;
}
.midas-s5-btn-provision:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  transform: translateY(-1px);
}

/* Stage 12 Go-Live Card (Dark) */
#midasStage12LpDeliveryCard {
  background: linear-gradient(180deg, #121915 0%, #0d1310 100%) !important;
  border: 2px solid #10b981 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}
#midasStage12LpDeliveryCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #f59e0b, #10b981);
}
.midas-s12-title {
  color: #ffffff !important;
}
.midas-s12-link-box {
  background: #070c09 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.midas-s12-link-val {
  color: #ffffff !important;
}
.midas-s12-btn-copy {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
.midas-s12-btn-copy:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}
.midas-s12-btn-open {
  background: #10b981 !important;
  color: #042f2e !important;
}
.midas-s12-dash-box {
  background: #0c1310 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.midas-s12-pass-badge {
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.midas-s12-btn-copy-pass {
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
}
.midas-s12-addon-link {
  background: #0c1310 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.midas-s12-addon-val {
  color: #ffffff !important;
}

/* Topbar LP Container (Dark) */
#midasTopBarLpContainer,
.midas-topbar-lp-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 16, 13, 0.85) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  padding: 4px 12px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15) !important;
  transition: all 0.2s ease;
}
#midasTopBarLpContainer:hover,
.midas-topbar-lp-container:hover {
  border-color: #10b981 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25) !important;
}
.midas-topbar-lp-lbl {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
}
.midas-topbar-lp-anchor {
  font-size: 11px;
  font-weight: 800;
  font-family: monospace;
  color: #34d399 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.midas-topbar-lp-copy-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: #cbd5e1 !important;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
}
.midas-topbar-lp-modal-btn {
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ------------------------------------------------------- */
/* 2. LIGHT THEME (html.light) — HARMONIOUS & CLEAN       */
/* ------------------------------------------------------- */

html.light #midasStage5LpBanners,
html.light .midas-cockpit-lp-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
}

html.light #midasStage5LpBanners::before,
html.light .midas-cockpit-lp-card::before {
  background: linear-gradient(90deg, #f59e0b, #10b981, #f59e0b) !important;
}

/* Destaque: Link Oficial da LP (Light) */
html.light .midas-s5-link-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 80%) !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.12) !important;
}
html.light .midas-s5-link-banner-eyebrow {
  color: #047857 !important;
}
html.light .midas-s5-link-ssl-badge {
  background: #bbf7d0 !important;
  color: #14532d !important;
  border-color: #86efac !important;
}
html.light .midas-s5-link-anchor {
  color: #0f172a !important;
  text-shadow: none !important;
}
html.light .midas-s5-link-anchor:hover {
  color: #047857 !important;
}
html.light .midas-s5-btn-copy-lp {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html.light .midas-s5-btn-copy-lp:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}
html.light .midas-s5-btn-access-lp {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
}
html.light .midas-s5-btn-access-lp:hover {
  background: #059669 !important;
}

/* Titles and Headers (Light) */
html.light .midas-cockpit-lp-title {
  color: #0f172a !important;
}
html.light .midas-cockpit-lp-desc {
  color: #475569 !important;
}
html.light .midas-cockpit-lp-desc strong {
  color: #0f172a !important;
}
html.light .midas-dns-badge {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #a7f3d0 !important;
}

/* Config Section: Subdomínio, OAB, Demanda (Light) */
html.light .midas-s5-config-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
html.light .midas-s5-label {
  color: #0f172a !important;
}
html.light .midas-s5-subdomain-wrapper {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
html.light .midas-s5-subdomain-wrapper:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2) !important;
}
html.light .midas-s5-subdomain-prefix {
  color: #64748b !important;
}
html.light .midas-s5-subdomain-input {
  color: #0f172a !important;
  background: transparent !important;
}
html.light .midas-s5-subdomain-suffix {
  color: #047857 !important;
}
html.light .midas-s5-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html.light .midas-s5-input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2) !important;
}

/* Dashboard Box (Light) */
html.light .midas-s5-dash-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 70%, #fffbeb 100%) !important;
  border: 1px solid #fde68a !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08) !important;
}
html.light .midas-s5-dash-title {
  color: #92400e !important;
}
html.light .midas-s5-dash-crm-badge {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}
html.light .midas-s5-dash-url-text {
  color: #475569 !important;
}
html.light .midas-s5-dash-url-link {
  color: #0284c7 !important;
}
html.light .midas-s5-dash-pass-badge {
  background: #ffffff !important;
  border: 1px solid #fcd34d !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
html.light .midas-s5-dash-pass-lbl {
  color: #78350f !important;
}
html.light .midas-s5-dash-pass-val {
  color: #b45309 !important;
}
html.light .midas-s5-btn-copy-pass {
  background: #fef3c7 !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}
html.light .midas-s5-btn-copy-pass:hover {
  background: #fde68a !important;
}
html.light .midas-s5-btn-open-dash {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
}

/* Banner Dropboxes (Light) */
html.light .midas-banner-box {
  background: #f8fafc !important;
  border: 2px dashed #cbd5e1 !important;
}
html.light .midas-banner-box:hover {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
}
html.light .midas-banner-title {
  color: #0f172a !important;
}
html.light .midas-banner-preview-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
html.light .midas-banner-preview-box.logo-pattern {
  background-image: radial-gradient(#e2e8f0 1px, transparent 0) !important;
  background-size: 10px 10px;
}
html.light .midas-banner-preview-placeholder {
  color: #64748b !important;
}
html.light .midas-banner-url-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html.light .midas-banner-url-input:focus {
  border-color: #f59e0b !important;
}
html.light .midas-banner-upload-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
html.light .midas-banner-upload-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

/* Footer Section (Light) */
html.light .midas-s5-footer {
  border-top: 1px solid #e2e8f0 !important;
}
html.light .midas-s5-footer-text {
  color: #64748b !important;
}
html.light .midas-s5-btn-save {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
html.light .midas-s5-btn-save:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}
html.light .midas-s5-btn-provision {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
}

/* Stage 12 Go-Live Card (Light) */
html.light #midasStage12LpDeliveryCard {
  background: #ffffff !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 0 15px rgba(16, 185, 129, 0.08) !important;
  color: #0f172a !important;
}
html.light .midas-s12-title {
  color: #0f172a !important;
}
html.light .midas-s12-link-box {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
}
html.light .midas-s12-link-val {
  color: #047857 !important;
}
html.light .midas-s12-btn-copy {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
html.light .midas-s12-btn-copy:hover {
  background: #f8fafc !important;
}
html.light .midas-s12-btn-open {
  background: #10b981 !important;
  color: #ffffff !important;
}
html.light .midas-s12-dash-box {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
}
html.light .midas-s12-pass-badge {
  background: #ffffff !important;
  border: 1px solid #fcd34d !important;
  color: #78350f !important;
}
html.light .midas-s12-btn-copy-pass {
  background: #fef3c7 !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}
html.light .midas-s12-addon-link {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
html.light .midas-s12-addon-val {
  color: #0f172a !important;
}

/* Topbar LP Container (Light) */
html.light #midasTopBarLpContainer,
html.light .midas-topbar-lp-container {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}
html.light .midas-topbar-lp-lbl {
  color: #475569 !important;
}
html.light .midas-topbar-lp-anchor {
  color: #047857 !important;
}
html.light .midas-topbar-lp-copy-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
html.light .midas-topbar-lp-copy-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
html.light .midas-topbar-lp-modal-btn {
  background: #fffbeb !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}

/* Modal Adaptive (Light) */
html.light .midas-lp-modal-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25) !important;
}
html.light .midas-lp-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html.light .midas-lp-header h2 {
  color: #0f172a !important;
}
html.light .midas-lp-tabs {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html.light .midas-lp-tab {
  color: #64748b !important;
}
html.light .midas-lp-tab:hover {
  color: #0f172a !important;
}
html.light .midas-lp-tab.active {
  color: #b45309 !important;
  border-bottom-color: #b45309 !important;
}
html.light .midas-lp-body {
  background: #ffffff !important;
}
html.light .midas-lp-label {
  color: #334155 !important;
}
html.light .midas-lp-input,
html.light .midas-lp-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html.light .midas-lp-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* =========================================================================
   Midas CRO — Seletor de Cores da Landing Page (Contraste Dobra 1 & Botões)
   ========================================================================= */
.midas-s5-colors-section {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.midas-color-preset-btn {
  transition: all 0.2s ease;
  outline: none;
}
.midas-color-preset-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.midas-color-preset-btn:active {
  transform: translateY(0);
}
.midas-color-picker-card {
  transition: border-color 0.2s ease;
}
.midas-color-picker-card:hover {
  border-color: rgba(245, 158, 11, 0.35) !important;
}
.midas-chip-color {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}
.midas-chip-color:hover {
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
html.light .midas-s5-colors-section {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.light .midas-color-picker-card {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
