.input-management {
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.input-management h3 {
    margin-top: 0;
    color: #2c3338;
    font-size: 1.3em;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

#input-fields-container {
    margin-bottom: 20px;
}

.input-management .input-field-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 10px;
    transition: all 0.2s ease;
}

.input-management .input-field-group:hover {
    border-color: #a7aaad;
}

.input-management .calendar-input {
    flex: 1;
    padding: 8px 12px;
    /* border: none; */
    background: transparent;
    font-size: 14px;
    min-width: 200px;
    margin: 0;
}

.input-management .calendar-input:focus {
    outline: none;
    box-shadow: none;
}

.button-group {
    display: flex;
    margin-left: 8px;
}

.action-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    color: #50575e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-button:hover {
    color: #135e96;
    background: #f0f6fc;
}

.action-button.copy-button:hover {
    color: #1a7f37;
}

.action-button.remove-button:hover {
    color: #d63638;
}

.action-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

#add-input-field, #save-inputs {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#add-input-field {
    background: #f0f6fc;
    color: #2271b1;
    border: 1px solid #2271b1;
}

#add-input-field:hover {
    background: #e1e9f1;
}

#save-inputs {
    background: #2271b1;
    color: white;
    border: 1px solid #2271b1;
    margin-left: 10px;
}

#save-inputs:hover {
    background: #135e96;
    border-color: #135e96;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
}
.form-group {
    width: 100%;
    margin-bottom: 15px;
    padding: 0 5px;
}
.form-group.form-group-6 {
    width: 50%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group .form-check-label {
    display: initial;
}

.form-group .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    height: 38px;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.button.primary {
    background-color: #2271b1;
    color: white;
    border: 1px solid #2271b1;
}

.button.primary:hover {
    background-color: #135e96;
}

.button.danger {
    background-color: #d63638;
    color: white;
    border: 1px solid #d63638;
}

.button.danger:hover {
    background-color: #b32d2e;
}


#share-calendar {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#share-link-container {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}
#share-link-container p {
    display: flex;
}

#share-link,
#share-times {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(100% - 200px);
    margin: 0 5px 0 0;
}

#copy-share-link,
#save-share-times {
    background-color: #2196F3;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 575px) {
    .weekly-hours .time-range {
        flex-direction: column;
    }
    .weekly-hours .time-range input {
        width: 100%;
    }
}

#bookingModal .modal-title {
    text-align: center;
    width: 100%;
}
#bookingModal .modal-title #selected-date-text {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 0;
}

#form_msg {
    border: 1px solid #dee2e6;
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
    margin: 0 5px 15px;
}
#form_msg.danger {
    border-color: #dc3545;
    border-left: 5px solid;
    color: #dc3545;
}
#form_msg.success {
    border-color: #198754;
    border-left: 5px solid;
    color: #198754;
}


.calendly-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.calendly-wrapper .calendar-box {
    flex: 1;
    padding: 30px;
    background: #f9fafb;
    position: relative;
}
.calendly-wrapper .calendar-box .powered-by {
    position: absolute;
    bottom: 30px;
    color: rgb(26 26 26 / 61%);
}
.calendly-wrapper .form-box {
    flex: 1;
    padding: 30px;
}
.calendar-logo {
    margin-bottom: 30px;
}
.calendar-logo img {
    max-width: 280px;
    margin: auto;
}

.confirmation-ui .icon {
    margin-right: 10px;
}

/* Modal form field spacing */
#booking-form .form-group {
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .calendly-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .calendly-wrapper .calendar-box,
    .calendly-wrapper .form-box {
        max-width: 100%;
        width: 100%;
        padding: 30px 15px;
    }
}



/* Datepicker container */
.ui-datepicker {
    border: none !important;
    padding: 0;
    width: 100% !important;
    background: #fff;
}

/* Header with arrows and month */
.ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 6px 15px;
    width: 100%;
}

/* Month & year text */
.ui-datepicker-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #333;
}

/* Navigation arrows */
.ui-datepicker-prev, 
.ui-datepicker-next {
    position: absolute;
    top: 7px !important;
    width: 38px !important;
    height: 38px !important;
    cursor: pointer !important;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
    color: #0069ff !important;
    background-color: rgb(0 105 255/7%);
}
.ui-state-hover, 
.ui-widget-content .ui-state-hover, 
.ui-widget-header .ui-state-hover, 
.ui-state-focus, 
.ui-widget-content .ui-state-focus, 
.ui-widget-header .ui-state-focus, 
.ui-button:hover, 
.ui-button:focus {
    border: none !important;
    background: rgb(0 105 255 / 15%) !important;
    font-weight: normal;
    color: #2b2b2b;
}

.ui-datepicker-prev {
    left: 16px;
}
.ui-datepicker-next {
    right: 16px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px; 
}
.ui-datepicker .ui-datepicker-next-hover {
    right: 2px; 
}

/* Arrow icons (← and → fallback) */
.ui-datepicker-prev .ui-icon, 
.ui-datepicker-next .ui-icon {
    display: none !important;
}
.ui-datepicker-prev::before,
.ui-datepicker-next::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #0069ff;
    border-right: 2px solid #0069ff;
    transform: rotate(-135deg);
}
.ui-datepicker-next::before {
  transform: rotate(45deg);
}


.ui-datepicker-calendar {
    border: none;
}

/* Weekday names (Su, Mo, etc.) */
.ui-datepicker th {
  padding: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #777;
  text-transform: uppercase;
}

/* Day cells */
.ui-datepicker td {
  padding: 4px !important;
  text-align: center;
}

.ui-datepicker td a {
    display: inline-block;
    width: 44px;
    height: 44px;
    font-size: 16px;
    font-weight: 500;
    color: #0060e6 !important;
    background: rgb(0 105 255/7%) !important;
    border: 1px solid transparent !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ui-datepicker td a:hover {
    background-color: rgb(0 105 255 / 15%) !important;
    color: #0060d4 !important;
}

/* Selected day */
.ui-datepicker .ui-datepicker-current-day a {
    background: #1a73e8 !important;
    color: #fff !important;
}

/* Disabled day */
.ui-datepicker td.ui-datepicker-unselectable span {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    border: 1px solid transparent !important;
    background: transparent;
    cursor: not-allowed;
}

/* Fully booked day */
.ui-datepicker td.ui-datepicker-unselectable.booked {
    opacity: 0.65;
}
.ui-datepicker td.ui-datepicker-unselectable.booked span {
    background: #e74c3c;
    color: #fff;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    .ui-datepicker {
        max-width: 100%;
    }
    .ui-datepicker td.ui-datepicker-unselectable span,
    .ui-datepicker td a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}


#meetingTabs {
    margin: 0;
}
.meetings-list .meetings-content {
    display: block !important;
    padding: 0;
}
.meetings-list .meetings-content .meeting-date-row {
    padding: 15px;
    font-weight: 700 !important;
    color: rgb(33 37 41 / 75%) !important;
    background: #f9f9f9;
    border-bottom: 1px solid #d4e0ed;
    font-size: 14px;
}

.meetings-list .meetings-content .meeting-row {
    padding: 15px;
    border-bottom: 1px solid #d4e0ed;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.meetings-list .meetings-content .meeting-row:last-child {
    border-bottom: none;
}
.meeting-item:nth-child(2) {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 180px;
}
.meeting-item:nth-child(3),
.meeting-item:nth-child(4),
.meeting-item:nth-child(5) {
    flex: 1 1;
}