.error {
    color: red;
}

.compact-alert {
    padding: 5px 10px;
    /* Adjust padding as needed */
    font-size: 14px;
    /* Adjust font size */
    margin-bottom: 10px;
    /* Space below the alert */
    line-height: 1.5;
    /* Adjust line height */
}

.compact-alert .btn-close {
    position: absolute;
    /* Positioning the button */
    right: 10px;
    margin-top: -12px;
}

.filter-container {
    margin-bottom: 10px;
}

.filter-search {
    width: 240px !important;
    padding-left: 5px;
    height: 22px;
    line-height: 22px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.filter-reset {
    width: 80px;
    line-height: 25px;
    margin-right: 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #111;
    color: #fff;
}
.filter-container input{
    border: none; border: 1px solid #aaa; border-radius: 3px;height: 28px;
    margin-bottom: 10px;
}
.filter-container span{
    min-width: 200px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    left: 95% !important;
}
/* .filter-container ui li{
    white-space: nowrap;
    overflow-x: auto;
    height: 6px;
} */
/*
.filter-select {
    width: 220px !important;
    margin-right: 10px;
    height: 22px;
    line-height: 22px;
}

#date-range{
    width: 200px !important;
    margin-right: 10px;
    height: 24px;
    font-size: 15px;
    line-height: 24px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    width: 215px;
    line-height: 30px;
}
*/

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.dataTables_paginate {
    margin-top: 10px;
    padding-bottom: 10px;
}

table.dataTable.no-footer {
    padding-bottom: 10px;
    border-bottom: 1px solid #111;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 465px;
}

table.dataTable > tbody > tr:last-child > * {
    border-bottom: none;
    padding-bottom: 10px;
}

/* Styles for the form container */
.form-container {
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Form group styles */
.form-container .form-group {
    margin-bottom: 15px;
}

.form-container label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-container input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px 20px;
}

.form-container input[type="submit"]:hover {
    background-color: #0056b3;
}

.saved-service-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.saved-service-table th,
.saved-service-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.saved-service-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.saved-service-details h4 {
    margin-bottom: 15px;
}

/* select2 */



/* General Select2 Container */
.select2-container--default .select2-selection--single {
    height: 42px; /* Adjust height for better appearance */
    border: 1px solid #d1d5db; /* Lighter border color */
    border-radius: 6px; /* Rounded corners */
    background-color: #f8f9fa; /* Light gray background */
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #333; /* Darker font color */
    padding-left: 8px; /* Padding inside the dropdown */
    transition: border 0.2s ease-in-out;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--single:focus {
    border-color: #007bff; /* Highlighted blue border on focus or hover */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); /* Subtle box shadow */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 80%;
    right: 8px;
}

/* Multi-select enhancements */
.select2-container--default .select2-selection--multiple {
    min-height: 20px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #f8f9fa;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 500;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff; /* Blue background for selected items */
    color: #fff;
    border: none;
    border-radius: 4px;
    margin: 3px;
    padding: 4px 8px;
    font-size: 12px;
    transition: background 0.2s;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 4px;
    cursor: pointer;
}

/* Dropdown menu styling */
.select2-container--default .select2-dropdown {
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.select2-container--default .select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
    color: #fff;
}

/* Disabled Select2 dropdown */
.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #e9ecef; /* Gray out */
    color: #6c757d;
}
