/* SaaS-style UI for Construction Salary Calculator */
.cp-salary-wrapper{
  max-width:720px;
  margin:40px auto;
  background:#ffffff;
  border-radius:12px;
  padding:24px 28px;
  box-shadow:0 18px 45px rgba(0,0,0,0.06);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.cp-salary-title{
  margin-top:0;
  margin-bottom:4px;
  font-size:24px;
  color:#003366;
}
.cp-salary-subtitle{
  margin-top:0;
  margin-bottom:16px;
  color:#556;
  font-size:14px;
}
.cp-salary-credits{
  font-size:13px;
  margin-bottom:16px;
  color:#005b99;
  background:#f0f6ff;
  padding:6px 10px;
  border-radius:6px;
  display:inline-block;
}
.cp-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:12px;
}
.cp-row input,
.cp-row select{
  flex:1;
  min-width:0;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #d7dde8;
  font-size:14px;
}
#cp-salary-submit{
  margin-top:8px;
  width:100%;
  border:none;
  border-radius:999px;
  padding:12px 16px;
  background:linear-gradient(135deg,#003366,#ff6600);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  font-size:15px;
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}
#cp-salary-submit:disabled{
  opacity:.7;
  cursor:default;
  box-shadow:none;
}
.cp-salary-result{
  margin-top:20px;
  border-radius:10px;
  border:1px solid #e3e7f0;
  background:#f9fbff;
  padding:16px 18px;
  font-size:14px;
  line-height:1.6;
  color:#222b3b;
  max-height:520px;
  overflow:auto;
}
.cp-salary-result.cp-error{
  background:#fff5f5;
  border-color:#ffb3b3;
  color:#aa0000;
}

/* Report-specific styling */
.cp-salary-report-container{
  background:#ffffff;
  border-radius:10px;
  padding:18px 18px 16px;
  box-shadow:0 10px 24px rgba(0,0,0,0.04);
}
.cp-salary-report-header{
  border-bottom:1px solid #e0e6f2;
  padding-bottom:10px;
  margin-bottom:10px;
}
.cp-salary-brand{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8892b0;
  margin-bottom:2px;
}
.cp-salary-report-header h3{
  margin:2px 0 4px;
  font-size:18px;
  color:#003366;
}
.cp-salary-report-meta{
  margin:0;
  font-size:13px;
  color:#43506b;
}
.cp-salary-report-date{
  margin:2px 0 0;
  font-size:11px;
  color:#9aa3b9;
}
.cp-salary-report-body{
  font-size:13px;
  color:#1f2937;
}
.cp-salary-report-body h1,
.cp-salary-report-body h2,
.cp-salary-report-body h3{
  font-size:15px;
  margin-top:10px;
}
.cp-salary-report-footer{
  margin-top:12px;
  border-top:1px dashed #e0e6f2;
  padding-top:8px;
  font-size:11px;
  color:#6b7280;
}
.cp-salary-report-actions{
  margin-top:12px;
  text-align:right;
}
.cp-download-pdf{
  border-radius:999px;
  border:1px solid #003366;
  background:#003366;
  color:#fff;
  padding:8px 12px;
  font-size:13px;
  cursor:pointer;
}

/* Premium strip */
.cp-salary-premium{
  margin-top:24px;
  padding:16px 18px;
  border-radius:10px;
  background:#fff7f0;
  border:1px dashed #ff6600;
}
.cp-salary-premium h3{
  margin:0 0 6px;
  color:#cc5200;
}
.cp-salary-premium ul{
  margin:8px 0 10px 18px;
  padding:0;
  font-size:13px;
}
.cp-salary-premium-btn{
  display:inline-block;
  background:#ff6600;
  color:#fff;
  text-decoration:none;
  padding:9px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  box-shadow:0 6px 14px rgba(0,0,0,0.12);
}
.cp-salary-premium-btn:hover{
  opacity:.95;
}
.cp-salary-note{
  font-size:12px;
  color:#77552e;
  margin-top:8px;
}

/* Toast */
.cp-salary-toast{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#0b4d9c;
  color:#fff;
  padding:12px 18px;
  border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  z-index:9999;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
}

@media (max-width:600px){
  .cp-salary-wrapper{
    padding:18px 16px;
  }
}
