/* liferay jobvite css - Reworked for Standard CSS */
.jv-iframe .jv-page {
  margin: 0 auto !important;
  max-width: unset !important;
}

body.jv-desktop.jv-page-jobs {
  color: white;

  h2 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
}

body.jv-desktop {
  background-color: #070B13 !important;
  color: white;
  padding-right: 40px;

  h2 {
    font-size: 2.7rem !important;
    font-weight: bold;
  }

  h3 {
    font-size: 2.313rem;
    /* font-weight: bold; */
    color: white !important;
  }

  .jv-seeker-tools h3 {
    padding: 0 !important;
  }

  h2 + h3 {
    font-size: 16px !important;
    max-width: 70%;
  }
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none !important;
}

form label {
  display: block !important;
}

.jv-search-form.jv-form {
  margin: 40px 0;
}

.jv-search-area,
.jv-search-area .jv-form-buttons {
  display: flex !important;
  align-items: center;
}

.jv-search-area {
  text-align: left;
}

.jv-search-form .jv-search-field {
  margin-right: 20px !important;
}

.jv-button.jv-button-primary {
  color: white !important;
  font-size: 1.125rem;
  background: linear-gradient(249.88deg, #377cff -37.23%, #0b5fff 63.41%);
  line-height: 1.75rem;
  width: fit-content !important;
  padding: 0.875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;

  strong {
    font-weight: normal;
  }

  i {
    display: none;
  }

  &:hover {
    background-color: #0053f0;
    background: #0053f0;
    border-color: transparent;
  }
}

form input[type="search"],
form input[type="text"],
form input[type="email"],
form input[type="tel"],
textarea {
  background: unset !important;
  box-shadow: none !important;
  border: 1px solid #5e6b84 !important;
  border-radius: 0.5rem !important;
  color: white;
  font-weight: 400;
  height: 58px;
}

.jv-search-form .jv-form-field.jv-form-field-select select,
.jv-form select,
select#jv-country-select {
  background: unset !important;
  background-color: unset;
  box-shadow: none !important;
  border: 1px solid #5e6b84 !important;
  border-radius: 0.5rem;
  color: white;
  font-weight: 400;
  padding: 0.4em;
  height: 40px;

  option {
    color: white;
    background-color: #070b13;
    background: #070b13;
  }
}

button[type="reset"] {
  color: white !important;
  font-weight: bold;
  line-height: 1.75rem;
  width: fit-content;
  padding: 0.875rem 1.125rem !important;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 1.125rem;

  &:hover {
    color: #377cff !important;
    outline: unset !important;
    background: #0b5fff1a !important;
    background-color: #0b5fff1a !important;
  }
}

.jv-job-list {
  margin-bottom: 0;

  tr {
    border: none !important;
  }
}

.jv-job-list thead {
  display: none;
}

.jv-job-list-location {
  color: white;
}

a,
.jv-desktop.jv-page-job li > span > a {
  color: #176dcf !important;
  text-decoration: none;
}

/* Job Page */

.jv-desktop.jv-page-job {
  background-color: transparent;
  color: white;
}

h2.jv-header {
  color: white;
  font-size: 2.7rem !important;
  font-weight: 700 !important;
}

.jv-desktop.jv-page-job *,
.jv-form-field-select label,
.jv-seeker-tools *,
.jv-job-list-name h3 a:hover,
.jv-job-list-location,
form label,
.jv-job-list-name h3 a:active,
aside *,
footer *,
.jv-form .jv-required-label {
  color: white !important;
}

.jv-desktop.jv-page-job .jv-job-detail-description strong {
  color: #659aff !important;
}

.jv-job-detail-bottom-actions {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.jv-job-detail-description {
  margin-top: 40px;
}

.jv-current-openings a.jv-button,
form[name="consentForm"] a {
  background: none;
  background-color: transparent;
  border: none;
  padding: 0;
  min-width: unset;
  color: #659aff !important;
  width: auto;
  font-size: 20px;
  display: inline;
}

.jv-button i {
  display: none;
}

.jv-job-detail-top-actions a.jv-button,
button[jv-add-attachment],
.jv-add-attachment-paste-buttons > button,
.jv-button.jv-button-apply-later,
body.jv-page-consentform form[name="consentForm"] a.jv-button.ng-binding {
  color: white;
  font-size: 1.125rem;
  min-width: 220px;
  line-height: 1.75rem;
  width: fit-content;
  padding: 0.875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  position: relative;
  background:
    radial-gradient(
      circle at 85.71% 9.82%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid transparent;
  z-index: 1;

  &:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 0.5rem;
    padding: 1px;
    background: linear-gradient(135deg, #ffffff85, #6399ff);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
  }

  &:hover {
    background:
      radial-gradient(
        circle at 85.71% 9.82%,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0) 100%
      ),
      rgba(0, 0, 0, 0.01);
  }
}

.jv-desktop.jv-page-job a.jv-button.jv-button-primary.jv-button-apply {
  color: white;
  font-size: 1.125rem;
  min-width: 220px;
  background: linear-gradient(249.88deg, #377cff -37.23%, #0b5fff 63.41%);
  line-height: 1.75rem;
  width: fit-content;
  padding: 0.875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;

  &:before {
    content: none;
  }

  &:hover {
    background-color: #0053f0 !important;
    background: #0053f0 !important;
    border-color: transparent !important;
  }
}

.jv-job-detail-description * {
  font-size: 20px !important;
  color: white !important;
  line-height: 1.5em;
  background-color: transparent !important;
}

/* --- Social Share Button Styles --- */

.jv-job-detail-share.jv-button-list {
  border: none;
}

.jv-button-list-item {
  background-color: transparent;
  border: none;
  background-image: none;
}

.jv-button-list-item {
  font-size: 1.7em !important;
}

.jv-button-icon.jv-icon-container .icon-message {
  color: white;
}

.jv-button-list-item-1-of-4 {
  width: 25%;
}

.jv-button-icon {
  margin: 0;
}

.jv-job-detail-share.jv-button-list {
  display: inline-flex;
  gap: 10px;
}

.jv-seeker-tools ul {
  display: flex;
  flex-direction: column;
  gap: 10px;

  li {
    padding: 0;

    > a {
      background-image: none;
      padding: 0;
      color: #659aff !important;
    }
  }
}

.jv-page-error {
  display: flex;
  align-items: center;
  background-color: transparent;
}

.jv-add-attachment.jv-paste-visible {
  height: 310px;
}

.jv-add-attachment-paste {
  background-color: #070b13 !important;
}

.jv-add-attachment {
  background-color: #070b13 !important;

  span {
    color: #659aff !important;
  }
}

.jv-form .jv-form-field-select .jv-form-field-appearance select {
  color: #757575;
}

.jv-additional-files.jv-apply-section {
  padding: 0 !important;
}

[ng-if="showAcceptReject"] {
  display: flex;
}

.jv-current-openings {
  margin-top: 1rem !important;
}

.jv-job-list tr {
  position: relative;
  background:
    radial-gradient(
      circle at 85.71% 9.82%,
      rgba(255, 255, 255, 0.036) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    rgba(0, 0, 0, 0.01);
  box-shadow: -3px 3px 30px 4px rgba(0, 0, 0, 0.16);
}
.jv-job-list tr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1px;
  border-radius: 8px;
  z-index: -1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: linear-gradient(to right, #ffffff21, #eaecf33b);
}

.jv-job-list {
  border-collapse: collapse;
  tr + tr {
    margin-top: 30px;
  }
  td h3 {
    font-weight: normal;
  }
  td h3 > a {
    color: white !important;
    text-decoration: none;
    display: block;
  }
  tr:hover:before {
    background: linear-gradient(to right, #3d80ff, #7414ff);
    padding: 2px;
  }
}
.jv-page-job article {
  padding-right: 0;
}
