textarea{
    height: 3 em;
}
#agenda {
    white-space: nowrap;
    text-align: left;
    padding-bottom: 10px;
    padding-right: 10px;
    height: fit-content;
}

.columnar {
    display: inline-block;
    vertical-align: top;
    height: 100%;
    min-height: fit-content;
}

.barberHeader {
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    z-index: 1;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}
.dark-mode .barberHeader {
    color: #fff!important;
    background-color: #343a40!important;

}
.barberHeader img {
    height: 2.1rem;
    width: 2.1rem;
}

.timeDiv {
    border: 1px white solid;
    border-radius: 5px;
    padding: 10px;
}

.dayDiv {
    border-left: 2px #ccc dashed;
    display: inline-block;
    text-align: center;
    height: 100%;
}
.dark-mode .dayDiv {
    border-color: black;
}
.dayDiv:nth-of-type(1) {
    border: none;
}

.card.col-lg-12.barberDiv {
    padding: 0;
    border-radius: 5px;
}

img.card-img-top {
    border-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* Rimuovi o commenta questa regola che causa la sovrapposizione */
/*
.chooseBarberButton {
    position: absolute;
    right: 8.3%;
    top: calc(-1em - .375rem);
    text-align: center;
}
*/

/* Sostituiscila con questa nuova regola */
.chooseBarberButton {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Assicurati che il contenitore dell'indirizzo abbia spazio sufficiente */
.addrSpan {
    display: block;
    word-wrap: break-word;
    padding-right: 10px;
}

.chooseBarberButton i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.addrSpan {
    padding: 1em;
    padding-bottom: 0;
}

.extraMargin {
    width: 100%;
    margin: 3px;
}

.noteSpan {
    float: none !important;
}

.phoneIcon,
.messageIcon,
.waIcon,
.notificationIcon {
    line-height: inherit;
    padding-right: 5px;
    padding-left: 9px;
}

.custom-file-label::after {
    content: "Sfoglia";
}

#navigateDatesButtons {
    margin-bottom: 14px;
}

.slotDiv {
    border: 1px grey dashed;
    border-radius: 25px;
    padding: 15px;
}

.form-control-inline {
    min-width: 0;
    width: auto;
    display: inline;
}

.form-control-inline[name^=corsetMaxDogs] {
    width: 10ch;
}

label[for^=corset] {
    vertical-align: baseline;
}

.bigCheckbox {
    display: inline-block;
    width: 2rem;
    vertical-align: middle;
    margin-right: 3px;
}

.scrollAndFollow>* {
    position: sticky;
    left: 0;
    width: 100vw;
}

aside.main-sidebar.sidebar-dark-primary.elevation-4::-webkit-scrollbar {
    display: none;
}

aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.scrollBarFix::-webkit-scrollbar {
    -webkit-appearance: none;
}

.scrollBarFix::-webkit-scrollbar:vertical {
    width: 11px;
}

.scrollBarFix::-webkit-scrollbar:horizontal {
    height: 11px;
}

.scrollBarFix::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
}

.scrollBarFix::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

.stickyWithSidebar {
    position: sticky;
    max-width: 100vw;
    left: 0px;
}

#jumptToMonthDiv.stickyWithSidebar {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 30px;
}

.sidebar-open:not(.layout-top-nav) .stickyWithSidebar {
    left: 250px;
    max-width: calc(100vw - 250px);
}

.sidebar-open:not(.layout-top-nav) #jumptToMonthDiv.stickyWithSidebar {
    left: 250px;
    max-width: calc(100vw - 500px);
}

@media (min-width: 991.98px) {
    .sidebar-collapse .stickyWithSidebar {
        left: 4.6rem;
        max-width: calc(100vw - 4.6rem);
    }
    .sidebar-collapse #jumptToMonthDiv.stickyWithSidebar {
        left: 4.6rem;
        max-width: calc(100vw - 4.6rem - 250px);
    }
}

.collapsibleArrow {
    display: inline-block;
    font-size: xx-large;
}

.orangeBorder {
    border: 2px solid orange;
    border-radius: 5px;
}

.notificationShareContainer {
    border: 1px solid black;
    border-radius: 5px;
}

#startDatetime, #endDatetime {
    width: fit-content;
}
.content-wrapper{
    height:fit-content;
}
.btn-outline-light {
    color: #FFF;
    border-color: #FFF;
}
.direct-chat-text{
    border-color: #d2d6de !important;
}
#imgDialogContent {
    display: flex;
    flex-direction: column;
}

/* Change the appearence of the bakground colour surrounding the search input field */
body.dark-mode .select2-search {
    background-color: #343A40 !important;
}
/* Change the appearence of the search input field */
body.dark-mode .select2-search input {
    color: #ffffff !important;
    background-color: #343A40 !important;
}

/* Change the appearence of the search results container */
body.dark-mode .select2-results {
    background-color: #343A40 !important;
}

/* Change the appearence of the dropdown select container */
body.dark-mode .select2-selection {
    border-color: #6c757d !important;
    color: #ffffff !important;
    background-color: #343A40 !important;
}

/* Change the color of the default selected item i.e. the first option */
body.dark-mode .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}
.content-wrapper{
    padding-bottom: .5rem;
}
.photoPreview {
    max-width: 100px; 
    max-height: 100px;
}
.premium-shop {
    border: 2px solid gold;
    box-shadow: 0 0 10px gold;
}

.notification-message{
    word-wrap: break-word;
}
@media (min-width: 600px) {
    .chairDiv {
        width: 100%;
        transition: width .3s ease;
    }
    .chairDiv:has(.chairHeader.collapsed) {
        width: fit-content;
    }
}
.login-box-err-msg {
    color: red;
}
.unlockIcon.fas.fa-unlock {
    font-size: 1.1em;
}

.legalAlert small {
    line-height: 1.3;
}

.legalInfoBtn:hover {
    transform: scale(1.05);
}

[id^='legalDisclaimerModal'] hr {
    margin: 0.8rem 0;
    border-color: rgba(255,255,255,0.3);
}

/* Animazione per il pulsante info */
.legalInfoBtn {
    transition: all 0.2s ease;
}

.legalInfoBtn:hover {
    box-shadow: 0 2px 8px rgba(23,162,184,0.3);
}

.barberDiv .card-img-top {
    max-height: 60vh;
    width: auto;
    object-fit: contain;
}
