/* core letterboxd related styles that can't be done with tailwind */

.besties {
  & ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    
    & li {
        margin-bottom: 0.5em;
      
      & .person-summary {
        display: grid;
        grid-template-columns: 32px 1fr;
        align-items: center;
        column-gap: 12px;
        
        & a {
          text-decoration: none;
          /* color: rgb(0, 0, 238); */
          /* font-weight: bold; */
          font-size: 1.2em;
          
          & .badge {
            font-size: 10px;
            margin-left: 5px;
          }
        }
        
        & img {
          border-radius: 100%;
          display: block;
          height: 32px;
          width: auto;
        }
        
        & .metadata {
          display: none;
        }
        
        & h3 {
          margin: 10px 0;
        }
        
      }
    }
  }
}

/* letterboxd badges */
.badge.-pro {
    background-color: #ee7000;
}

.badge.-hq {
    background-color: #4c60dc;
}

.badge.-patron {
    background-color: #209ce4;
}

.badge.-small {
    border-radius: 2px;
    font-size: .69230769rem;
    line-height: 1;
    padding: 3px 4px 1px;
}
.badge {
    background-color: #678;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    /* font-family: Graphik-Regular-Web, sans-serif; */
    /* font-size: .76923077rem; */
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    margin-left: 2px;
    padding: 3px 5px 2px;
    position: relative;
    text-transform: uppercase;
    top: -1px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* Loading indicator styles */
.htmx-indicator {
  display: none;
  text-align: center;
  padding: 1rem;
  color: #333;
}

/* .htmx-request {
  background-color: red;
} */

.htmx-indicator.htmx-request {
  display: block;
}

/* Hide button during request */
.htmx-request .hide-on-request {
  display: none;
}

/* Hide disabled buttons */
button:disabled.hide-on-request {
  display: none;
}