:root {
  /* Primary colors */
  --atomic-primary: #00adff;
  --atomic-primary-light: #399ffe;
  --atomic-primary-dark: #1a50ad;
  --atomic-on-primary: #ffffff;
  --atomic-ring-primary: rgba(19, 114, 236, 0.5);
  /* Neutral colors */
  --atomic-neutral-dark: #626971;
  --atomic-neutral: #e5e8e8;
  --atomic-neutral-light: #f6f7f9;
  /* Semantic colors */
  --atomic-background: #ffffff;
  --atomic-on-background: #282829;
  --atomic-success: #12a244;
  --atomic-error: #ce3f00;
  --atomic-visited: #752e9c;
  /* Basic app colors */
  --app-text: #444444;
  --app-text-disabled: #888888;
  --app-background: #ffffff;
  /* Border radius */
  --atomic-border-radius: 0.25rem;
  --atomic-border-radius-md: 0.5rem;
  --atomic-border-radius-lg: 0.75rem;
  --atomic-border-radius-xl: 1rem;
  /* Font */
  --atomic-font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  --app-font-family: canada-type-gibson, Gibson, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  /* Following https://systemfontstack.com/ */
  --atomic-font-normal: 400;
  --atomic-font-bold: 700;
  /* Text size */
  --atomic-text-base: 0.875rem;
  /* 14px */
  --atomic-text-sm: 0.75rem;
  /* 12px */
  --atomic-text-lg: 1rem;
  /* 16px */
  --atomic-text-xl: 1.125rem;
  /* 18px */
  --atomic-text-2xl: 1.5rem;
  /* 24px */
  --atomic-line-height-ratio: 1.5;
  /* Coveo Logo Colors */
  --coveo-logo-1: #f05245;
  --coveo-logo-2: #00adff;
  --coveo-logo-3: #ffe300;
  --coveo-logo-4: #1cebcf;
  /* Coveo Primary Dark Colors */
  --coveo-primary-dark-1: #333357;
  --coveo-primary-dark-2: #451c5c;
  --coveo-primary-dark-3: #2e45ba;
  --coveo-primary-dark-4: #00634f;
  /* Coveo Primary Dark/Transparent Colors */
  --coveo-primary-dark-transparent1: #451c5c80;
  /* Coveo Governor Bay shades using https://tailwindcolorgenerator.com/ */
  --coveo-primary-dark-3-50: #6077ec;
  --coveo-primary-dark-3-100: #566de2;
  --coveo-primary-dark-3-200: #4c63d8;
  --coveo-primary-dark-3-300: #4259ce;
  --coveo-primary-dark-3-400: #384fc4;
  --coveo-primary-dark-3-500: #2e45ba;
  --coveo-primary-dark-3-600: #243bb0;
  --coveo-primary-dark-3-700: #1a31a6;
  --coveo-primary-dark-3-800: #10279c;
  --coveo-primary-dark-3-900: #061d92;
  /* Coveo Secondary Colors */
  --coveo-secondary-1: #e5e8e8;
  --coveo-secondary-2: #ffffff;

  /* Coveo Text Colors */
  --coveo-text: #282829;
  --coveo-text-dark: #ffffff;

  /* Borders */
  --coveo-border-radius: 10px;
  --coveo-border-radius-2: 5px;

  /* Box-Shadow */
  --box-shadow-1: 1px 1px 5px var(--app-gray-300);
  /* Tailwind Gray shades */
  --app-gray-50: #f9fafb;
  --app-gray-100: #f3f4f6;
  --app-gray-200: #e5e7eb;
  --app-gray-300: #d1d5db;
  --app-gray-400: #9ca3af;
  --app-gray-500: #6b7280;
  --app-gray-600: #4b5563;
  --app-gray-700: #374151;
  --app-gray-800: #1f2937;
  --app-gray-900: #111827;
  /* Workday Colors */
  --wd-orange: #f38b00;
  --wd-blue: #005cb9;

  /* Add backdrop filter blur */
  --app-backdrop-blur: 20px;

  /* Custom colors */
  --small-improvements-yellow: #ffd633;
  --coveo-work-anniversaries: rgb(46 69 186);
  --coveo-new-hires: rgb(237 112 71);
  --color-1: rgb(72, 17, 70);

  /* Custom border */
  --border-1: 1px solid rgba(255, 255, 255, 0.3);

  /* Light App Theme Variables */
  --light-bkg-c1: #fff;
  --light-bkg-c1-rgb: 0, 0, 0;
  --light-bkg-c2: rgba(var(--light-bkg-c1-rgb), 0.1);
  --light-bkg-c3: rgba(var(--light-bkg-c1-rgb), 0.15);
  --light-bkg-c4: rgba(var(--light-bkg-c1-rgb), 0.2);
  --light-txt-c1: var(--app-gray-800);
  --light-txt-c2: var(--app-gray-600);
  --light-grad1-c1: var(--coveo-logo-4);
  --light-grad1-c2: var(--coveo-logo-3);
  --light-gradient-1: linear-gradient(311.64deg, var(--light-grad1-c1) 2.13%, var(--light-grad1-c2) 59.8%);
  --light-gray-1: linear-gradient(311.64deg, var(--app-gray-100) 2.13%, var(--app-gray-200) 59.8%);

  /* Dark App Theme Variables */
  --dark-bkg-c1: var(--dark-grad1-c2);
  --dark-bkg-c1-rgb: 51, 51, 87;
  --dark-bkg-c2: rgba(var(--dark-bkg-c1-rgb), 0.5);
  --dark-bkg-c3: rgba(var(--dark-bkg-c1-rgb), 0.65);
  --dark-bkg-c4: rgba(var(--dark-bkg-c1-rgb), 0.7);
  --dark-txt-c1: var(--app-gray-100);
  --dark-txt-c2: var(--app-gray-200);
  --dark-grad1-c1: var(--coveo-logo-1);
  --dark-grad1-c2: #390c53;
  --dark-gradient-1: linear-gradient(311.64deg, var(--dark-grad1-c1) -2.13%, var(--dark-grad1-c2) 59.8%);
  --dark-gradient-2: linear-gradient(302.05deg, var(--coveo-logo-1) 2.25%, var(--dark-grad1-c2) 78.69%);
  --dark-gradient-3: linear-gradient(127.8deg, #3a0c53 8.36%, #e84f46 122.49%);
  --dark-nav-item-gradient: linear-gradient(90deg, #00a4f2 0%, #1bfadb 60.94%);
  --footer-gradient: linear-gradient(90deg, #50a 0%, #8411ff 50%, #00a4f2 100%);

  /* UX/UI Colors */
  --primary-pure-white: #fff;
  --primary-navy-0-sem: #F7F7F8;
  --primary-navy-3: #8787db;
  --primary-navy-5-sem: #525296;
  --primary-gray-1: #f9f9f9;
  --primary-gray-3: #e5e8e8;
  --primary-gray-5: #b7bcc0;
  --primary-gray-6: #6c727b;
  --primary-gray-7-p: #565b66;
  --primary-action-6-main: #1372ec;
  --accent-teal-7: #078675;
  --secondary-purple-2: #bb80dc;
  --secondary-purple-3: #9a52c1;
  --scales-neo-purple-5: #840eff;
  --scales-neo-purple-6: #50a;
  --scales-neo-purple-8: #24004f;
  --background-color-background-modal-header: #f7f7f8;
  --text-color-text-brand-primary: #33373e;
  --workplace-dark-background: var(--scales-neo-purple-8);
}

:root {
  --workplace-max-width: 1440px;
}
:root {
  /* demo-workplace */
  --spacing: 16px;
  --search-box-width: 648px;
  --nav-height: 72px;
  --nav-icon-width: 72px;
  --navbar-height: 36px;
  /* Basic app sizes */
  --app-spacing: 16px;
  --app-icon: 24px;
  --app-icon-large: 36px;
  --app-header-height: auto;
  --app-menu-icon-width: 80px;
  --app-info-width: 180px;
}

body {
  margin: 0;
}

body.atomic-modal-opened {
  overflow-y: hidden;
}

.header-bg {
  background-color: var(--atomic-neutral-light);
  grid-area: 1 / -1 / 1 / 1;
}

.generic-button-1 {
  font-family: var(--app-font-family);
  font-size: 1rem;
  color: white;
  line-height: 1.5rem;
  padding: var(--app-spacing);
  border-radius: var(--coveo-border-radius);
  text-align: center;
  text-decoration: none;
}

button.shepherd-cancel-icon {
  border: unset;
  font-size: 0rem;
  background: unset;
}
button.shepherd-cancel-icon span {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  background-image: url(../assets/result-templates-icons/cross.svg);
  background-repeat: no-repeat;
  background-size: cover;
}
button.shepherd-cancel-icon span:hover {
  cursor: pointer;
}
.shepherd-tour {
  outline: none;
  position: absolute !important;
  max-width: 25rem;
  z-index: 101;
  border-radius: 2rem 0.5rem 2rem 0.5rem;
  border: 1px var(--workplace-dark-background) solid;
  background: var(--Primary-Pure-White, #fff);
}

.shepherd-header {
  display: flex;
  justify-content: space-between;
  padding: 2rem 1.5rem 0rem 2rem;
  align-items: center;
  align-self: stretch;
}
.tour-subtitle {
  width: auto;
  display: block;
  border-bottom: 1px solid var(--Primary-Gray-3, #e5e8e8);
  padding: 0rem 1.5rem 1.5rem 2rem;
}

.shepherd-header .button {
  width: max-content;
  height: max-content;
}
.shepherd-title {
  color: var(--Primary-Gray-9---T, #282829);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.25rem;
  letter-spacing: 0.0165rem;
  margin: 0rem;
  padding: 0px;
}
.shepherd-text {
  padding: 2rem;
  color: var(--Primary-Gray-9---T, #282829);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.6875rem;
  letter-spacing: 0.01238rem;
}
.shepherd-footer {
  display: flex;
  padding: 1.5rem 2rem;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  align-self: stretch;
  border-top: 1px solid var(--Primary-Gray-3, #e5e8e8);
}

button.shepherd-button {
  padding: 0.25rem 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 32px;
  border: 1px solid #1065d3;
  background: #fff;
  color: #0d5cc0;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.3125rem;
  letter-spacing: 0.00263rem;
}
button.blue-button {
  border: 1px solid #1065d3;
  background: #1065d3;
  color: #fff;
}
button.purple-button {
  border: 1px solid #390076;
  background: #390076;
  color: #fff;

  &:hover,
  &:focus {
    border: 1px solid #5c00b7;
    background: #5c00b7;
    outline: none;
  }
}
button.blue-button:hover,
button.blue-button:focus,
button.blue-button:focus-visible {
  border: 1px solid #25399c;
  background: #25399c;
  outline: none;
}
button.blue-button:focus {
  box-shadow:
    0px 0px 4px 2px rgba(19, 114, 236, 0.4),
    0px 0px 0px 1px rgba(19, 114, 236, 0.6);
}
button.shepherd-button:hover {
  cursor: pointer;
}

.tour-active::before {
  content: ''; /* Create a pseudo-element */
  position: fixed; /* Position the pseudo-element absolutely */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #181d3acc; /* Apply opacity to the pseudo-element */
  z-index: 100;
  margin: 0;
}
.tour-subtitle {
  color: var(--Primary-Gray-6, #6c727b);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.3125rem;
  letter-spacing: 0.00263rem;
  margin: 0;
}
.shepherd-tour-background,
.shepherd-tour-background-purple,
.shepherd-tour-background-white,
.shepherd-tour-background-dropdown {
  pointer-events: none;
  z-index: 101;
}
.shepherd-tour-background-purple,
.shepherd-tour-background-purple-rounded {
  background-color: rgba(132, 14, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0px 4px 16.2px 0px rgba(132, 14, 255, 0.4);
}
.shepherd-tour-background-purple-rounded {
  z-index: 101;
  position: relative;
  border-radius: 32px;
}
.shepherd-tour-background-white {
  border-radius: 0.5rem;
  background-color: #f0f0f0;
}
.dropdown-content.security.shepherd-tour-background-dropdown.shepherd-enabled.shepherd-target,
.dropdown-content.profile.shepherd-tour-background-dropdown.shepherd-enabled.shepherd-target {
  display: block;
  position: absolute;
  z-index: 101;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  background: var(--primary-pure-white);
  box-shadow:
    0px 4px 8px 0px rgba(4, 8, 31, 0.08),
    0px 0px 0px 1px #e5e8e8 inset;
  padding: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  margin-top: 4px;
}
.shepherd-tour-white-background {
  background-color: #f0f0f0;
}

.create-ticket-image-tour {
  display: block;
  background-image: url(../assets/result-templates-images/createTicketTour.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: auto;
  height: 10rem;
}

workplace-user-profile.profile-dropdown.profile:has(~ .shepherd-tour-background-dropdown) {
  position: relative;
  pointer-events: none;
  z-index: 101;
  background-color: rgba(132, 14, 255, 0.4);
  border-radius: 32px;
  box-shadow:
    0px 0px 3px 2px rgba(19, 114, 236, 0.72),
    0px 0px 0px 1px rgba(57, 159, 254, 0.7);
  ::after {
    transform: rotate(-180deg);
  }
}
#header-dropdown-security-incident-menu:has(.shepherd-tour-background-dropdown),
#tour-profile-section:has(.shepherd-tour-background-dropdown) {
  pointer-events: none;
  z-index: 101;
  background-color: rgba(132, 14, 255, 0.4);
  border-radius: 0.5rem;
  box-shadow: 0px 4px 16.2px 0px rgba(132, 14, 255, 0.4);
  ::after {
    transform: rotate(-180deg);
  }
}

workplace-footer:has(.footer-icons-container.shepherd-tour-background.shepherd-enabled.shepherd-target) {
  z-index: 101;
  .tour-highlight-footer {
    background-color: #181d3acc;
    width: unset;
    height: unset;
    flex: 1;
  }
}
.tour-counter {
  margin-right: auto;
  color: var(--Primary-Gray-9---T, #282829);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.6875rem;
  letter-spacing: 0.01238rem;
}
#tour-app-nav.shepherd-tour-background-purple {
  position: relative;
}
.shepherd-tour-create-ticket {
  transform: translate(-32%, 5%);
}
.shepherd-tour-security {
  transform: translate(-40%, 5%);
}
.shepherd-tour-notifications {
  transform: translate(-44%, 3%);
}
.shepherd-tour-security-dropdown {
  transform: translate(-21%, 5%);
}
.shepherd-tour-profile {
  transform: translate(-20%, 5%);
}
.shepherd-tour-profile-dropdown {
  transform: translate(-18%, 5%);
}
.shepherd-tour-bottom {
  transform: translate(0%, 5%);
}
.shepherd-tour-top {
  transform: translate(0%, -5%);
}
.shepherd-tour-community-updates {
  transform: translate(2%, -5%);
}

.shepherd-tour-search-bar {
  transform: translate(0%, -10%);
}
.shepherd-tour-footer {
  max-width: 535px;
}

html {
  background-color: var(--white);
}
body {
  overflow-x: hidden;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  height: 100vh;
  --atomic-font-family: var(--app-font-family);
  font-family: var(--app-font-family);
}

body:has(.shepherd-enabled) {
  overflow-y: hidden;
}

.app {
  flex: 1;
}

// h3 {
//   color: white;
//   font-family: var(--app-font-family);
//   padding-left: 30px;
// }

.material-icon {
  width: 36px;
  padding: 0 var(--app-spacing);
}

.app-main {
  .app-content {
    width: 100vw;
    height: fit-content;
  }
}

@media only screen and (max-width: 1024px) {
  .app-content {
    left: 0;
    width: 100%;
  }
}

.body-panel > * {
  box-sizing: border-box;
  padding: 0px 24px;
  display: block;
  margin: 0 auto;
  max-width: var(--workplace-max-width);
}

.body-panel-dark {
  background-color: var(--workplace-dark-background);
}

.wp-search-layout {
  max-width: var(--workplace-max-width);
  margin: auto;
  padding: 0px 24px;
  box-sizing: border-box;
  display: grid;
  gap: var(--app-spacing);
  grid-template-areas:
    'breadbox breadbox'
    'facets topbar'
    'facets results'
    'facets pagination'
    'facets status'
    'facets praise'
    'facets .';
  grid-template-columns: minmax(240px, 336px) minmax(500px, 1710px);
  > * {
    display: block;
    margin: 0 auto;
    max-width: var(--workplace-max-width);
  }
  atomic-breadbox {
    grid-area: breadbox;
    &::part(container) {
      margin-top: var(--spacing);
      padding-bottom: var(--spacing);
      border-bottom: 1px solid var(--atomic-neutral);
    }
  }

  .pagination {
    grid-area: pagination;
    margin: var(--spacing) 0;
  }

  .atomic-facet-manager,
  atomic-facet-manager {
    padding-left: 16px;
    grid-area: facets;
    margin: 0;

    & > * {
      margin-bottom: var(--spacing);
    }
    & > atomic-automatic-facet-generator > * {
      margin-bottom: var(--spacing);
    }
  }

  atomic-breadbox {
    grid-area: breadbox;
    margin: 1px;
  }
  .status {
    grid-area: status;
  }
  .results {
    grid-area: results;
    grid-row: auto;
    width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
  }
  .pagination {
    grid-area: pagination;
  }
  .topbar {
    grid-area: topbar;
    display: flex;
    width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
    atomic-query-summary {
      flex: 1;
    }
  }

  // atomic-facet-manager {
  //   display: none;
  // }
}

@media only screen and (min-width: 800px) {
  .wp-search-layout {
    // atomic-facet-manager {
    //   display: inherit;
    // }
    atomic-refine-toggle {
      display: none;
    }
    // atomic-sort-dropdown {
    //   display: inherit;
    // }
    .status {
      max-width: var(--search-box-width);
    }
  }
}

@media only screen and (max-width: 800px) {
  .wp-search-layout {
    atomic-facet-manager,
    .atomic-facet-manager {
      display: none;
    }
    atomic-sort-dropdown {
      display: none;
    }
  }
}

@media only screen and (max-width: 800px) {
  workplace-searchbox-section atomic-search-box {
    width: 80%;
  }
  .wp-search-layout {
    grid-template-areas:
      'breadbox'
      'topbar'
      'results'
      'pagination'
      'status'
      '.';
    grid-template-columns: 1fr;
  }
}
.loading-text {
  color: black;
}
.banner-text-link {
  color: #0d5cc0;
  cursor: pointer;
  &:hover {
    text-decoration: underline;
    color: #074390;
  }
}
.banner-button {
  border-radius: 32px;
  background: var(--color-tokens-test-control-cont-bg, #1065d3);
  display: flex;
  height: 40px;
  padding: 0px 16px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  color: var(--color-tokens-test-control-cont-text-base, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 21px;

  &:hover {
    cursor: pointer;
  }
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: transparent;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
}
.ring:before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #f05245;
  border-right: 3px solid #00adff;
  border-bottom: 3px solid #ffe300;
  border-left: 3px solid #1cebcf;
  border-radius: 50%;
  animation: animate 2s linear infinite;
  transform: rotateY(0deg) rotate(-45deg); /* needs Y at 0 deg to behave properly*/
}
@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.modal-open {
  overflow: hidden !important;
}
atomic-search-box{
  z-index: 1;
}
.preference-hidden {
  display: none;
}
.section-title{
  margin-bottom: 0rem;
}
atomic-query-summary {
  display: flex;
  align-items: center;
}

.prevent-click-on-child *{
  pointer-events: none;
}
#notify-message {
  inline-size: 100%;
  overflow-wrap: break-word;
}
/* Prevents the title from being shown when we expand more results. */
::part(result-list-grid-clickable):not(:focus) {
  display: none;
}