.select-calendar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    margin: 0 auto;
    max-width: 640px;
    background: white;
}

.select-calendar .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.select-calendar .form-group {
    flex-basis: 100%; /* Sesuaikan ukuran sesuai dengan preferensi Anda */
}

.villa-name {
    text-align: center;
    margin: 20px 0;
}

.calendar-home {
    display: inline-block;
    width: 100%;
    position: relative;
    padding: 16px;
    margin: 0 auto;
    max-width: 500px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media only screen and (min-width: 768px) {
    .calendar-home {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .calendar-home {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

.calendar-home .days .day.dull {
    color: #CECECD;
    font-size: 2.8rem;
    transform: scale(0.5);
}

.calendar-home .days .day.dull:hover {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar-home .days .day.today {
    background-color: transparent;
    color: green;
    font-size: 2.5rem;
    transform: scale(0.5);
    border: 5px solid #713f12;
    border-radius: 50%;
    padding: 5px;
}

.calendar-home .days .day.today:hover {
    background-color: #713f12;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar-home .days .day.red {
    color: red;
    font-weight: 700;
    font-size: 2.8rem;
    transform: scale(0.5);
    margin-top: -1px;
}

.calendar-home .days .day.red:hover {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar-home .days .day.red-background {
    background-color: #b91c1c;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar-home .days .day.waiting-list {
    background-color: #facc15;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar-home .days .day.high-demand {
    background-color: #5b21b6;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar {
    display: flex;
    position: relative;
    padding: 16px;
    margin: 0 auto;
    max-width: 640px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.calendar .days .day.dull {
    color: #CECECD;
    font-size: 2.8rem;
    transform: scale(0.5);
}

.calendar .days .day.dull:hover {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar .days .day.today {
    background-color: transparent;
    color: green;
    font-size: 2.5rem;
    transform: scale(0.5);
    border: 5px solid #713f12;
    border-radius: 50%;
    padding: 5px;
}

.calendar .days .day.today:hover {
    background-color: #713f12;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar .days .day.red-background {
    background-color: #b91c1c;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar .days .day.red {
    color: red;
    font-weight: 700;
    font-size: 2.9rem;
    transform: scale(0.5);
}

.calendar .days .day.red:hover {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar .days .day.waiting-list {
    background-color: #facc15;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.calendar .days .day.high-demand {
    background-color: #5b21b6;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.month-year {
    position: absolute;
    bottom:62px;
    right: -27px;
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    color: #c4b2a2;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

.year {
    margin-left: 4px;
    color: #a1846b;
}

.days {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    margin-right: 46px;
}

.day-label {
    position: relative;
    flex-basis: calc(14.286% - 2px);
    margin: 1px 1px 12px 1px;
    font-weight: 700;
    font-size: smaller;
    text-transform: uppercase;
    color: #1E293B;
}

.day {
    position: relative;
    flex-basis: calc(14.286% - 2px);
    margin: 1px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: green;
}

.day.dull {
    color: #94A3B8;
}

.day.today {
    color: #0EA5E9;
    font-weight: 600;
}

.day::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.day:hover {
    background: #c1ad9d;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.day .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legend-home {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    position: relative;
    padding: 3px;
    margin: 0;
    margin-top: 0;
    max-width: 500px;
    background: white;
    border-radius: 4px;
  }

.legend-home .legend-item .legend-color.red-background {
    background-color: #b91c1c;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.legend-home .legend-item .legend-color.waiting-list {
    background-color: #facc15;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.legend-home .legend-item .legend-color.high-demand {
    background-color: #5b21b6;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}


.legend {
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 16px;
    margin: 0 auto;
    max-width: 640px;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

.legend-item {
    display: flex;
    align-items: center;
    margin-left: 30px;;
}

.legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;;
}

.legend-text {
    font-size: 14px;
}

.holiday-text {
    color: red;
    font-size: 14px;
}

.legend .legend-item .legend-color.red-background {
    background-color: #b91c1c;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.legend .legend-item .legend-color.waiting-list {
    background-color: #facc15;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}

.legend .legend-item .legend-color.high-demand {
    background-color: #5b21b6;
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
}
