﻿
#error-container
{
    color: red;
    font-weight: bold;
}

.calendarTwoColumn {
    display: flex;
}

/* Loading Icon */
#calendarLoadingContainer.loading {
    opacity: 0.5;
}

/* Positioning the loading icon container */
#datepicker-container {
    position: relative;
    display: inline-block;
}

/* Adjust the opacity of the datepicker */
.loading #datepicker {
    opacity: 0.5;
}

/* Positioning the loading icon */
#loading-icon-container {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 1;
    font-size: 35px;
}

/* Calendar */

#calendarContainer {
    position: relative;
    min-height: 100px;
}

#datepicker {
    position: relative;
    margin: 20px 0 20px 0;
}

.ui-datepicker {
    width: 285px;
    display: none;
    position: relative;
}

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 10px;
}

.ui-datepicker-header {
    border-bottom: 1px solid #dddddd;
}

.ui-datepicker .ui-datepicker-title {
    line-height: 45px;
    text-align: center;
    font-size: 15px;
}


/* Hide the existing text */
.ui-datepicker-prev .ui-icon-circle-triangle-w,
.ui-datepicker-next .ui-icon-circle-triangle-e {
    display: none;
}

.ui-datepicker-next::before,
.ui-datepicker-prev::before {
    position: absolute;
    top: 12px;
    font: var(--fa-font-solid);
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-size: 25px;
}

.ui-datepicker-next::before {
    right: 20px;
    content: '\f054';
}

.ui-datepicker-prev::before {
    left: 20px;
    content: '\f053';
}

.ui-datepicker-next:hover::before,
.ui-datepicker-prev:hover::before {
    cursor: pointer;
}

.ui-datepicker-next.ui-state-disabled:hover::before,
.ui-datepicker-prev.ui-state-disabled:hover::before {
    cursor: initial;
    color: #dddddd;
}

.ui-datepicker-next.ui-state-disabled,
.ui-datepicker-prev.ui-state-disabled {
    color: #dddddd;
}

.ui-datepicker table {
    width: 100%;
    font-size: 13px;
    padding: 10px;
}

.ui-datepicker th {
    text-align: center;
    font-weight: bold;
    border: 0;
}

.ui-datepicker td span, .ui-datepicker td a {
    display: block;
    text-align: center;
    text-decoration: none;
}

.ui-state-default {
    font-weight: normal;
    line-height: 33px;
    width: 33px;
    opacity: 0.30;
}

.custom-highlight {
    border: 1px solid #283a8e;
    border-radius: 25px;
    background: #283a8e;
    font-weight: normal;
    opacity: 1;
    color: #fff;
}

a.ui-state-default {
    color: #283a8e;
    opacity: 1;
}

.custom-highlight a.ui-state-default {
    color: #fff;
}

a.ui-state-default:hover {
    background: #EAEAEA;
    border-radius: 25px;
}


/* Style for both morning and afternoon available */
.available-both {
    background-color: #D4EDDA; /* Light green */
    border-radius: 50%;
}

/* Style for only morning available */
.available-morning {
    background-color: #FFF3CD; /* Light yellow */
    border-radius: 50%;
}

/* Style for only afternoon available */
.available-afternoon {
    background-color: #cce5ff; /* Light red */
    border-radius: 50%;
}

/* End Calendar*/

/* Calendar legend*/

#calendar-legend {
    margin: 20px 0 0 40px;
}

.legend-item {
    margin-bottom: 20px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-circle {
    width: 33px; /* Same size as the calendar days */
    height: 33px;
    border-radius: 50%; /* Rounded like the calendar days */
    margin-right: 10px;
}


#calendar-legend span {
    font-size: 14px;
    color: #333;
}


