:host {
  display: block;
  --nylas-primary: #2563eb;
  --nylas-error: #cc4841;
  --nylas-error-50: #ffeae8;
  --nylas-error-100: #ffc5bf;
  --nylas-error-200: #fecaca;
  --nylas-error-pressed: #992222;
  --nylas-wraning: #f06c00;
  --nylas-success: #16a392;
  --nylas-info: #2b8fc2;
  --nylas-base-0: #ffffff;
  --nylas-base-25: #fcfcfd;
  --nylas-base-50: #f8f9fc;
  --nylas-base-100: #eaecf5;
  --nylas-base-200: #d5d9eb;
  --nylas-base-300: #b3b8d8;
  --nylas-base-400: #717bbc;
  --nylas-base-500: #4e5ba6;
  --nylas-base-600: #3e4784;
  --nylas-base-700: #263f72;
  --nylas-base-800: #293056;
  --nylas-base-900: #101323;
  --nylas-base-950: #0e101b;
  --nylas-color-blue-100: #e0e6f9;
  --nylas-border-radius: 0.25rem;
  --nylas-border-radius-2x: 0.5rem;
  --nylas-border-radius-3x: 0.75rem;
  --nylas-font-family: "Inter", sans-serif;
  /* Greys */
  --nylas-color-black: #000000;
  --nylas-color-grey-900: #2c2c2c;
  --nylas-color-grey-800: #4b4b4b;
  --nylas-color-grey-700: #6e6e6e;
  --nylas-color-grey-600: #8e8e8e;
  --nylas-color-grey-500: #b3b3b3;
  --nylas-color-grey-400: #cacaca;
  --nylas-color-grey-300: #e1e1e1;
  --nylas-color-grey-200: #eaeaea;
  --nylas-color-grey-100: #f5f5f5;
  --nylas-color-grey-50: #fbfcfe;
  --nylas-color-white: #ffffff;
  /* Reds */
  --nylas-color-red-900: #992222;
  --nylas-color-red-700: #cc4841;
  --nylas-color-red-500: #ff786a;
  --nylas-color-red-300: #ffa79e;
  --nylas-color-red-100: #ffc5bf;
  --nylas-color-red-50: #ffeae8;
  /* Blues */
  --nylas-color-blue-900: #213571;
  --nylas-color-blue-700: #314fa9;
  --nylas-color-blue-500: #4169e1;
  --nylas-color-blue-300: #bdccf9;
  --nylas-color-blue-100: #e0e6f9;
  --nylas-color-blue-50: #f6f8fd;
  /* Yellows */
  --nylas-color-yellow-900: #7c6506;
  --nylas-color-yellow-700: #c29f09;
  --nylas-color-yellow-500: #f7c90b;
  --nylas-color-yellow-300: #f9de70;
  --nylas-color-yellow-100: #fceba9;
  --nylas-color-yellow-50: #fdf4ce;
  /* Greens */
  --nylas-color-green-900: #0e6b60;
  --nylas-color-green-700: #16a392;
  --nylas-color-green-500: #17c3b2;
  --nylas-color-green-300: #74dbd1;
  --nylas-color-green-100: #a2e7e0;
  --nylas-color-green-50: #d1f3f0;
  /* Purples */
  --nylas-color-purple-900: #643554;
  --nylas-color-purple-700: #954f7d;
  --nylas-color-purple-500: #c769a7;
  --nylas-color-purple-300: #dda5ca;
  --nylas-color-purple-100: #e0bdd6;
  --nylas-color-purple-50: #e9dde5;
  /* Skies */
  --nylas-color-sky-900: #20698f;
  --nylas-color-sky-700: #2b8fc2;
  --nylas-color-sky-500: #6dceff;
  --nylas-color-sky-300: #8fdaff;
  --nylas-color-sky-100: #b8e7ff;
  --nylas-color-sky-50: #d9f2ff;
}

.scheduler-editor {
  display: flex;
  flex-direction: column;
  height: inherit;
}
.scheduler-editor .form-contents {
  height: calc(100% - 80px);
  display: grid;
  grid-template-columns: minmax(224px, 25%) 1fr;
}
@media screen and (max-width: 768px) {
  .scheduler-editor .form-contents {
    display: table-column-group;
    height: auto;
  }
}
.scheduler-editor .form-contents .tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--nylas-base-200);
  background-color: var(--nylas-base-25);
}
@media screen and (max-width: 768px) {
  .scheduler-editor .form-contents .tabs {
    border-right: none;
  }
}
.scheduler-editor .form-contents .tabs .tab {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--nylas-base-900);
  background: var(--nylas-base-0);
  border: none;
  height: 56px;
  font-family: var(--nylas-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}
.scheduler-editor .form-contents .tabs .tab:not(:first-of-type) {
  margin-top: 0.25rem;
}
.scheduler-editor .form-contents .tabs .tab:last-of-type {
  margin-bottom: 0.25rem;
}
.scheduler-editor .form-contents .tabs .tab.active {
  font-weight: 600;
  background: var(--nylas-base-0);
  color: var(--nylas-primary);
  border-left: 4px solid var(--nylas-primary);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.0588235294);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843);
}
.scheduler-editor .form-contents .tabs .tab.hide {
  display: none;
}
.scheduler-editor .form-contents .tab-content {
  max-width: 692px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.05s ease-in;
  opacity: 0;
}
.scheduler-editor .form-contents .tab-content.fadeIn {
  opacity: 1;
}
.scheduler-editor .form-contents .tab-content .hide {
  display: none;
}
.scheduler-editor .form-contents .tab-content nylas-event-info,
.scheduler-editor .form-contents .tab-content nylas-event-limits {
  width: inherit;
}
.scheduler-editor .form-contents .tab-content nylas-event-info div[slot=inputs],
.scheduler-editor .form-contents .tab-content nylas-event-limits div[slot=inputs] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.scheduler-editor .form-contents .tab-content .tab-header {
  display: flex;
  flex-direction: column;
  margin: 1rem 1rem 0.5rem;
  row-gap: 4px;
}
.scheduler-editor .form-contents .tab-content .tab-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: var(--nylas-base-900);
  text-align: left;
}
.scheduler-editor .form-contents .tab-content .tab-header p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 20px;
  color: var(--nylas-base-600);
  text-align: left;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  padding: 0 1rem;
  border-top: 1px solid var(--nylas-base-200);
}
@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .footer .preview {
    margin-top: 1rem;
    width: 100%;
  }
}
.footer .buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  justify-self: flex-end;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  .footer .buttons {
    flex-direction: column-reverse;
    width: 100%;
  }
}
.footer .buttons p {
  max-width: 524px;
}
.footer .buttons p.unsaved-changes {
  color: var(--nylas-base-600);
}
.footer .buttons p.saved-changes {
  color: var(--nylas-success);
}
.footer .buttons p.error {
  color: var(--nylas-error);
}
.footer .buttons p.error-full-width {
  max-width: 660px;
}
@media screen and (max-width: 768px) {
  .footer .buttons button-component {
    width: 100%;
  }
}
.footer .buttons button {
  background: var(--nylas-primary);
  color: var(--nylas-base-0);
  height: 48px;
  border: none;
  border-radius: var(--nylas-border-radius-2x);
  font-size: 16px;
  line-height: 24px;
  padding: 0 1rem;
  cursor: pointer;
  width: 148px;
}
.footer .buttons button:hover {
  background: var(--nylas-base-600);
}
.footer .buttons button:active {
  background: var(--nylas-base-800);
}
.footer .buttons button:disabled {
  background: var(--nylas-base-300);
  cursor: not-allowed;
}
.footer .buttons button span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer .buttons button-component.save-changes {
  min-width: 140px;
}

button-component#report-issue {
  width: auto;
}

nylas-feedback-form {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  border-radius: inherit;
}