/* Style the active class, and buttons on mouse-over */
.active,
.btn:hover {
    background-color: #fff;
}

.form-check-input:checked {
    background-color: #40C1AC;
}

/* highlightTyped use mark */
.autocomplete-menu mark {
    text-decoration: underline;
    background: none;
    color: currentColor;
    padding: 0;
}

/* Optional nicer scrollbars */
.autocomplete-menu {
    --scroller-color: 0, 0%;
    --scroller-color-lightness: 80%;
    --scroller-bg-lightness: 90%;
    --scroller-hover-factor: 0.8;
    --scroller-thumb: hsl(var(--scroller-color), var(--scroller-color-lightness));
    /* Replicate hover for webkit */
    --scroller-thumb-hover: hsl(var(--scroller-color), calc(var(--scroller-color-lightness) * var(--scroller-hover-factor)));
    --scroller-background: hsl(var(--scroller-color), calc(var(--scroller-bg-lightness)));
    scrollbar-color: var(--scroller-thumb) var(--scroller-background);
    scrollbar-width: thin;
}

.autocomplete-menu::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-menu::-webkit-scrollbar-track {
    background: var(--scroller-background);
}

.autocomplete-menu::-webkit-scrollbar-thumb {
    background: var(--scroller-thumb);
}

.autocomplete-menu::-webkit-scrollbar-thumb:hover {
    background: var(--scroller-thumb-hover);
}

.circle {
    width: 100px;
    height: 100px;
    background-color: #40C1AC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.circle2 {
    width: 100px;
    height: 100px;
    background-color: #1c1c3a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.required-field::after {
    content: " *";
    color: red;
}

#addBookingForm {
    display: none;
}

#orphanNightsTable th,
#orphanNightsTable td {
    padding: 12px 15px !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #0d6efd !important;
    color: white !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0b5ed7 !important;
    color: white !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #157347 !important;
    border-color: #146c43 !important;
    color: white !important;
}

/* Property tag styling */
.property-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background-color: #40C1AC;
    color: white;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.property-tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.property-tag .remove-tag:hover {
    opacity: 1;
}

/* Required field indicator */
.required-field::after {
    content: " *";
    color: red;
}