body p,
body span,
body a {
   margin: 0;
   padding: 0;
}

body a {
   color: white !important;
}

body button {
   text-align: center !important;
}

body {
   font-family: "Montserrat";
}

.tlpl-body-layout {
   background-color: #fff;
}

.calendar-container-layout {
   container-type: inline-size;
   overflow-y: auto;
   flex: 2;
   padding: 1rem;
   font-family: "Montserrat", sans-serif;
}

.calendar-head {
   display: flex;
   /* align-items: center; */
   justify-content: space-between;
   border-bottom: 1px solid rgba(0, 0, 0, 0.08);
   padding: 1rem 0;
   margin-bottom: 10px;
}

.home-enterprise-logo {
   text-decoration: none !important;
   font-family: "Bruno Ace";
   font-weight: 400;
   font-size: 20px;
   color: #060047 !important;
}

.home-enterprise-logo span {
   font-weight: 400;
   font-size: 20px;
   color: #e90064;
   font-family: "Bruno Ace";
}

.logo-sub {
   background-color: #e90064;
   color: white;
   width: fit-content;
   font-weight: 500;
   font-size: 7px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 5px;
   margin-left: auto;
   padding: 5px;
   border-radius: 3px;
}

.sub-logo-img {
   width: 9px !important;
   height: 9px !important;
}

.logo-sub span {
   line-height: 1;
}

.head-right {
   display: flex;
   justify-content: end;
   /* width: 100%; */
}

.calendar-search-box {
   width: 100%;
   max-width: 42.875rem;
}

.head-right .calendar-search-box form {
   display: flex;
   align-items: center;
   height: 2rem;
   border: 0.6px solid #e2e8f0;
   border-radius: 12px;
   background-color: #f5f6fa;
   padding: 0.5rem;
   gap: 0.3rem;
}

.calendar-search-input {
   border: none !important;
   outline: none !important;
   height: 100%;
   background-color: #f5f6fa;
}

.calendar-search-input:focus {
   border: none !important;
   outline: none !important;
}

.calendar-search-icon {
   height: 100%;
   width: auto;
}

.calendar-clear-search {
   height: 100%;
   width: auto;
   display: none;
}

.calendar-container-content {
   /* background-color: red; */
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
}

.all-task-list-header {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   margin-bottom: 1rem;
}

.all-task-list-header div {
   background-color: #e90064;
   width: 6px;
   height: 18px;
   border-radius: 10px;
}

.task-list-header-text {
   font-family: "Montserrat" !important;
   font-weight: 800 !important;
   font-size: 15px !important;
   color: #e90064 !important;
   margin: 0;
   padding: 0;
}

.all-task-list-content {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   margin-bottom: 2rem;
   max-height: 11rem;
   overflow: auto;
}

.all-task-list-content::-webkit-scrollbar {
   width: 5px;
}

.all-task-list-content::-webkit-scrollbar-thumb {
   background: #c1c1c1;
   border-radius: 10px;
}

.all-task-list-content::-webkit-scrollbar-thumb:hover {
   background: #a9a9a9;
   border-radius: 10px;
}

.all-task-list-content::-webkit-scrollbar-track {
   box-shadow: inset 0 0 5px #ddd;
   border-radius: 10px;
}

.task-list-item {
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

input[type="checkbox"] {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
}

.task-list-custom-checkbox {
   display: inline-block;
   min-width: 40px;
   height: 40px;
   background-color: #fff;
   border: 1px solid #d1d5db;
   border-radius: 8px;
   position: relative;
   cursor: pointer;
   vertical-align: middle;
}

input[type="checkbox"]:checked + .task-list-custom-checkbox {
   background-color: #e90064;
   border: none;
   outline: none;
}

.task-list-custom-checkbox:after {
   content: "";
   position: absolute;
   display: none;
   left: 50%;
   top: 50%;
   width: 12px;
   height: 24px;
   border: solid white;
   border-width: 0 4px 4px 0;
   transform: translate(-50%, -60%) rotate(45deg);
}

input[type="checkbox"]:checked + .task-list-custom-checkbox:after {
   display: block;
}

.task-list-item {
   display: inline-flex;
   align-items: center;
   cursor: pointer;
   width: fit-content;
}

.task-list-checkbox-text {
   display: flex;
   flex-direction: column;
   margin-left: 10px;
}

.task-list-main-text {
   font-size: 15px;
   color: #060047;
   font-weight: 500;
}

.task-list-sub-text {
   font-size: 10px;
   color: #060047;
   font-weight: 500;
}

.calendar-text-content {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   margin-bottom: 1rem;
}

.calendar-text-content div {
   background-color: #e90064;
   width: 6px;
   height: 18px;
   border-radius: 10px;
}

.calendar-header-text {
   font-family: "Montserrat" !important;
   font-weight: 800 !important;
   font-size: 15px !important;
   color: #e90064 !important;
   margin: 0 !important;
   padding: 0 !important;
}

#prev-month img {
   height: 40%;
}

#next-month img {
   height: 40%;
}

.calendar-select-type-item {
   font-weight: 600;
}

.calendar {
   background-color: #fff;
   border: 1px solid #ddd;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   border-radius: 10px;
   /* overflow-y: auto; */
}

.calendar::-webkit-scrollbar {
   width: 5px;
}

.calendar::-webkit-scrollbar-thumb {
   background: #c1c1c1;
   border-radius: 10px;
}

.calendar::-webkit-scrollbar-thumb:hover {
   background: #a9a9a9;
   border-radius: 10px;
}

.calendar::-webkit-scrollbar-track {
   box-shadow: inset 0 0 5px #ddd;
   border-radius: 10px;
}

.calendar-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 10px;
   background-color: #fff;
   color: white;
   gap: 1rem;
}

.calendar-btn-group button {
   border: 1px solid #dfe5ef;
   color: black;
   font-size: 16px;
   cursor: pointer;
   border-radius: 4px;
   width: 4rem;
   height: 3rem;
   background-color: #fff;
}

.add-event-btn {
   color: white !important;
   font-weight: 600 !important;
   font-size: 14px !important;
   background-color: #e90064 !important;
   width: 8rem !important;
   height: 3rem !important;
   border-radius: 8px !important;
   border: none !important;
   outline: none !important;
   opacity: 0 !important;
}

#month-year {
   font-size: 24px;
   font-weight: 600;
   color: #060047;
   text-align: center;
}

.calendar-select-type {
   height: 3rem;
   width: 15rem;
   display: flex;
   border: 1px solid #e90064;
   border-radius: 8px;
   color: #e90064;
   cursor: pointer;
}

.calendar-select-type-month {
   border-top-left-radius: 8px;
   border-bottom-left-radius: 8px;
   border-right: 1px solid #e90064;
   flex: 1;
   display: flex;
   justify-content: center;
   align-items: center;
}

.calendar-select-type-week {
   flex: 1;
   border-right: 1px solid #e90064;
   display: flex;
   justify-content: center;
   align-items: center;
}

.calendar-select-type-day {
   flex: 1;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.calendar-active {
   background-color: #e90064;
   color: #fff;
}

.calendar-body {
   padding: 10px;
}

.calendar-weekdays {
   display: flex;
   justify-content: space-between;
   border: 1px solid #eaeff4;
   border-bottom: none;
   border-top-left-radius: 12px;
   border-top-right-radius: 12px;
   padding: 0.5rem 0;
}

.calendar-weekdays div {
   width: 14.28%;
   text-align: center;
   font-weight: bold;
   font-family: "Montserrat";
   font-size: 12px;
   font-weight: 600;
   color: #2a3547;
}

.calendar-dates {
   display: flex;
   flex-wrap: wrap;
}

.date {
   font-family: "Plus Jakarta Sans" !important;
   font-weight: 600 !important;
   font-size: 12px !important;
   color: #2a3547 !important;
}

.day-calendar {
   width: 100% !important;
   height: fit-content !important;
   text-align: center !important;
}

.day-calendar-detail {
   width: 100% !important;
   height: fit-content;
   max-height: 50rem !important;
   display: flex;
   flex-direction: column !important;
   overflow-y: auto !important;
   height: 25rem !important;
   gap: 0.5rem;
}

.event-detail {
   border: none !important;
   height: unset !important;
   width: 100% !important;
   padding: 0 !important;
   text-align: left !important;
}

.event-detail:hover {
   background-color: unset !important;
}

.event-detail-header {
   margin: 10px 0;
   font-weight: 700 !important;
   font-size: 14px !important;
}

.event-detail-title {
   /* margin-bottom: 5px; */
   border: none !important;
   height: unset !important;
   width: 100% !important;
   color: white !important;
   text-align: left !important;
   margin: 0 !important;
   padding: 0 !important;
}

.event-detail-title:hover {
   background-color: unset !important;
}

.event-detail-title a {
   color: white !important;
   text-decoration: underline !important;
}

.calendar-dates div {
   width: 14.28%;
   height: 9rem;
   cursor: pointer;
   transition: background-color 0.3s;
   text-align: right;
   border: 1px solid #eaeff4;
   padding: 5px;
   display: flex;
   flex-direction: column;
   /* overflow-y: auto; */
   font-family: "Montserrat";
   font-size: 12px;
   font-weight: 600;
   color: #2a3547;
}

.calendar-dates > div {
   overflow-y: auto;
}

.calendar-dates div:hover {
   background-color: #f0f0f0;
}

.calendar-dates div.other-month {
   color: #dfe5ef !important;
}

.calendar-dates div.today {
   background-color: #fcf3fe;
   color: black;
}

.calendar-date-event {
   width: 100% !important;
   height: fit-content !important;
   /* background-color: #615dff !important; */
   border-radius: 8px;
   text-align: left !important;
   color: white;
}

.calendar-date-holiday {
   width: 100% !important;
   flex-direction: row !important;
   height: 2rem !important;
   align-items: center !important;
   gap: 3px !important;
   border: none !important;
   outline: none !important;
}

.calendar-date-holiday p {
   font-weight: 500;
   font-size: 9px;
   color: #e90064;
}

.calendar-date-holiday p {
   /* display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis; */
   /* max-height: 10em; */
   font-weight: 500;
   font-size: 10px;
}

.calendar-date-event p {
   /* display: -webkit-box;
   -webkit-line-clamp: 5;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis; */
   /* max-height: 10em; */
   /* line-height: 1.5em; */
   font-weight: 500;
   font-size: 10px;
   color: white;
}

.circle-icon {
   width: 9px !important;
   height: 9px !important;
   border-radius: 50%;
   background-color: #e90064;
}

#calendar-loading {
   display: none;
   justify-content: center;
   align-items: center;
   height: 100%;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   background-color: rgba(255, 255, 255, 0.5);
}

.loading {
   border: 8px solid #f3f3f3;
   border-top: 8px solid #e90064;
   border-radius: 50%;
   width: 50px;
   height: 50px;
   animation: spin 2s linear infinite;
}

@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 600px) {
}

@media only screen and (max-width: 480px) {
   html {
      font-size: 14px;
   }
}

@media only screen and (max-width: 360px) {
   html {
      font-size: 12px;
   }
}

@media only screen and (max-width: 280px) {
}

@container (max-width: 1920px) {
   .grid-container {
      grid-template-columns: auto auto auto auto auto;
   }
}

@container (max-width: 1680px) {
   .grid-container {
      grid-template-columns: auto auto auto auto;
   }
}

@container (max-width: 1280px) {
   .grid-container {
      grid-template-columns: auto auto auto;
   }
}

@container (max-width: 1024px) {
}

@container (max-width: 950px) {
   .grid-container {
      grid-template-columns: 1fr 1fr;
   }

   .grid-container .grid-item {
      width: 100%;
   }
}

@container (max-width: 800px) {
}

@container (max-width: 650px) {
   .home-enterprise .flow-footer .text-hide-on-small {
      display: none;
   }

   .grid-container .grid-item {
      zoom: 0.9;
   }
}

@container (max-width: 550px) {
   .home-enterprise-container {
      --home-enterprise-scale-font: 0.875;
   }
}

@container (max-width: 480px) {
   .home-enterprise-container {
      --home-enterprise-scale-font: 1;
   }

   .grid-container {
      grid-template-columns: auto;
      justify-content: unset;
   }

   .grid-container .grid-item {
      zoom: unset;
   }

   .calendar-header {
      flex-direction: column;
   }
}

@container (max-width: 360px) {
   .grid-container {
      grid-template-columns: auto;
      gap: calc(1rem * var(--home-enterprise-scale-font));
   }
}
