.df-logo-editor {
  grid-column: 1 / -1;
  margin: 6px 0 10px;
  padding: 24px;
  border: 1px solid #d9e6ec;
  border-radius: 22px;
  background: #f8fbfc;
}

.df-logo-editor-heading,
.df-logo-editor-body,
.df-logo-editor-actions {
  display: flex;
  align-items: center;
}

.df-logo-editor-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.df-logo-editor-heading h3 {
  margin: 4px 0 3px;
  color: #153244;
  font-size: 20px;
}

.df-logo-editor-heading p,
.df-logo-editor-hint {
  margin: 0;
  color: #657984;
  font-size: 13px;
  line-height: 1.45;
}

.df-logo-editor-eyebrow {
  color: var(--df-primary, #00aeef);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.df-logo-editor-badge {
  padding: 7px 11px;
  border-radius: 999px;
  color: #116481;
  background: #e5f6fb;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.df-logo-editor-body {
  align-items: stretch;
  gap: 24px;
}

.df-logo-editor-preview {
  display: grid;
  box-sizing: border-box;
  width: 330px;
  min-height: 118px;
  flex: 0 0 330px;
  place-items: center start;
  padding: 20px;
  border: 1px dashed #b8ccd6;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
}

.df-logo-editor-preview > img {
  display: block;
  width: auto;
  max-width: 290px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.df-logo-editor-default {
  display: flex;
  align-items: center;
  gap: 15px;
}

.df-logo-editor-default > span:first-child {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #1688ef, #25bfd0);
  font-size: 25px;
  font-weight: 800;
}

.df-logo-editor-default > span:last-child { display: grid; }

.df-logo-editor-default strong {
  color: #111f2d;
  font-size: 22px;
  line-height: 1.05;
}

.df-logo-editor-default small {
  margin-top: 7px;
  color: #718096;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.df-logo-editor-controls {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
}

.df-logo-editor-file {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--df-primary, #00aeef);
  border-radius: 12px;
  color: #087ca5;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.df-logo-editor-file:hover { background: #effaff; }

.df-logo-editor-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.df-logo-editor-actions {
  flex-wrap: wrap;
  gap: 9px;
}

.df-logo-editor-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #cbdbe3;
  border-radius: 11px;
  color: #315364;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.df-logo-editor-actions .df-logo-editor-save {
  border-color: var(--df-primary, #00aeef);
  color: #fff;
  background: var(--df-primary, #00aeef);
}

.df-logo-editor-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.df-logo-editor-status {
  min-height: 18px;
  margin: 0;
  color: #657984;
  font-size: 12px;
}

.df-logo-editor-status[data-state="success"] { color: #16734a; }
.df-logo-editor-status[data-state="error"] { color: #b42318; }
.df-logo-editor-status[data-state="ready"] { color: #087ca5; }

@media (max-width: 820px) {
  .df-logo-editor-heading,
  .df-logo-editor-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .df-logo-editor-preview {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }
}
