.opcred-crm{--azul:#1a73e8;--verde:#34a853;--amarelo:#fbbc05;--vermelho:#ea4335;--txt:#202124;--b:#e8eaed;font-family:Arial,sans-serif;color:var(--txt);width:100%;max-width:100%}
.opcred-crm *{box-sizing:border-box}.opcred-card{background:#fff;border:1px solid var(--b);border-radius:18px;padding:24px;margin:18px auto;box-shadow:0 8px 24px rgba(60,64,67,.08);width:100%;max-width:1040px;overflow:visible}.opcred-card h2,.opcred-card h3{margin-top:0;color:#0b2445}.opcred-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px 16px;align-items:start;width:100%}.opcred-crm label{display:block;font-weight:700;margin:0;color:#111827;min-width:0;width:100%}.opcred-crm label>input,.opcred-crm label>select,.opcred-crm label>textarea{margin-top:7px}.opcred-crm input,.opcred-crm select,.opcred-crm textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid #dadce0!important;border-radius:10px!important;padding:11px 13px!important;background:#fff!important;color:#202124!important;font-size:15px!important;line-height:1.35!important;min-height:48px!important;height:48px!important;box-shadow:none!important;outline:none!important}.opcred-crm select{appearance:auto!important;-webkit-appearance:menulist!important;padding-right:38px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.opcred-crm textarea{height:auto!important;min-height:115px!important}.opcred-crm input:focus,.opcred-crm select:focus,.opcred-crm textarea:focus{border-color:var(--azul)!important;box-shadow:0 0 0 3px rgba(26,115,232,.12)!important}.opcred-crm .opcred-invalid{border-color:var(--vermelho)!important;background:#fff8f8!important}.opcred-check{display:flex!important;align-items:flex-start!important;gap:10px!important;font-weight:400!important;margin-top:18px!important}.opcred-check input{width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important;padding:0!important}.opcred-btn{display:inline-block;border:0;border-radius:999px;padding:12px 18px;background:var(--azul);color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer;margin-top:14px}.opcred-btn:hover{filter:brightness(.95)}.opcred-alert{border-radius:12px;padding:12px 14px;margin:12px auto;border-left:5px solid var(--verde);background:#f1f8f4;max-width:1040px}.opcred-err{border-color:var(--vermelho);background:#fce8e6}.opcred-warn{border-color:var(--amarelo);background:#fff8e1}.opcred-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.opcred-kpis b{display:block;border:1px solid var(--b);border-radius:14px;padding:16px;background:#f8fafd;text-align:center}.opcred-table-wrap{overflow:auto}.opcred-crm table{width:100%;border-collapse:collapse}.opcred-crm th,.opcred-crm td{padding:10px;border-bottom:1px solid var(--b);text-align:left}.opcred-tempo{display:none}.opcred-show{display:block!important}@media(max-width:900px){.opcred-grid{grid-template-columns:1fr}.opcred-card{padding:18px;border-radius:14px}.opcred-crm input,.opcred-crm select,.opcred-crm textarea{font-size:16px!important}}
.opcred-kanban-tools{max-width:100%;margin:12px 0 16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.opcred-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:14px;overflow-x:auto;padding:8px 0 20px}.opcred-kanban-col{background:#f8fafd;border:1px solid #e8eaed;border-radius:16px;min-height:260px;display:flex;flex-direction:column}.opcred-kanban-col header{position:sticky;top:0;background:#f8fafd;border-bottom:1px solid #e8eaed;border-radius:16px 16px 0 0;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;color:#0b2445}.opcred-kanban-col header span{background:#1a73e8;color:#fff;border-radius:999px;padding:3px 9px;font-size:12px}.opcred-kanban-drop{padding:12px;display:flex;flex-direction:column;gap:12px;min-height:180px;flex:1}.opcred-kanban-drop.opcred-drag-over{outline:2px dashed #1a73e8;outline-offset:-8px;background:#eef4ff}.opcred-kanban-card{background:#fff;border:1px solid #dadce0;border-radius:14px;padding:14px;box-shadow:0 6px 18px rgba(60,64,67,.08);cursor:grab}.opcred-kanban-card:active{cursor:grabbing}.opcred-kanban-card h3{font-size:15px;margin:0 0 8px;color:#0b2445;line-height:1.3}.opcred-kanban-card p{font-size:12px;margin:5px 0;line-height:1.35}.opcred-kanban-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.opcred-status-form{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;margin-top:8px}.opcred-status-form select{height:36px!important;min-height:36px!important;font-size:12px!important;padding:6px 8px!important}.opcred-status-form button,.opcred-btn-mini{display:inline-block;border:0;border-radius:999px;padding:8px 11px;background:#1a73e8;color:#fff!important;text-decoration:none;font-weight:700;font-size:12px;line-height:1;cursor:pointer}.opcred-kanban-public{max-width:100%!important}@media(max-width:900px){.opcred-kanban{grid-auto-columns:minmax(82vw,1fr)}.opcred-status-form{grid-template-columns:1fr}.opcred-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.opcred-filters{margin:0}.opcred-filters .opcred-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.opcred-filters input,.opcred-filters select{height:42px!important;min-height:42px!important;padding:8px 10px!important;font-size:14px!important}.opcred-filters label{font-size:12px}.opcred-table-wrap .widefat th,.opcred-table-wrap .widefat td{white-space:nowrap}.opcred-table-wrap .widefat td:nth-child(2){white-space:normal;min-width:180px}@media(max-width:1100px){.opcred-filters .opcred-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media(max-width:700px){.opcred-filters .opcred-grid{grid-template-columns:1fr}}
.opcred-paid-fields{grid-template-columns:1fr;gap:8px;margin-top:8px;padding:10px;border:1px solid #e8edf5;border-radius:12px;background:#f8fbff}
.opcred-paid-fields label{font-size:12px;font-weight:700;color:#0b1f3a}
.opcred-paid-fields input,.opcred-paid-fields select{width:100%;min-height:40px;border:1px solid #d7dee8;border-radius:10px;padding:8px;background:#fff}

.opcred-kanban-drop{max-height:70vh;overflow-y:auto;overflow-x:hidden;}

/* v1.1.6 - resumo CRM nos cards */
.opcred-crm-resumo{font-size:12px;line-height:1.45;margin:8px 0;padding:9px;border-left:4px solid #fbbc05}
.opcred-kanban-card .opcred-crm-resumo strong{display:block;margin-bottom:3px}


/* v1.2.0 - correção visual do formulário público de lead */
.opcred-crm .opcred-lead-card{
  display:block!important;
  max-width:1040px!important;
  width:100%!important;
  margin:18px auto!important;
  padding:28px!important;
}
.opcred-crm .opcred-form-title,
.opcred-crm .opcred-lead-card h2{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 24px!important;
  padding:0!important;
  grid-column:1/-1!important;
  color:#0b2445!important;
  font-size:30px!important;
  line-height:1.2!important;
}
.opcred-crm .opcred-lead-card .opcred-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 18px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:start!important;
}
.opcred-crm .opcred-lead-card label{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  clear:none!important;
}
.opcred-crm .opcred-lead-card input,
.opcred-crm .opcred-lead-card select,
.opcred-crm .opcred-lead-card textarea{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.opcred-crm .opcred-lead-card .opcred-check{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  width:100%!important;
  max-width:720px!important;
  margin:22px 0 12px!important;
  line-height:1.5!important;
  white-space:normal!important;
}
.opcred-crm .opcred-lead-card .opcred-check input[type="checkbox"]{
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:3px 0 0!important;
}
.opcred-crm .opcred-lead-card .g-recaptcha{
  display:block!important;
  width:100%!important;
  max-width:320px!important;
  margin:16px 0!important;
  clear:both!important;
}
.opcred-crm .opcred-lead-card .opcred-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:190px!important;
  margin-top:14px!important;
}
@media(max-width:900px){
  .opcred-crm .opcred-lead-card{padding:20px!important;}
  .opcred-crm .opcred-lead-card .opcred-grid{grid-template-columns:1fr!important;}
  .opcred-crm .opcred-form-title,.opcred-crm .opcred-lead-card h2{font-size:26px!important;margin-bottom:18px!important;}
}

.opcred-crm .opcred-accept{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:16px 0 14px;
  font-size:14px;
  line-height:1.45;
}
.opcred-crm .opcred-accept input{
  width:18px;
  height:18px;
  min-width:18px;
  margin-top:2px;
}
.opcred-crm .opcred-accept a{
  color:#1a73e8;
  font-weight:700;
  text-decoration:underline;
}


/* v1.2.2 - correção do aceite dos termos no cadastro do indicador */
.opcred-crm .opcred-indicador-card .opcred-accept,
.opcred-crm .opcred-card > .opcred-accept{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  margin:20px 0 16px!important;
  padding:0!important;
  clear:both!important;
  grid-column:1/-1!important;
  text-align:left!important;
  font-size:14px!important;
  line-height:1.45!important;
  white-space:normal!important;
}
.opcred-crm .opcred-indicador-card .opcred-accept input[type="checkbox"],
.opcred-crm .opcred-card > .opcred-accept input[type="checkbox"]{
  display:inline-block!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:2px 0 0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
  box-shadow:none!important;
}
.opcred-crm .opcred-indicador-card .opcred-accept span,
.opcred-crm .opcred-card > .opcred-accept span{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
.opcred-crm .opcred-indicador-card .g-recaptcha{
  display:block!important;
  width:100%!important;
  max-width:320px!important;
  margin:16px 0!important;
  clear:both!important;
}
.opcred-crm .opcred-indicador-card .opcred-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:150px!important;
  margin-top:10px!important;
}
