/**
 * Notices.
 */
.cenote-notice {
  position: relative;
  padding: 8px 40px 8px 8px;

  .links {
    margin: 0.5em 0;
    display: flex;
    flex-wrap: wrap;

    a {
      margin-right: 10px;

      & > span {
        vertical-align: middle;
        padding-right: 5px;
      }
    }
  }

  .notice-text {
    .coupon-code {
      display: inline-block;
    }
  }

  .notice-dismiss {
    text-decoration: none;
  }
}

/**
 * Welcome notice.
 */
.cenote-message__content {
  display: flex;

  .cenote-message__image {
    flex: 0 0 160px;
    min-height: 100px;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #FCFCFD;

    .cenote-screenshot {
      width: 100%;
      box-shadow: 0 0 1px 0 #ccd0d4;
      margin: 0;
      float: none;
    }
  }

  .cenote-message__heading {
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .cenote-message__cta {
    display: flex;
    align-items: center;

    .plugin-install-notice {
      margin-left: 15px;
      line-height: 1.4;
    }

    a {
      &:before {
        margin: 5px;
        vertical-align: middle;
      }
    }
  }
}

// Dismiss button.
a.cenote-message-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 15px 10px 21px;
  font-size: 13px;
  line-height: 1.23076923;
  text-decoration: none;

  &:before {
    position: absolute;
    top: 8px;
    left: 0;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
  }
}

@media screen and (max-width: 768px) {
  .cenote-message__image {
    display: none;
  }
}

/**
 * Dashboard page.
 */
.wrap .cenote-header {
  background-color: #fff;
  padding: 12px 20px;
  border-bottom: 1px solid #ccd0d4;
  margin-left: -20px;
  margin-right: -20px;
}

.appearance_page_cenote-options .wrap {
  margin-top: 0;
}

/**
 * Responsive.
 */
@media (max-width: 768px) {
  .cenote-message__content {
    .cenote-screenshot {
      display: none;
    }

    .cenote-message__text {
      padding: 0;
      width: 100%;
    }
  }
}

// Cenote Review Notice.
.cenote-notice.theme-review-notice {
  border-left-color: #6547DB;
  padding: 20px 15px;

  .cenote-message__content {
    @media screen and (max-width: 768px) {
      display: flex;
      flex-direction: column;
    }
  }

  a.btn {
    display: flex;
    max-width: fit-content;
    justify-content: center;
    align-items: center;
  }

  .cenote-message__image {
    flex: 0;
    min-height: auto;
    margin-right: 35px;
    margin-left: 10px;
    padding-right: 0;
    border-right: none;
  }

  .cenote-logo--png {
    width: 80px;
    height: 80px;
  }

  h3 {
    font-size: 21px;
    margin: 0;
    line-height: 1;
    color: #000;
  }

  p {
    font-size: 14px;
    line-height: 21px;
    color: #3C434A;
    margin: 0;
    margin-bottom: 6px;
    max-width: 720px;
    padding: 2px 0;
  }

  span.dashicons.dashicons-smiley.smile-icon {
    background: #f7e143;
    border-radius: 50%;
    font-size: 15px;
    border: 1px solid;
    width: 17px;
    height: 17px;
  }

  .button-primary {
    background: #6547DB;
    border-color: #6547DB;
    box-shadow: none;
    color: #fff;

    @media screen and (max-width: 768px) {
      margin-bottom: 10px;
    }
  }

  .button-secondary {
    color: #6547DB;
    border-color: #6547DB;
    background: #f6f7f7;
    vertical-align: top;

    @media screen and (max-width: 768px) {
      margin-bottom: 10px;
    }
  }

  strong {
    color: #000;
  }

  .links {
    margin: 1.2em 0 5px 0;
  }
}
