.vendor-consent-panel {
  border: 1px solid #dfe8da;
  border-radius: 8px;
  background: #fbfdf9;
  padding: 20px;
  margin-top: 20px;
}

.vendor-consent-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #e6eee1;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.vendor-consent-summary p {
  color: #4a4a4a;
  margin-bottom: 0;
}

.vendor-consent-count {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef7e8;
  color: #2f7418;
  font-weight: 500;
  padding: 7px 14px;
  white-space: nowrap;
}

.vendor-doc-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.editor .vendor-doc-item,
.vendor-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  list-style: none;
  margin: 0 0 10px;
  padding: 14px;
}

.vendor-doc-title {
  flex: 1 1 auto;
  color: #3d3d3d;
  font-weight: 500;
  line-height: 1.5;
}

.vendor-doc-status {
  flex: 0 0 auto;
  min-width: 94px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #666;
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 10px;
  text-align: center;
}

.vendor-doc-item.is-read {
  border-color: #9aca85;
  background: #f8fcf5;
}

.vendor-doc-item.is-read .vendor-doc-status {
  background: #3c8c1e;
  color: #fff;
}

.vendor-doc-link {
  flex: 0 0 auto;
  border: 1px solid #3c8c1e;
  border-radius: 999px;
  color: #3c8c1e;
  font-weight: 500;
  padding: 8px 14px;
  text-decoration: none !important;
  white-space: nowrap;
}

.vendor-doc-link:hover,
.vendor-doc-link:focus {
  background: #3c8c1e;
  color: #fff;
  outline: 2px solid rgba(60, 140, 30, 0.25);
  outline-offset: 2px;
}

.vendor-terms-check {
  display: block;
  margin: 10px 0 12px;
}

.vendor-consent-note {
  color: #786231;
  background: #fff8e5;
  border-radius: 6px;
  padding: 10px 12px;
}

.vendor-consent-note.is-complete {
  color: #2f7418;
  background: #eef7e8;
}

@media only screen and (max-width: 767px) {
  .vendor-consent-panel {
    padding: 15px;
  }

  .vendor-consent-summary,
  .vendor-doc-item {
    display: block;
  }

  .vendor-consent-count,
  .vendor-doc-status,
  .vendor-doc-link {
    display: inline-block;
    margin-top: 10px;
  }

  .vendor-doc-link {
    width: 100%;
    text-align: center;
  }
}

.vendor-modal-docs {
  border-top: 1px solid #e5e5e5;
  margin-top: 25px;
  padding-top: 20px;
}

.vendor-modal-docs h5 {
  border-bottom: none;
  color: #3d3d3d;
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 0;
  text-align: left;
}

.vendor-modal-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vendor-modal-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
  padding: 12px;
}

.vendor-modal-doc-title {
  flex: 1 1 auto;
  color: #3d3d3d;
  font-weight: 500;
}

.vendor-modal-doc-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f1f1f1;
  color: #666;
  font-size: 13px;
  padding: 6px 10px;
}

.vendor-modal-doc-item.is-read {
  border-color: #9aca85;
  background: #f8fcf5;
}

.vendor-modal-doc-item.is-read .vendor-modal-doc-status {
  background: #3c8c1e;
  color: #fff;
}

.vendor-modal-doc-link {
  flex: 0 0 auto;
  font-size: 1em;
  padding: 8px 14px;
}

.vendor-modal-doc-note {
  color: #786231;
  background: #fff8e5;
  border-radius: 6px;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.vendor-modal-doc-note.is-complete {
  color: #2f7418;
  background: #eef7e8;
}

@media only screen and (max-width: 767px) {
  .vendor-modal-doc-item {
    display: block;
  }

  .vendor-modal-doc-status,
  .vendor-modal-doc-link {
    display: inline-block;
    margin-top: 10px;
  }

  .vendor-modal-doc-link {
    width: 100%;
  }
}
