.ob-ctrl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 24px 0;
  &.small-gap {
    margin: 0 0 9px 0;
  }
  h3 {
    margin: 0;
  }
}

.ob-ctrl-wrap {
  display: flex;
  flex-wrap: wrap;

  &.palette, &.import-options {
    flex-direction: column;
  }

  &.font {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
}

.ob-active {
  outline: 2px solid $primary;
}

/**
 * Palette
 */
.ob-palette {
  max-width: 100%;
  justify-content: center;
  background: none;
  border: none;
  padding: 16px;
  display: flex;
  column-gap: 5px;
  border-radius: 4px;
  cursor: pointer;

  .color {
    width: 28px;
    height: 28px;
    border: 1px solid $border;
    border-radius: 50%;
  }
}

/**
 * Font
 */
.ob-font-pair {
  background-color: transparent;
  border-radius: $button-radius;
  padding: 16px 15.5px;
  margin: 3px 0;
  font-size: 24px;
  line-height: 29px;
  text-transform: capitalize;
  letter-spacing: normal;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(0,0,0,.1);
  color: $main-text;
  width: 80px;
  height: 60px;
  justify-content: center;
}

.ob-font-default {
  width: 100%;
}

/**
 * Site Name
 */
.ob-site-name {
  width: 100%;
  input[type="text"]{
    color: $secondary-text;
  }
}

/**
 * Logo
 */

.ob-media {
  border: 1px dashed $secondary-text;
  width: 100%;
  padding: 65px 16px;
  font-size: 16px;
  cursor: pointer;
  background: none;
  display: block;
  border-radius: 8px;
  overflow: hidden;

  &.has-logo {
    padding: 0;
  }

  .ob-responsive-wrapper {
    position: relative;
    max-width: 100%;
  }

  span {
    display: block;
  }

  img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
}

.ob-media-actions {
  margin-top: 23px;
  display: flex;
  gap:18px;
  .components-button.is-tertiary {
    font-size: 14px;
    padding: 0;
  }
}

/**
 * Import options
 */
.ob-ctrl-wrap.import-options {

  button:hover {
    color: $primary;
  }

  &.is-opened {
    padding: 0;
    .components-panel__body-title {
      margin:0;
    }
  }

  .toggle {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 16px 8px;
    height: auto;
    width: calc( 100% - 6px );
    margin-left: 2px;
    &:focus {
      box-shadow: none;
    }
  }
}

.ob-import-options-wrap {
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 16px;
  &.is-opened {
    height: auto;
  }
}

.ob-option-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid $border;
  align-items: center;
  &:last-child {
    border: none;
  }
}

.ob-option-name {
  display: flex;
  justify-content: space-around;
  position: relative;
  font-size: 14px;
  line-height: 28px;
  align-items: center;
  gap: 10px;
}

.ob-toggle-wrapper > div {
  margin-bottom: 0;
}

.ob-import-plugins {
  display: flex;
  flex-direction: column;
  gap: 8px;
  h2, p {
    margin: 0;
  }

  p, ul {
    font-size: 14px;
    line-height: 23.8px;
    font-weight: 400;
  }

  ul {
    color: $secondary-text;
    padding: 0 18px;
    li {
      list-style-type: disc;
    }
  }
}