/* ================================
   SS CMS Detector – high contrast UI
   ================================ */

.ss-cms-detector-wrap { margin: 20px 0; }

/* Grey gradient panel so white input pops */
.ss-cms-detector-card{
  border:1px solid rgba(0,0,0,.18);
  border-radius:16px;
  padding:22px;
  background: linear-gradient(180deg,#f1f3f6 0%, #e2e6ec 100%);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}

/* Joined control */
.ss-cms-detector-row{
  display:flex;
  gap:0;
  align-items:stretch;
}

/* White input = clear focal point */
.ss-cms-detector-input{
  flex:1;
  min-width:220px;
  height:58px;
  padding:0 18px;
  border:1px solid #9aa3af;
  border-right:0;
  border-radius:16px 0 0 16px;
  background:#ffffff;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.8),
    inset 0 -3px 10px rgba(0,0,0,.08);
  font-size:16px;
  color:#111;
  outline:none;
}

.ss-cms-detector-input::placeholder{
  color:#6b7280;
}

.ss-cms-detector-input:focus{
  border-color:#1a73e8;
  box-shadow:
    0 0 0 4px rgba(26,115,232,.22),
    inset 0 2px 0 rgba(255,255,255,.8),
    inset 0 -3px 10px rgba(0,0,0,.08);
}

/* Deep glossy blue button like hero image */
.ss-cms-detector-btn{
  height:58px;
  padding:0 26px;
  border:1px solid #0b3f91;
  border-radius:0 16px 16px 0;
  background: linear-gradient(180deg,#1f7cff 0%, #0b4fd8 60%, #083aa8 100%);
  color:#fff;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  font-size:15px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    0 14px 26px rgba(11,79,216,.45);
  transition:.12s ease;
}

.ss-cms-detector-btn:hover{
  filter:brightness(1.06);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    0 16px 32px rgba(11,79,216,.55);
}

.ss-cms-detector-btn:active{
  transform:translateY(1px);
  filter:brightness(.97);
}

.ss-cms-detector-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  box-shadow:none;
}

/* Darker help text so it’s readable */
.ss-cms-detector-help{
  margin-top:10px;
  font-size:13px;
  color:#374151;
}

/* Stronger notice contrast */
.ss-cms-detector-notice{
  margin: 12px 0;
  padding: 12px 14px;
  background:#eef4ff;
  border-left:5px solid #1a73e8;
  border-radius:12px;
  color:#111;
}

/* Output = defined panel */
.ss-cms-detector-output{
  margin-top:16px;
  padding:16px;
  border-radius:14px;
  background: linear-gradient(180deg,#ffffff 0%, #f3f5f8 100%);
  border:1px solid #c6ccd6;
  overflow:auto;
  max-height:380px;
  font-size:13px;
  line-height:1.5;
  color:#111;
}

/* Grid unchanged */
.ss-cms-detector-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:14px;
}

.ss-cms-detector-label{
  display:block;
  font-weight:800;
  margin-top:12px;
  margin-bottom:6px;
  color:#111;
}

/* Pills clearer */
.ss-cms-detector-pill{
  display:inline-block;
  margin-left:8px;
  padding:4px 12px;
  border-radius:999px;
  font-size:12px;
  background:#e5e9f0;
  border:1px solid #c6ccd6;
  color:#111;
}

.ss-cms-detector-pill-good{
  background:#c9f3c9;
  border-color:#9ad89a;
}

/* Mobile stacking */
@media (max-width:520px){
  .ss-cms-detector-row{
    flex-direction:column;
    gap:12px;
  }
  .ss-cms-detector-input{
    border-right:1px solid #9aa3af;
    border-radius:16px;
  }
  .ss-cms-detector-btn{
    border-radius:16px;
  }
}
