.disabled {
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
}

.slot.highlighted {
    background-color: #1165a9;
    color: white;
}

.error-message{
    color:red;
}

.calender-container {
    display: flex;
    width:   100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.calender-sidebar {
    background-color: #f5f5f5;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.calender-sidebar h1 {
    margin-top: 10px;
}

.calender-sidebar p {
    margin: 10px 0;
    align-items: center;
    justify-content: center;
}

.calender-sidebar p i {
    margin-right: 8px;
}

.calendar-header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.calender-nav-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}
.days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #5f6368;
    margin-bottom: 10px;
  }
  
  .days-of-week div {
    padding: 8px 0;
    text-transform: uppercase;
    white-space: nowrap;
  }

.slot .selected {
    background-color: #1165a9;
    color: white;
}

.slot.disabled {
    cursor: not-allowed;
    background-color: #f0f0f0;
    color: #ccc;
}

.slot {
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 5px;
}

.slot-container .slot:not(.selected) {
    width: 100%;
    border: 1px solid var(--primary-color-level2, #1165a9);
    color: var(--primary-color, #1165a9);
}

/* Apply hover effect */
.slot-container .slot:not(.selected):hover {
    border: 2px solid var(--primary-color-level2, #1165a9);
}

.slot-container .slot.selected {
    background-color: grey;
    color: white;
}

#calendar .slot.selected {
    background-color: #1165a9;
}

#time-slots {
    display: block;
    margin-top: 45px;
    height: 400px;
}

#slots-container {
    padding: 20px;
    overflow-y: auto;
    height: 450px;
}

.slots-heading {
    text-align: center;
    top: 10px;
    font-size: 14px;
    font-weight: 600;
}

#next-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
}

.calender-search-bar input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 16px;
    line-height: 1.5;
}
.timezone-list {
    max-height: 210px;
    overflow-y: auto;
}

.timezone-group {
    padding: 20px 0px 5px;
    font-size: 14px;
    text-transform: uppercase;
}
.timezone-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin: 0 8px;
}
.timezone-label-text{
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 10px;
}

.group-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.timezone-option {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    padding: 14px 6px 17px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 5px;
    margin-top: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    line-height: 22px;
}

.timezone-selector {
    position: relative;
    display: inline-block;
}

.timezone-button {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.current-time{
    flex-shrink: 0;
    margin-right: 4px;
    margin-left: 3px;
}

.timezone-icon {
    position: relative;
    top: -1px;
    flex-shrink: 0;
    margin-right: 12px;
}

.dropdown-arrow {
    flex-shrink: 0;
    font-size: 8px;
    position: relative;
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-family: icomoon;
    line-height: 1;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#selected-timezone{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timezone-button img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.timezone-option:hover {
    background-color: #1165a9;
}

#timezone-menu {
    position: relative;
    border-radius: 4px;
    padding: 10px;
}

#timezone-search-list{
    left: 50%;
    bottom:62px;
    height: 329px;
    transform: translateX(-50%);
    display: block;
    flex-direction: column;
    width: 100%;
    padding: 17px 15px;
    position: absolute;
    z-index: 15;
    box-sizing: border-box;
    background: white;
    border-radius: 6px;
    border: 2px solid whitesmoke;
}

.timezone-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.timezone-heading-name{
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.timezone-heading-timeheading{
    position: relative;
    padding: 4px 7px;
    border-radius: 13px;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.timezone-entry{
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    line-height: 20px;
    padding:5px;
}

.timezone-formattedTime{
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 20px;
}

.timezone-option.selected {
    background-color: #1165a9 !important;
    color: white;
}


/* Heading */
.personal-info-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Input Fields */
#personalInfoForm input {
    font-size: 16px;
    line-height: 1.5;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#personalInfoForm .text-cls {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 16px;
    line-height: 1.5;
}

.checkbox-group {
    padding: 0px;
}

#personalInfoForm input:focus,
#personalInfoForm textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Labels */
#personalInfoForm .form-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

/* Margin Between Sections */
#personalInfoForm .mb-4 {
    margin-bottom: 20px;
}

/* Schedule Event Button */
.schedule-event-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.schedule-event-button:hover {
    background-color: #388E3C;
    transform: scale(1.05);
}

.schedule-event-button:active {
    background-color: #388E3C;
    transform: scale(0.95);
}

/* Centering the button */
#schedule-event-btn {
    margin-bottom: 15px;
    text-align: center;
}

.arrow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    color: #1165a9;
    font-size: 24px;
    line-height: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Focus style (when button is clicked or tabbed to) */
.arrow-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 143, 255, 0.6);
}

.next-button-container{
    display: flex;
    flex: 1 1 0%;
    padding: 0 0 6px;
    display: none;
}

.next-btn{
    padding: 8px 16px;
}
.calendar-hidden{
    display: none;
}

.calendar-show{
    display: block;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 4px 30px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider::before {
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider::before {
    transform: translateX(14px);
}

@media screen and (max-width: 768px) {

    #scheduleMeetingForm h2 {
        text-align: center;
    }

    .calender-container {
        flex-direction: column;
    }

    .calender-sidebar p {
        margin : 0 !important;
    }

    .slots-weekday{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
        font-size: 20px;
        line-height: 1.2;
    }

    .slots-date{
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .calender-sidebar p{
        padding : 0 0 5px;
    }

    .timezone-button {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    #timezone-menu {
        position: sticky;
        top: 0;
        z-index: 1;
        padding-top: 25px;
        padding-bottom: 25px;
        border-bottom: 1px solid var(--text-color-level3, rgba(26, 26, 26, 0.1));
        background-color: var(--color-bg-white-l-1, rgba(255, 255, 255, 1));
        text-align: center;
    }

    #time-slots {
        padding-right: 10px;
        bottom: 64px;
        overflow-y: auto;
    }
    
    #time-slots::-webkit-scrollbar {
        width: 10px; 
    }

    .slot-container {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .slot {
        flex: 1;
        padding: 8px;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
    }

    #timezone-search-list {
        position: absolute;
        bottom: 0;
        left: -19px;
        width: 111%;
        height: 535px;
        margin: 0;
        padding: 13px 5px 0 11px;
        transform: translate(0%, 3%);
    }

    .timezone-list {
        max-height: 360px;
    }

    .timezone-option {
        padding: 12px 8px 15px 8px;
        font-size: 16px;
        margin: 20px 5px;
    }

    #timezone-close-button {
        min-height: 44px;
        padding: 8px 16px;
        border: 1px solid transparent;
        width: 100%;
        margin: 10px 0px 0px 0px;
        left: 0;
        border-radius: 15px;
    }
}

@media screen and (max-width: 480px) {
    #calendar {
        gap: 3px;
    }
    #personal-info {
        padding : 15px;
        margin: 0;
    }
}

/* For very small screens (e.g., smartphones) */
@media (max-width: 480px) {
    .timezone-option {
        padding: 10px 3px 7px 1px;
        font-size: 15px;
        margin: 15px 0px;
        overflow: hidden;
    }
    #timezone-close-button {
        padding: 8px 16px;
        border: 1px solid transparent;
        width: 100%;
        margin: 10px 0px 0px 0px;
        position: fixed;
        bottom: 0px;
    }
    .close-button{
        position: absolute;
    }
}

@media screen and (min-width: 768px) {
    #slots-container {
        padding: 0px;
    }
}

@media screen and (min-width: 1200px) {
    #personal-info {
        padding-left: 30px;
        margin: 10px;
    }
}
