#fcd-floating-wrapper{
  position:relative;
  z-index:2147483000;
}

/* BOTÃO */

#fcd-floating-wrapper .fcd-open-button{
  position:fixed;
  width:60px;
  height:60px;
  padding:0;
  border:0;
  border-radius:50px;
  background:var(--fcd-button-bg);
  color:var(--fcd-button-text);
  cursor:pointer;
  text-align:center;
  box-shadow:2px 2px 3px #999;
  z-index:9999999999 !important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}

#fcd-floating-wrapper .fcd-open-button:hover{
  background:var(--fcd-button-hover-bg);
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}

#fcd-floating-wrapper .fcd-icon-envelope svg{
  width:26px;
  height:26px;
  color:var(--fcd-button-text);
}

/* POSIÇÃO */

#fcd-floating-wrapper.fcd-position-bottom-right .fcd-open-button{
  right:25px !important;
  bottom:95px !important;
}

#fcd-floating-wrapper.fcd-position-bottom-left .fcd-open-button{
  left:var(--fcd-offset-x);
  bottom:var(--fcd-offset-y);
}

#fcd-floating-wrapper.fcd-position-top-right .fcd-open-button{
  right:var(--fcd-offset-x);
  top:var(--fcd-offset-y);
}

#fcd-floating-wrapper.fcd-position-top-left .fcd-open-button{
  left:var(--fcd-offset-x);
  top:var(--fcd-offset-y);
}

/* TOOLTIP */

#fcd-floating-wrapper .fcd-tooltip{
  position:absolute;
  right:75px;
  top:50%;
  transform:translateY(-50%);
  background:#1f2937;
  color:#fff;
  font-size:14px;
  padding:10px 12px;
  border-radius:8px;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  transition:all .2s ease;
  pointer-events:none;
}

#fcd-floating-wrapper .fcd-open-button:hover .fcd-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(-50%) translateX(-5px);
}

/* OVERLAY */

#fcd-floating-wrapper .fcd-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:2147483002;
}

#fcd-floating-wrapper .fcd-modal-overlay.is-open{
  display:flex;
}

/* MODAL */

#fcd-floating-wrapper .fcd-modal{
  position:relative;
  width:min(920px,100%);
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  background:#fff;
  padding:30px;
  border-radius:8px;
  box-shadow:0 12px 36px rgba(0,0,0,.25);
}

/* FECHAR */

#fcd-floating-wrapper .fcd-close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#333;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

/* GRID FORM */

#fcd-floating-wrapper .fcd-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px 30px;
}

#fcd-floating-wrapper .fcd-field{
  margin-bottom:20px;
}

#fcd-floating-wrapper .fcd-field label{
  display:block;
  font-weight:600;
  margin-bottom:8px;
}

#fcd-floating-wrapper .fcd-field input,
#fcd-floating-wrapper .fcd-field textarea{
  width:100%;
  border:1px solid #ccc;
  padding:12px 14px;
  border-radius:4px;
  box-sizing:border-box;
}

#fcd-floating-wrapper .fcd-field-full{
  grid-column:1 / -1;
}

/* BOTÃO SUBMIT */

#fcd-floating-wrapper .fcd-submit{
  background:var(--fcd-button-bg);
  color:var(--fcd-button-text);
  border:0;
  padding:12px 22px;
  border-radius:4px;
  cursor:pointer;
}

/* FEEDBACK */

#fcd-floating-wrapper .fcd-feedback{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:4px;
  font-size:14px;
}

#fcd-floating-wrapper .fcd-feedback.is-success{
  background:#e8f7ec;
  color:#23633a;
}

#fcd-floating-wrapper .fcd-feedback.is-error{
  background:#fdeaea;
  color:#8a1f1f;
}

/* BODY LOCK */

body.fcd-modal-open{
  overflow:hidden;
}

/* MOBILE */
@media (max-width: 767px) {
  #fcd-floating-wrapper .fcd-modal {
    padding: 20px;
  }

  #fcd-floating-wrapper .fcd-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* FIX FINAL: labels e campos sempre à esquerda */

#fcd-floating-wrapper .fcd-grid,
#fcd-floating-wrapper .fcd-field,
#fcd-floating-wrapper .fcd-field-full {
  direction: ltr !important;
  text-align: left !important;
}

#fcd-floating-wrapper .fcd-field label,
#fcd-floating-wrapper label {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#fcd-floating-wrapper .fcd-field input,
#fcd-floating-wrapper .fcd-field textarea,
#fcd-floating-wrapper input,
#fcd-floating-wrapper textarea {
  text-align: left !important;
  direction: ltr !important;
}