.calender_bannerBlock {
  width: 100%;
  height: 200px;
  position: relative;
  background: linear-gradient(97.04deg, #ACF9FF -16.59%, #F3E8FF 8.44%, #E9D4FF 84.02%, #ACF9FF 121.87%);
  display: flex;
  border-radius: 8px;
  z-index: 0;
  margin-bottom: 2.5rem;
  font-family: 'NEXON Lv2 Gothic', sans-serif !important;
}

.calender_bannerBlock .bannerTextArea {
  box-sizing: border-box;
  width: 65%;
  height: 100%;
  padding-top: calc(200px* 0.09);
  padding-bottom: calc(200px* 0.05);
  padding-left: 3.5%;
  font-weight: bold;
  /* flex */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calender_bannerBlock .bannerTextArea .title>h1 {
  font-size: calc(200px* 0.18);
  line-height: calc(200px* 0.2);
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  background: linear-gradient(to bottom, #621c9b 0%,#8d24ec 50%,#d8b3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calender_bannerBlock .bannerTextArea .title>h1::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  color: white;
  -webkit-text-stroke: 6px white;
  text-shadow: 
      0 1px 4px rgba(0, 0, 0, 0.8),
      0 1px 8px rgba(0, 0, 0, 0.8);
}

.calender_bannerBlock .bannerTextArea .title {
  margin-bottom: calc(200px* 0.08);
}

.calender_bannerBlock .bannerTextArea .subTitle {
  margin-bottom: calc(200px* 0.05);
}

.calender_bannerBlock .bannerTextArea .subTitle>p {
    font-size: calc(200px* 0.11);
    font-weight: 900;
    color: #8D24EC;
    line-height: calc(200px* 0.15);
    overflow: hidden;
    word-break: keep-all;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.calender_bannerBlock .bannerTextArea .content>p {
    font-size: calc(200px* 0.09);
    color: #581A89;
    line-height: calc(200px* 0.15);
    overflow: hidden;
    word-break: keep-all;
    margin: 0;
}

.calender_bannerBlock .bannerImgArea {
    box-sizing: border-box;
    width: 35%;
    height: 100%;
    padding-right: 4%;
    padding-top: calc(200px* 0.07);
    padding-bottom: calc(200px* 0.05);
    overflow: hidden;
    text-align: center;
    position: relative;
}

.calender_bannerBlock .bannerImgArea img {
    position: absolute;
    width: 70%;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    height: auto;
}

@media screen and (max-width: 1200px) {
    .calender_bannerBlock .bannerImgArea {
        display: flex;
        align-items: center;
    }

    .calender_bannerBlock .bannerImgArea img {
        height: auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 999px) {
    .calender_bannerBlock .bannerTextArea {
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
    }

    .calender_bannerBlock .bannerTextArea .title {
        font-size: 52px;
    }

    .calender_bannerBlock .bannerTextArea .subTitle {
        font-size: 24px;
        height: auto;
        line-height: 28px;
    }
}

@media screen and (max-width: 991px) {
  .calender_bannerBlock {
    height: 220px;
    background: url('/static/img/mobile/banner/calendar.webp') no-repeat;
    background-size: cover;
  }

  .calender_bannerBlock .bannerTextArea {
      width: 100%;
      height: auto;
      padding: 20px;
      float: none;
  }

  .calender_bannerBlock .bannerTextArea .title {
      margin-bottom: 8px;
  }

  .calender_bannerBlock .bannerTextArea .title > h1 {
      font-family: 'Black Han Sans', sans-serif !important;
      background: linear-gradient(180deg, #3b1a57 0%, #954fca 100%);
      -webkit-background-clip: text;
      background-clip: text;
  }

  .calender_bannerBlock .bannerTextArea .subTitle {
      height: auto;
  }

  .calender_bannerBlock .bannerTextArea .subTitle > p {
    font-size: 20px;
    color: #3B0566;
    line-height: 1.3;
    text-shadow: none;
  }

  .calender_bannerBlock .bannerImgArea {
      display: none;
  }
}

@media screen and (max-width: 768px) {
  .calender_bannerBlock {
      height: 180px;
  }
}

@media screen and (max-width: 565px) {
    .calender_bannerBlock {
      background-position: center right;
    }

    .calender_bannerBlock .bannerTextArea {
        min-height: 200px;
        padding: 15px 10px;
    }

    .calender_bannerBlock .bannerTextArea .title>h1 {
      font-size: calc(200px* 0.165);
    }

    .calender_bannerBlock .bannerTextArea .subTitle>p {
      font-size: 16px;
      letter-spacing: 1px;
      line-height: 1.4;
    }
}

/* for table */
#testDate {
    font-size: 24px;
    color: #C082FE;
    line-height: 30px;
    margin: 10px 0;
    font-weight: 500;
  }
  .date_table {
    width: 100%;
  }
  .thead {
    display: flex;
    background: var(--primaryColor);
  }
  .tbody {
    border: 1px solid #ACA4C9;
  }
  .thead .day {
    flex: 1;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    font-family: "Gill Sans", sans-serif;
    color : #A092D3;
    background-color: #faf5ff;
    padding: 5px 0;
    box-shadow: 1px 1px 8.9px 0px #D9C8FF inset;
  }
  .tbody .week {
    display: flex;
    border-collapse: collapse;
    border-bottom: 1px solid #ACA4C9;
  }
  .tbody .week:last-child {
    border-bottom: none;
  }
  .tbody .date {
    flex: 1;
    height: 90px;
    box-sizing: border-box;
    border-right: 1px solid #ACA4C9;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    color: #7F60C2;
    font-size: 14px;
    line-height: 17.5px;
    font-weight: bold;
  }
  .tbody .date.active{
    background: url("/static/admin/img/check_in.webp") no-repeat center center;
    opacity:0.75;
    background-size: contain;
    background-position: left 35px center;
  }
  .tbody .date:last-child {
    border-right: none;
  }
  .tbody .date p.sign_text {
    z-index: 1;
    width: 100%;
    text-align:center;
    line-height: 90px;
    font-size: 2rem;
    font-weight: bold;
    color: #D87CE7ff;
    word-break: keep-all;
  }
  .calender_month {
    padding: 0.25rem 0;
    background: linear-gradient(90deg, #D7C3FF 0%, #C194FD 16.67%, #AA6FF8 33.33%, #9E6AE2 50%, #AA6FF8 66.67%, #C194FD 83.33%, #D7C4FF 100%);
  }
  .month_wrrapper {
    padding: 0 60px;
    min-width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .month_text {
    margin: 0 1rem;
  }
  .month_text p {
    font-weight: bold;
    font-size: 2.5rem;
    color: #fff;
  }
  .btn_month {
    padding: 1rem;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
  }
  .btn_month .prev_icon,
  .btn_month .next_icon {
    font-size: 2rem;
    color: #fff;
  }
  .btn_month:hover .prev_icon {
    animation: btn-left .8s infinite;
  }
  .btn_month:hover .next_icon {
    animation: btn-right .8s infinite;
  }
  @keyframes btn-left {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(-5px);
    }
  }
  @keyframes btn-right {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(5px);
    }
  }
  /* form */
  .form_wrap {
    margin: 4rem 0 4.5rem;
  }
  .attendance input {
    width: 50%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 0.65rem;
    color: #ccc;
  }
  .attendance input:focus {
    box-shadow: none;
    border: none !important;
    border-bottom: 1px solid var(--primaryColor) !important;
  }
  .write_icon {
    color: #ccc;
  }
  .attendance_btn {
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    border: 2px solid #FF8D3A;
    color: var(--primaryColor);
    background: transparent;
    font-weight: bold;
    margin-left: 1rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFE091 100%);
    color: #FF8D3A;
  }
  .attendance_btn:hover {
    background: linear-gradient(180deg, #FFF4D9 0%, #FFC32A 100%);
    box-shadow: #fff 0px 0px 10px 0px;
  }
  /* signed_table */
  .signed_table {
    /* border: var(--primaryColor) 1px solid; */
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-top: 1px solid #E5ECEE;
    box-shadow: 0px 0px 5px 0px #DDDDDD;
  }
  .signed_table .thead {
    padding: 1.5rem;
    display: flex;
    background: #fff;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 2px solid #9370DB
  }
  .signed_table .thead .td,
  .signed_table .tbody .td {
    flex: 3;
    /* padding: 0.5rem 0.75rem; */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .signed_table .thead .td:first-child,
  .signed_table .tbody .td:first-child {
    flex: 1;
  }
  .signed_table .thead .td:nth-of-type(4),
  .signed_table .tbody .td:nth-of-type(4) {
    flex: 10;
  }
  .signed_table .tbody .td > img {
    max-width: 24px;
    margin-right: 0.5rem;
  }
  .signed_table .tbody {
    border: none;
    height: auto;
    padding: 1rem;
  }
  .signed_table .ranking_icon {
    margin-right: 0;
  }
  .item_list {
    display: flex;
    padding: 1rem;
    border-bottom: var(--border);
  }
  .item_list:last-child {
    border: none;
  }
  .user_icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: #da9f68;
  }
  .signed_table .tbody .td.user_name {
    padding: 0 1.25rem;
    justify-content: flex-start;
  }
  .checkinsTypeUI {
    border-top: 1px solid #8D24EC;
    padding-top: 20px;
    text-align: right;
  }
  /* Sign in */
  .signin_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-radius: 0px 7px 7px 0px;
    opacity: 0px;
  }
  .signin_wrap .sign_modal{
    display: flex;
  }
  .signin_wrap .sign_modal > div {
    margin: 5px;
  }
  .sign_time{
    background:  #FFF8E7;
    padding: 4px 20px 4px 20px;
    border-radius: 0px 7px 7px 0px;
    opacity: 0;
    font-weight: bold;
    font-family: Do Hyeon;
    text-align: left;
    color: #FF8D3A;
    line-height: 17.5px;
    font-size: 14px;
  }
  .sign_time.active{
    opacity: 1;
  }
  .sign_time p {
    text-shadow: 0.1em 0.1em 0.2em #fff;
    line-height: 17.5px;
  }
  .sign_time span {
    margin-right: 15px;
    text-shadow: 0.1em 0.1em 0.2em #fff;
    
  }

  .pagination {
    display: flex;
    justify-content: center;
    padding: 1em 0;
  }

  .page-item {
    padding: 5px 10px;
    border: 2px solid var(--primaryColor);
    border-radius: 3px;
    background-color: #f8f9fa;
    color: var(--primaryColor);
    cursor: pointer;
  }

  .page-item a {
    color: var(--primaryColor);
    text-decoration: none;
  }

  .page-item.active {
    background-color: var(--primaryColor);
    color: #f8f9fa;
  }

  .page-item.active a {
    color: #f8f9fa;
  }

  .page-item.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #ccc;
  }

  .page-item.disabled a {
    color: #ccc;
  }
  .no-data {
    font-size: 2em;
    color: var(--primaryColor);
    text-align: center;
    font-weight: bold;
    padding: 15px;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
  }

  .modal-content.calendar {
    background-color: #fefefe;
    border: var(--primaryColor) 3px solid;
    border-radius: 30px;
    margin: 5% auto;
    padding: 30px 20px 20px;
    width: 25%;
    overflow-y: auto;
    min-height: 100px;
    max-height: 85%;
    height: auto;
  }

  .modal-content.calendar::-webkit-scrollbar {
    display: none;
  }

  .modal-content > .title{
    font-size: 28px;
    color: var(--primaryColor);
    font-weight: bold;
    letter-spacing: -0.05rem;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 10px;
  }

  .modal-content > .title.integral{
    margin-top: 0;
    margin-bottom: 22px;
  }

  .modal-content > .text{
    line-height: 1.3;
    text-align: center;
    color: #888;
    margin-top: 5px;
    font-size: 16px;
  }
  .modal-content > .text span {
    color: #333;
    text-decoration: underline;
  }
  .modal-content .tabs {
    margin: 10px 0;
    width: 100%;
  }
  .modal-content .tabs span {
    display: inline-block;
    width: 50%;
    height: 40px;
    line-height: 38px;
    border: 1px solid #e8e9eb;
    color: #666;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
  }
  .modal-content .tabs span.active {
    background: var(--primaryColor);
    color: #fff;
    border: 1px solid var(--primaryColor);
  }
  .modal-content .tabs span:first-child {
    border-radius: 10px 0 0 10px;
  }
  .modal-content .tabs span:last-child {
    border-radius: 0 10px 10px 0;
  }


  .closeButton {
    background: var(--primaryColor);
    color: white;
    float: right;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

  .closeButton:hover,
  .closeButton:focus {
    background: var(--primaryColor);
    color: white;
    text-decoration: none;
    cursor: pointer;
  }
  .openButton{
    border-radius: 8px;
    color: #FFFFFFCC;
    border: 2px solid #9971F3;
    box-shadow: 1px 1px 2.1px 0px #00000040;
    background-color: transparent;
    font-size: 14px;
    line-height: 17.5px;
  }
  .openButton span{
    display: inline-block;
    height: auto;
    line-height: 34px;
    padding: 0 12px 0 10px;
    cursor: pointer;
    color: #9971F3;
  }
  .chulsuk_complete_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 39px 0;
    background-color: #FFF8E7;
    color: #FF8D3A;
    /* background: linear-gradient(90deg, #D7C3FF 0%, #C194FD 16.67%, #AA6FF8 33.33%, #9E6AE2 50%, #AA6FF8 66.67%, #C194FD 83.33%, #D7C4FF 100%); */
  }
  .chulsuk_complete_wrap .chulsuk_complete_text {
    line-height: 1.3;
    color: #FF8D3A;
  }
  .chulsuk_complete_wrap .chulsuk_complete_text > div:first-child {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    letter-spacing: -0.05rem;
    line-height: 30px;
  }
  .chulsuk_complete_wrap .chulsuk_complete_text > div:first-child span.red {
    color: #FF8D3A;
  }
  .chulsuk_complete_wrap .chulsuk_complete_text > div:last-child {
    color: #FF8D3A;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
  }
  .chulsuk_complete_img img{
    width: 100px;
    margin-right: 5px;
  }
  .checkins_date {
    margin: 1rem 0;
    font-size: 14px;
  }
  /* user level */
  .td.user_name .user_level_info {
    width: 22px;
    padding: 0.5rem 0.25rem;
    border-radius: 5px;
    font-size: 10px;
    color: #fff;
    margin-right: 0.35rem;
    text-align: center;
  }
  .td.user_name .user_level_info.level_one {
    background: linear-gradient(to bottom, #84a17a 1%, #5a7750 100%);
  }
  .td.user_name .user_level_info.level_two {
    background: linear-gradient(to bottom, #d57a5d 1%, #b55a3d 100%);
  }
  .td.user_name .user_level_info.level_thrid {
    background: linear-gradient(to bottom, rgba(198,198,198,1) 1%,rgba(170,170,170,1) 100%);
  }
  .td.user_name .user_level_info.level_forth {
    background: linear-gradient(to bottom, #fdd02e 1%,#ebb800 100%);
  }
  .td.user_name .user_level_info.level_fifth {
    background: linear-gradient(to bottom, #e554ff 1%,#ca11ea 100%);
  }
  .td.user_name .user_level_info.level_warranty {
    background: linear-gradient(to bottom, rgba(255,72,116,1) 1%,rgba(255,51,202,1) 18%,rgba(193,96,233,1) 44%,rgba(108,90,224,1) 71%,rgba(80,168,242,1) 100%);
  }
  .td.user_name .user_level_info.level_admin {
    padding: 0.25rem;
    background: transparent;
  }
  @media screen and (max-width: 1440px) {
    /* Add your mobile-specific styles here */
    .modal-content.calendar {
      margin: 5% auto;
      width: 40%;
    }
    .item_list {
      padding: 0.7rem;
    }
    .modal-content > .text {
        line-height: 1.2;
        text-align: center;
        color: #888;
        margin-top: 5px;
        font-size: 14px;
    }
  }
    /* Styles for mobile devices */
  @media screen and (max-width: 768px) {
    /* Add your mobile-specific styles here */
    .modal-content.calendar {
      margin: 5% auto;
      width: 90%;
    }
    .month_wrrapper {
      padding: 0 15px;
    }
    .signin_wrap {
      display: block;
    }
    .signin_wrap .sign_modal > div {
      display: inline-block;
    }
    .tbody .date {
      padding: 0px;
      height: 70px;
    }
    .tbody .date p.sign_text {
      font-size: 1.4rem;
    }
    .thead .day {
      font-size: 1.5rem;
    }
    .chulsuk_complete_wrap {
      padding: 20px 15px;
    }
    .chulsuk_complete_wrap .chulsuk_complete_text > div:first-child {
      text-align: left;
      font-size: 20px;
    }
    .sign_modal{
      display: flex;
      align-items: center;
      justify-content: end;
      margin-top: 10px;
    }
    .openButton{
      font-size: 1.2rem;
      line-height: 1.5rem;
      padding: 0;
    }
    .chulsuk_complete_img img{
      width: 80px;
      margin-right: 10px;
    }
    .tbody .date.active{
      background: url("/static/admin/img/check_in_mobile.webp") no-repeat center center;
      background-position: center;
      background-size: contain;
    }
    .attendance input{
      width: 90%;
    }
    .attendance_btn {
      display: block;
      margin-top: 10px;
      float: right;
    }
    .modal-content > .text {
        line-height: 1.2;
        text-align: center;
        color: #888;
        margin-top: 5px;
        font-size: 14px;
    }
    .signed_table .thead .td:nth-of-type(4),
    .signed_table .tbody .td:nth-of-type(4) {
      flex: 1;
    }
  }