@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Unbounded:wght@200..900&display=swap');


/* ----------------------------------------------------------   unbounded
*/

.montserrat-400 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------------------------------------------   unbounded
*/

.unbounded-400 {
  font-family: "Unbounded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------------------------------------------   oswald
*/

.oswald-400 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------------------------------------------   merriweather
*/

.merriweather-400 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

/* ----------------------------------------------------------   jost
*/

.jost-400{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------------------------------------------   roboto
*/

.roboto-400 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

/* ----------------------------------------------------------   rubik
*/

.rubik-400 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* https://api.flutter.dev/flutter/dart-ui/FontVariation-class.html */


.image-cover-container {
    width: 100%;
    aspect-ratio: 3 / 2;
    position: relative;
    z-index: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 4px solid var(--green-color);
    border-radius: var(--border-radius-l);
    margin-bottom: 20px;
    
    .image-cover-container__blur {
        position: absolute;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(24px);
        border-radius: var(--border-radius-l);
        overflow: hidden;
    }
    
    .image-cover-container__contain {
        position: absolute;
        z-index: 2;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;

        .image-cover-container__text {
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          padding: 2rem;
          display: flex;
          flex-wrap: wrap;
          flex-direction: row;
          color: white;
          font-size: 3rem;
          

          &.top-left {
            align-items: flex-start;
            justify-content: flex-start;
          }

          &.top-right {
            align-items: flex-start;
            justify-content: flex-end;
          }

          &.bottom-left {
            align-items: flex-end;
            justify-content: flex-start;
          }

          &.bottom-right {
            align-items: flex-end;
            justify-content: flex-end;
          }
        }
    }
}



.ai-image-form {
  & input {
    &.browser-default {
      padding: 0;
      min-height: 40px;
      background: none;
      box-shadow: none;
      border-radius: 6px;
      border: none;
    }
  }

  .input-file {
    position: relative;
    display: inline-block;
  }
  .input-file-text {
    padding: 0 10px;
    line-height: 40px;
    display: inline-block;
  }
  .input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
  }

  .input-file input[type=file]:focus + .input-file-btn {
    border-color: #59999c;
  }

  .input-file input[type=file]:disabled + .input-file-btn {
    background-color: var(--light-grey);
  }
}

.label {
  font-size: .8rem;
  color: #9e9e9e;
}

.image-radio-group {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.image-radio {
  position: relative;
  cursor: pointer;
}

.image-radio input[type="radio"] {
  display: none;
}

.image-radio svg {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  transition: 0.3s;
}

.image-radio input[type="radio"]:checked + svg {
  border-color: #59999c;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: .8rem;
  color: #9e9e9e;
  font-weight: 400;
}

.filter-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: #e0e0e0;
  outline: none;
}

.filter-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #59999c;
  border-radius: 50%;
  cursor: pointer;
  /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); */
  transition: background 0.3s;
}

.filter-group input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #59999c;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.value {
  float: right;
  font-size: .8rem;
  color: #9e9e9e;
  font-weight: 400;
}


.ai-image-card {
    border: 1px solid var(--light-grey);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 120px;
}

.radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
    [type="radio"]:not(:checked)+span {
        padding-left: 24px;
        color: #151d1d;
    }
    
    [type="radio"]:checked+span {
        padding-left: 24px;
        color: #26a69a;
    }
}