.calendar-reservation{
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-container{
    display: flex;
    position: relative;
    width: 1200px;
    min-height: 850px;
    margin: 0 auto;
    padding: 5px;
    color: white;
    border-radius: 10px;
}

.ca-left{
    width: 60%;
    padding: 20px;
}

.calendar{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    background-color: #d39395;
}

.calendar::before,
.calendar::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 12px;
    height: 97%;
    border-radius: 0 5px 5px 0;
    background-color: rgba(211, 147, 149, 0.6);
    transform: translateY(-50%);
}

.calendar::before{
    height: 94%;
    left: calc(100% + 12px);
    background-color: rgba(211, 147, 149, 0.3);
}

.calendar .month {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
}

.calendar .month .ca-prev,
.calendar .month .ca-next {
    cursor: pointer;
}

.calendar .month .ca-prev:hover,
.calendar .month .ca-next:hover {
    color: #8e4b50;
}

.calendar .weekdays {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
}

.calendar .weekdays div {
    width: 14.28%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar .days {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.calendar .days .day {
    width: 14.28%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    border: 1px solid #d39395;
}

.calendar .day:not(.prev-date, .next-date):hover {
    color: white;
    background-color: #8e4b50;
}

.calendar .days .prev-date,
.calendar .days .next-date {
    color: #8e4b50;
}

.calendar .days .ca-active {
    position: relative;
    font-size: 2rem;
    color: white;
    background-color: #8e4b50;
}

.calendar .days .ca-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px 2px #8e4b50;
}

.calendar .days .ca-today {
    font-size: 2rem;
}

.calendar .days .event {
    position: relative;
}

.calendar .days .event::after {
    content: "";
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 75%;
    height: 8px;
    border-radius: 30px;
    transform: translateX(-50%);
    background-color: #8e4b50;
}

.calendar .days .event:hover::after {
    background-color: #d39395;
}

.ca-today {
    position: relative;
    display: flex;
    width: 100%;
    padding: 10px;
    justify-content: end;
}

.ca-today button {
    padding: 5px 10px;
    border-radius: 0;
    border: 1px solid #d39395;
    border-radius: 5px;
    background-color: white;
    font-size: 1.5rem;
    color: #d39395;
}

.ca-today button:hover {
    background-color: #8e4b50;
    color: white;
}

.ca-container .ca-right {
    position: relative;
    width: 40%;
    min-height: 100%;
    padding: 20px 0;
}

.ca-right .today-date {
    width: 100%;
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    padding-left: 70px;
    margin-top: 50px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.today-date .event-day {
    font-size: 2rem;
    font-weight: 500;
}

.today-date .event-date {
    font-size: 1rem;
    font-weight: 400;
    color: white;
}

.events {
    width: 100%;
    height: 100%;
    max-height: 600px;
    overflow-y: hidden;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
}

.events .ca-circle{
    position: absolute;
    width: 20px;
    height: 20px;
    left: 10px;
    background-color: white;
    border-radius: 50%;
}

.events .event {
    position: relative;
    width: 95%;
    min-height: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0 20px;
    padding-left: 50px;
    color: white;
    cursor: pointer;
    background: linear-gradient(90deg, #d39395, transparent);
}

.events .no-event {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.events .event:nth-child(even) {
    background: transparent;
}

.events .event:hover {
    background: linear-gradient(90deg, #d39395, transparent);
}

.events .event .ca-title {
    display: flex;
    align-items: center;
    pointer-events: none;
}

.events .event .ca-title .ca-event-title {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 20px;
}

.events .event .ca-title i {
    color: #8e4b50;
    font-size: 0.5rem;
}

.events .event:hover .ca-title i {
    color: white;
}

.events .event .event-time {
    font-size: 0.8rem;
    font-weight: 400;
    color: white;
    margin-left: 15px;
    pointer-events: none;
}
