//$bg:"./../../assets/checkIn/com_tc_sm_di.jpg";
$top_bg:"./../../assets/checkIn/img_sz_tc_di.png";
$item_bg:"./../../assets/checkIn/bg_item_small.png";
$item_bg_focus:"./../../assets/checkIn/img_item_mask_small.png";
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: relative;
}
.content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  height: 100%;
  max-width: 414px;
  z-index: 1;
}
.check_con{
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 689/654;
  //background: url($bg);
  //border-radius: var(--border-radius);
  //background: var(--widget);
  background-image: linear-gradient(to bottom, #034039, #148943);
  background-size: 100% 100%;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  & .title_con{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 689/89;
    background: url($top_bg) no-repeat;
    background-size: 89% 100%;
    color:#FFFF5B;
    font-size: 1.5rem;
    font-weight: 600;
    & .close{
      display:flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      z-index: 1;
      height: 100%;
      aspect-ratio: 1;
      top: 0;
      right: 0;
      img{
        width: auto;
        height: 44%;
      }
    }
  }
  & .content_con{
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
  }
}
.list_con{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.3rem;
  & .item_con{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    aspect-ratio: 732/216;
    & .item{
      position: relative;
      height: 100%;
      & .item_bg{
        display: flex;
        flex-direction: column;
        background: url($item_bg);
        background-size: 100% 100%;
        width: 100%;
        height: 100%;
        &_today{
          background: url($item_bg_focus);
          background-size: 100% 100%;
        }
        &_recived{
          filter: brightness(50%);
        }
        & .title{
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 2.4rem;
          font-size: 0.9rem;
          font-weight: 600;
          color: #fff;
        }
        & .img_con{
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 100%;
        }
      }
      & .item_checked{
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        inset: 0px;
        z-index: 1;
        img{
          width: 2.57rem;
          height: auto;
        }
      }
    }
    & .item_1{
      aspect-ratio: 130/178;
    }
    & .item_2{
      aspect-ratio: 130/178;
    }
    & .item_3{
      aspect-ratio: 150/178;
    }
    & .item_4{
      aspect-ratio: 165/178;
    }
    & .item_5{
      aspect-ratio: 182/178;
    }
    & .item_6{
      aspect-ratio: 200/178;
    }
    & .item_7{
      aspect-ratio: 205/178;
    }
  }
}
.buttons_con{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  & .btn_base{
    display: flex;
    align-items: center;
    width: 48%;
    height: 3rem;
    border-radius: 3rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    gap: 0.5rem;
    & .text_con{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }
  }
  & .btn_blue{
    background-color: #4b9bf2;
    text-shadow: -1px -1px 0 #3A72BC, 1px -1px 0 #3A72BC, -1px 1px 0 #3A72BC, ;
  }
  & .btn_yellow{
    background-color: #ffb142;
    text-shadow: -1px -1px 0 #C66A30, 1px -1px 0 #C66A30, -1px 1px 0 #C66A30, ;
  }
  & .img_coin{
    margin-left: 0.5rem;
    width: 2rem;
    height: auto;
  }
  & .text_take{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-right: 2rem;
    gap: 0.5rem;
  }
  & .text_left{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    & .left_title{
      font-size: 0.8rem;
    }
    & .left_timer{
      font-size: 1.2rem;
      font-weight: 600;
    }
  }
}