/* DP Callback - Button (desktop + mobile) */
#dp-cb-button{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2147483647;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#dp-cb-button .dp-cb-pill{
  width: 76px;
  height: 92px;
  background: #fff;
  border-radius: 18px 0 0 18px;
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid rgba(0,0,0,.06);
}

#dp-cb-button .dp-cb-iconwrap{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #0f1b2d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#dp-cb-button .dp-cb-icon{
  width: 24px;
  height: 24px;
  fill: #ffffff;
  opacity: 1;
}

#dp-cb-button .dp-cb-badge{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--dp-cb-accent, #d11f1f);
  color: var(--dp-cb-accentText, #fff);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

#dp-cb-button .dp-cb-label{
  font-weight: 900;
  font-size: 13px;
  color: #1d2430;
}

#dp-cb-button:hover .dp-cb-pill{ transform: translateX(-4px); transition: transform .15s ease; }

/* Overlay + Modal */
#dp-cb-overlay{
  position: fixed;
  z-index: 2147483646;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(2px);
}

#dp-cb-modal{
  position: fixed;
  z-index: 2147483647;
  top: 50%;
  left: 50%;
  width: 92%;
  max-width: 700px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0,0,0,.38);
  overflow: hidden;
}

.dp-cb-modal-inner{
  padding: 18px 18px 16px 18px;
  border-top: 4px solid #c65a2a;
}

#dp-cb-modal h3{
  margin: 0;
  font-size: 22px;
  color: #111;
}

.dp-cb-subtitle{
  margin: 6px 0 14px 0;
  font-size: 13px;
  color: #666;
}

/* Form layout: 2 columns on desktop */
.dp-cb-formgrid{
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 14px;
}

@media (min-width: 768px){
  .dp-cb-formgrid{
    grid-template-columns: 1fr 1fr;
  }
  .dp-cb-row.dp-cb-full{ grid-column: 1 / -1; }
}

.dp-cb-row{ margin-bottom: 12px; }
.dp-cb-row label{
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 13px;
  color: #222;
}

.dp-cb-row input,
.dp-cb-row select,
.dp-cb-row textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  outline: none;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.dp-cb-row textarea{
  min-height: 110px;
  resize: vertical;
}

.dp-cb-row input:focus,
.dp-cb-row select:focus,
.dp-cb-row textarea:focus{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.dp-cb-help{
  margin: 8px 0 0 0;
  font-size: 12px;
  color: #777;
}

.dp-cb-privacy{
  margin: 8px 0 10px 0;
  font-size: 12px;
  color: #777;
}

.dp-cb-privacy,
.dp-cb-actions,
#dp-cb-feedback{
  grid-column: 1 / -1;
}

.dp-cb-actions{ margin-top: 4px; }

.dp-cb-submit{
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 900;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  background: #c65a2a;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.dp-cb-submit:hover{ filter: brightness(0.98); }
.dp-cb-submit:active{ transform: translateY(1px); }

.dp-cb-close{
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: rgba(0,0,0,.06);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
  opacity: .85;
}
.dp-cb-close:hover{ opacity: 1; }

.dp-cb-feedback{
  margin-top: 12px;
  font-size: 13px;
  padding: 12px 12px;
  border-radius: 12px;
  display: none;
  color: #1d2430;
}
.dp-cb-feedback.dp-cb-ok{
  display: block;
  background: #eaf7ee;
  border: 1px solid #bfe6c8;
  color: #1b5e20;
  font-weight: 700;
}
.dp-cb-feedback.dp-cb-error{
  display: block;
  background: #fff0f0;
  border: 1px solid #f0c7c7;
  color: #8a1f1f;
  font-weight: 700;
}

.dp-cb-hidden{ display:none !important; }
.dp-cb-hp{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }

.dp-cb-lock{ overflow: hidden; }

@media (max-width: 768px){
  #dp-cb-button{
    top: auto;
    bottom: 14px;
    transform: none;
  }
  #dp-cb-button .dp-cb-pill{
    width: 64px;
    height: 78px;
    border-radius: 16px 0 0 16px;
  }
  #dp-cb-button .dp-cb-iconwrap{ width: 38px; height: 38px; border-radius: 14px; }
  #dp-cb-button .dp-cb-icon{ width: 20px; height: 20px; }
  #dp-cb-button .dp-cb-label{ font-size: 12px; }
}
