.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    margin-top: 100px;
}

a {
    text-decoration: none;
}

.col-form-label {
    margin-bottom: 10px;
}

.select2-container--default .select2-selection--single {
    height: 37px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background-color: #343a40;
    color: #fff;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    padding: 20px;

}

.sidebar.open {
    transform: translateX(0%);
}

.content {
    transition: margin-left 0.3s ease;
    padding: 20px;

}

.content.open {
    margin-left: 220px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
}

.highlight {
    background-color: #0d6efd;
    font-weight: bold;
    display: block;
    padding: .5rem 1rem;
    border-radius: 5px;
}

.btn {
    font-size: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table td,
table th {
    border: 1px solid #ccc;
    padding: 8px;
}

table th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-no-border td {
    border: none;
    padding: 0;
}

.success-message {
    color: green;
    margin-top: 10px;
}

.error-message {
    color: red;
    margin-top: 10px;
}

.custom-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #000;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input[type="checkbox"]:checked::before {
    content: "\2714";
    font-size: 15px;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.flatpickr {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #5897FB;
    color: #ffffff;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: #5897FB !important;
    color: #ffffff;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
}

.popup .close-button {
    position: absolute;
    top: 20px;
    right: 25px;
    background-color: #f00;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}