/**
 * Start Deactivate CSS
 * Change the class - #{$prefix}-notice-data
 */
#{$prefix}-feedback-wrapper {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  box-sizing: border-box;
  overflow: scroll;
  display: block;
}
#{$prefix}-feedback-card {
  background: #fff;
  max-width: 870px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 56px;
  border-radius: 10px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  h2 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 600;
  }
  p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5em;
  }
  #{$prefix}-feedback-comments {
    padding: 1em 0em;
    label {
      display: block;
      margin-bottom: 0.5em;
    }
    textarea {
      display: block;
      min-width: 100%;
      max-width: 100%;
      font-size: 1rem;
      line-height: 1.5;
      color: #495057;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
      transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
      &::focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
      }
    }
  }
}
#{$prefix}-feedback-tabs {
  margin-bottom: 0.6em;
  #{$prefix}-checkbox-group {
    display: flex;
    user-select: none;
    gap: 0.8em;
  }
  #{$prefix}-checkbox-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
  }
  #{$prefix}-checkbox-input {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    &:checked {
      & + #{$prefix}-checkbox-tile {
        border-color: #2260ff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        color: #2260ff;
        &:before {
          transform: scale(1);
          opacity: 1;
          background-color: #2260ff;
          border-color: #2260ff;
        }
      }
    }
    &:focus {
      & + #{$prefix}-checkbox-tile {
        border-color: #2260ff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
        &:before {
          transform: scale(1);
          opacity: 1;
        }
      }
    }
  }
  #{$prefix}-checkbox-tile {
    padding:0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    min-height: 7rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    &:before {
      content: "";
      position: absolute;
      display: block;
      width: 1.25rem;
      height: 1.25rem;
      border: 2px solid #b5bfd9;
      background-color: #fff;
      border-radius: 50%;
      top: 0.25rem;
      left: 0.25rem;
      opacity: 0;
      transform: scale(0);
      transition: 0.25s ease;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
      background-size: 12px;
      background-repeat: no-repeat;
      background-position: 50% 50%;
    }
    &:hover {
      border-color: #2260ff;
      &:before {
        transform: scale(1);
        opacity: 1;
      }
    }
  }
  #{$prefix}-checkbox-icon {
    transition: 0.375s ease;
    color: #494949;
    svg {
      width: 2rem;
      height: 2rem;
    }
  }
  #{$prefix}-checkbox-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
    font-size: 14px;
  }
}
#{$prefix}-feedback-tabs #{$prefix}-checkbox-input:checked+#{$prefix}-checkbox-tile #{$prefix}-checkbox-icon,
#{$prefix}-feedback-tabs #{$prefix}-checkbox-input:checked+#{$prefix}-checkbox-tile #{$prefix}-checkbox-label {
  color: #2260ff;
}
#{$prefix}-feedback-actions {
  margin-top: 0.6em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  .button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.7rem 0.75rem;
    font-size: .9rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #000;
    border: none;
    background: #f6f7f7;
    &:hover {
      color: #000;
      background: #e9ecef;
    }
  }
  .skip-button{
    color:#9f9c9c;
    text-decoration: none;
    &:focus{
      outline: none;
      box-shadow: none;
    }
    &:hover{
      color:#007bff;
    }
  }
  #{$prefix}-feedback-submit-btn {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    &:hover {
      color: #fff;
      background-color: #007bff;
      border-color: #007bff;
      opacity: 0.8;
    }
  }
  div {
    display: flex;
    gap: 10px;
  }
}


@media screen and (max-width: 767px) {
  #{$prefix}-feedback-tabs {
    margin-bottom: 0.6em;
  }

  #{$prefix}-feedback-tabs #{$prefix}-checkbox-group {
    flex-wrap: wrap;
  }
}
