.dfgcg-root {
  position: fixed;
  left: 20px;
  right: 20px;
  z-index: 99999;
  font-family: inherit;
}
.dfgcg-position-bottom { bottom: 20px; }
.dfgcg-position-top { top: 20px; }
.dfgcg-hidden .dfgcg-banner { display: none; }
.dfgcg-banner,
.dfgcg-panel {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.dfgcg-theme-dark .dfgcg-banner,
.dfgcg-theme-dark .dfgcg-panel {
  background: #111111;
  color: #f4f4f4;
  border: 1px solid rgba(255,255,255,.08);
}
.dfgcg-theme-light .dfgcg-banner,
.dfgcg-theme-light .dfgcg-panel {
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0,0,0,.08);
}
.dfgcg-banner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.dfgcg-copy { max-width: 900px; }
.dfgcg-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.dfgcg-text,
.dfgcg-subtitle,
.dfgcg-option-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: .92;
}
.dfgcg-actions,
.dfgcg-panel-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.dfgcg-btn {
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
.dfgcg-btn-primary {
  background: #b51217 !important;
  border-color: #b51217 !important;
  color: #fff !important;
}
.dfgcg-btn-primary:hover { background: #d4161c !important; border-color: #d4161c !important; }
.dfgcg-btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: inherit !important;
}
.dfgcg-theme-light .dfgcg-btn-secondary { border-color: rgba(0,0,0,.16) !important; }
.dfgcg-btn-link,
.dfgcg-inline-link,
.dfgcg-footer-link {
  color: #d92c33 !important;
  text-decoration: none !important;
  font-weight: 700;
}
.dfgcg-btn-link:hover,
.dfgcg-inline-link:hover,
.dfgcg-footer-link:hover { color: #ef3d44 !important; }
.dfgcg-modal {
  display: none;
}
.dfgcg-modal-open .dfgcg-modal {
  display: block;
}
.dfgcg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  z-index: 99998;
}
.dfgcg-panel {
  position: fixed;
  z-index: 99999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 30px));
  padding: 22px;
}
.dfgcg-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.dfgcg-icon-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.dfgcg-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.dfgcg-theme-light .dfgcg-option { border-top-color: rgba(0,0,0,.08); }
.dfgcg-option:first-of-type { border-top: 0; }
.dfgcg-option-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dfgcg-switch {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 32px;
}
.dfgcg-switch input { display: none; }
.dfgcg-switch span {
  width: 54px;
  height: 32px;
  background: rgba(255,255,255,.16);
  border-radius: 999px;
  display: inline-block;
  position: relative;
  transition: all .2s ease;
}
.dfgcg-theme-light .dfgcg-switch span { background: rgba(0,0,0,.16); }
.dfgcg-switch span:after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: all .2s ease;
}
.dfgcg-switch input:checked + span { background: #b51217; }
.dfgcg-switch input:checked + span:after { left: 26px; }
.dfgcg-switch.is-locked { opacity: .7; }
.dfgcg-footer-link-wrap {
  margin-top: 16px;
  text-align: center;
}
@media (max-width: 767px) {
  .dfgcg-root {
    left: 10px;
    right: 10px;
  }
  .dfgcg-position-bottom { bottom: 10px; }
  .dfgcg-position-top { top: 10px; }
  .dfgcg-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .dfgcg-actions {
    width: 100%;
  }
  .dfgcg-actions .dfgcg-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .dfgcg-panel {
    padding: 18px;
    width: calc(100vw - 20px);
  }
}
