html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/*html {
  position: relative;
}*/
/*
body {
  margin-bottom: 60px;
}*/


.border-right {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

html, body {
    height: 100%;
}

.main-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-wrapper {
    flex: 1;
    display: flex;
}

.sidebar {
    flex: 0 0 250px; /* Fixed width for sidebar */
    min-height: 100%; /* Ensure sidebar spans the full height */
    border-right: 1px solid #ddd;
}

.main-content {
    flex: 1;
    overflow-y: auto; /* Prevent main content from overflowing */
    padding: 20px;
}

/*CUSTOM CLASSES*/
.mw-500px {
    max-width: 500px;
}


.w-fit {
    width: fit-content !important;
}

.mw-fit {
    max-width: fit-content !important;
}

.nav-items-hover:hover {
    background-color: #eee;
    border-radius: 0.375rem;
}


.scrollbar::-webkit-scrollbar {
    height: 5px;
    border-radius: 50px;
}

.scrollbar::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 20px;
    height: 5px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #d3e5ff;
    border-radius: 20px;
    height: 5px;
}


    .scrollbar::-webkit-scrollbar-thumb:hover {
        background: #9ac3ff;
    }


/* CUSTOM CSS FOR MATERIAL TEXT FIELDS WITH BORDER */
.material-text-field {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    transition: border-color 0.3s, background-color 0.3s, padding-top 0.3s;
}

    .material-text-field:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: none;
        background-color: transparent;
        padding-top: 20px;
    }

    .material-text-field::placeholder {
        color: transparent;
    }

.material-text-field-label {
    position: absolute;
    top: 10px;
    left: 12px;
    color: #aaa;
    font-size: 16px;
    transition: color 0.3s, font-size 0.3s, top 0.3s, left 0.3s;
    pointer-events: none;
    padding: 0 4px;
    background: white;
}

.material-text-field:focus + .material-text-field-label,
.material-text-field:not(:placeholder-shown) + .material-text-field-label {
    top: -12px;
    left: 8px;
    font-size: 12px;
    color: #007bff;
}

.custom-form-group {
    position: relative;
    margin-top: 1.5rem;
}

.material-text-field-label {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}


/*INPUT FIELD VALIDATION*/
.input-validation-error {
    border-color: #dc3545;
}


/* STYLINGS FOR AUTOCOMPLETE */
.ui-autocomplete {
    max-height: 250px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1050 !important; 
    background: white; 
    border: 1px solid #ccc; 
    border-radius: 10px;
}
