#addnewdataPhone {
  display: flex;

  @media (min-width: 768px) {
    display: none;
  }

  flex-direction: column;
  gap: 0.5rem;

  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;
  height: fit-content;
  padding: 0.75rem;
  box-sizing: border-box;
  z-index: 1000;

  border-radius: 1.5rem;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;

  #addratingorchangeratingtitle {
    width: 100%;
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;

    @media (min-width: 768px) {
      font-size: 1.5rem;
    }
  }

  #showInfo {
    flex-direction: column;
    gap: 0.5rem;

    > div {
      display: flex;
      flex-direction: column;
      border-bottom: 2px solid rgb(56, 56, 56);
      padding-bottom: 0.5rem;
    }

    #titleshow {
      color: white;
      cursor: pointer;
      &:hover {
        color: rgb(71, 71, 255);
      }
    }
  }

  label {
    font-size: 12px;
    color: white;

    @media (min-width: 768px) {
      font-size: 1rem;
    }
  }

  input {
    font-size: 12px;
  }

  #extrainput {
    width: 50%;
    height: 4rem;
  }

  .Options {
    display: none;
    outline: 2px solid rgb(58, 58, 58);
    width: 100%;
    min-height: 100px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    height: fit-content;
    border-radius: 1rem;
    flex-direction: column;

    scrollbar-width: thin;
    scrollbar-color: grey transparent;

    ::-webkit-scrollbar-button {
      display: none;
      width: 0px;
      height: 0px;
    }

    li {
      display: flex;
      gap: 1rem;
      margin-left: auto;
      margin-right: auto;
      color: white;
      padding-top: 0.5rem;
      width: 95%;
      margin-bottom: 0.5rem;
      border-bottom: 1px solid rgb(56, 56, 56);
      cursor: pointer;
      border-radius: 0.5rem;

      &:hover {
        background-color: rgb(56, 56, 56);
      }

      img {
        height: 8rem;
        width: 5.5rem;
        aspect-ratio: 1 / 1.5;
        border-radius: 0.75rem;
      }
    }
  }

  #selectedMedia {
    width: 50%;

    li {
      display: grid;
      justify-items: center;
      padding: 0.25rem;
      border-radius: 1rem;
      width: 100%;
    }

    img {
      border-radius: 0.75rem;
      width: 100%;
      aspect-ratio: 1 / 1.4;
      margin-top: 0.5rem;
    }

    p {
      color: rgb(255, 255, 255);
      font-size: 1em;
      margin: 0.5rem;
    }
  }

  .slider-container {
    width: 70%;

    .slider {
      position: relative;
      width: 100%;
      height: 2rem;
      background: #333;
      border-radius: 1rem;
    }

    .slider-fill {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 50%;
      background-color: #746b6b;
      border-radius: 1rem;
    }

    .slider input {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 20px;
      opacity: 0;
      cursor: pointer;
      margin: 0;
    }

    .labels {
      display: flex;
      justify-content: space-between;
      margin-top: 0.25rem;
      color: #888;
      font-size: 14px;
      width: 100%;
    }

    #ratingValue {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 2rem;
      height: 2rem;

      border-radius: 50%;
      transform: translate(-50%, -50%);

      text-align: center;
      font-size: 1em;
      color: white;
      background-color: #746b6b;
      line-height: 2.25;
    }

    #ratinginput {
      width: 100%;
      height: 1.5rem;
    }
  }

  #addnewratingbutton,
  #addnewmediabutton,
  #updateratingbutton {
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    font-size: 0.75rem;
    height: auto;

    color: #ffffff;

    background-color: #00b36b3a;
    font-weight: bold;
    text-align: center;
    border-radius: 1rem;
    border: none;
    pointer-events: none;

    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;

    &:hover {
      background-color: #009a5a;
      transform: scale(1.05);
    }
  }

  #deleteratingbutton {
    width: 70px;
    height: 40px;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    margin-top: 0.5rem;
    background-color: #dc3545;

    &:hover {
      background-color: #c82333;
      transform: scale(1.05);
    }
  }
}

//////////////// slider range rating/////////////////
