@import "../abstract/variables";

.a-link {
  text-decoration: none;

  &:hover {
    cursor: pointer;
    text-decoration: underline;
  }
}

.a-link2 {
  text-decoration: underline;
  &:hover {
    cursor: pointer;
    text-decoration: underline;
  }
}

.column-direction {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 2rem;
  width: 100%;
}

.main-text {
  font-size: 30px;
  color: $secondary-text-color;

  @media (max-width: 768px) {
    font-size: 25px;
  }

  @media (max-width: 480px) {
    font-size: 20px;
  }
}

.secondary-text {
  font-size: 16px;
  color: $tertiary-text-color;
  @media (max-width: 768px) {
    font-size: 14px;
  }

  @media (max-width: 480px) {
    font-size: 12px;
  }
}

.sidebar-title {
  font-size: $font-size-title-sidenav;
  color: $secondary-text-color;
  font-weight: bold;
  margin-bottom: 20px;
  @media (max-width: 768px) {
    margin-top: -36px;
    margin-bottom: 3px;
    font-size: 20px;
  }
}

.description-section {
  margin-top: 30px;
  @media (max-width: 768px) {
    margin-top: 7px;
  }

  .description-title {
    color: $secondary-text-color;
  }

  .description-body {
    color: $tertiary-text-color;
  }
}

.list-container {
  width: 100%;
  border: 1px solid $section-border-color;
  border-radius: 12px;
  margin-top: 22px;
  @media (max-width: 768px) {
    margin-top: 7px
  }

  .list-section{
      margin: 1rem;
      color: $secondary-text-color;

      .list{
          margin-top: 12px;
          color: $tertiary-text-color;
          @media (max-width: 768px) {
            margin-top: 6px;
          }
      }
  }
}

.required {
  color: $warn-secondary-color;
  font-weight: bold;
}

.service-info{
  align-items: center;
  display: flex;
}

.service-info img {
  width: 40px;
  height: 40px;
  border: 2px solid $section-border-color;
  border-radius: 50%;
  margin: 5px;
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transform: translateZ(0);
}

.popup-container {
  max-height: 80vh;
  background: $primary-color;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  width: 50%;
  position: relative;

  @media (max-width: 768px) {
    width: 80%;
    max-height: 80vh;
    padding: 15px;
    border-radius: 6px;
    margin: 0 auto;
  }

  @media (max-width: 480px) {
    width: 90%;
    max-height: 90vh;
    padding: 10px;
    border-radius: 4px;
  }

  .close {
    float: right;
    font-size: 20px;
    cursor: pointer;
  }
}