


.multi-select {
    width: 300px;
    position: relative;
}

    .multi-select .select-box {
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 7px 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .multi-select .selected-options {
        flex: 1;
        font-size: 14px;
    }

    .multi-select .options-container {
        display: none;
        border: 1px solid #ccc;
        border-top: none;
        border-radius: 6px 6px 6px 6px;
        background: #fff;
        position: absolute;
        width: 100%;
        box-sizing: border-box;
        z-index: 1;
        max-height: 180px;
        overflow-y: auto;
    }

    .multi-select .option {
        padding: 8px;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
    }

        .multi-select .option.selected {
            background: #e0f7fa;
            color: #007bff;
        }

            .multi-select .option.selected .check-icon {
                display: inline-block;
            }

    .multi-select .check-icon {
        display: none;
        color: #007bff;
        margin-left: 8px;
    }

    .multi-select .options-container.active {
        display: block;
    }


.attachments-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 16px; /* Space between items */
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin-bottom:20px;
}

.attachment {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon, name, size, and actions */
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 300px; /* Set max width for each attachment */
    overflow: hidden; /* Prevent overflow */
}

.file-icon {
    font-size: 20px;
}

.file-name {
    font-weight: bold;
    color: #333;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis for long text */
    flex: 1; /* Allow the name to take up remaining space */
}

.file-size {
    font-size: 14px;
    color: #666;
}

.file-action {
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .file-action.download:hover {
        background-color: #e0f7fa; /* Light blue background on hover */
    }

    .file-action.delete:hover {
        background-color: #ffebee; /* Light red background on hover */
    }

.disabled-div {
    background-color: #f0f0f0; /* Light gray background, similar to disabled inputs */
    color: #3b3b3b; /* Darker gray text color (lighter than normal text) */
    padding: 8px 12px; /* Padding similar to input fields */
    border: 1px solid #9c9c9c; /* Light border, similar to disabled inputs */
    border-radius: 4px; /* Slightly rounded corners */
    font-family: Arial, sans-serif; /* Match the font to input fields */
    font-size: 15px; /* Match the font size to input fields */ 
    min-height: 42px;
    font-weight: 500;
    letter-spacing: 1px;
}
 
/* Dropdown button */
.dropbtn {
    background-color: #fff;
    color: #262424;
    padding: 10px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    border-radius: 8px;
    margin-top: 0px;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0; /* Position dropdown to expand left */
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black !important;
        padding: 8px 16px;
        text-decoration: none;
        display: flex;
        font-size: 13px;
        align-items: center;
        gap: 8px;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #fff;
            border-radius: 8px;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #fff;
}


.modal-footer .btn{
    margin-bottom: 0 !important;
}
















.table thead th{
    padding: 0.5rem 0.5rem !important;
}

.form-group {
    margin-bottom: 1.0rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0rem;
    font-size: 0.975rem;
    font-weight: 600;
    color: #252f41;
    transition: all 0.2s ease;
    margin: 0 0 2px 2px !important;
}

.custom-input {
    width: 100%;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #495057;
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 0.3rem;
    transition: all 0.2s ease;
    font-size: 17px;
    font-weight: 300;
}

.custom-input:focus {
    background-color: #eeeeee;
    border-color: #344767;
    box-shadow: 0 0 0 2px rgba(52, 71, 103, 0);
    outline: none !important;
} 

Expla

.custom-input:hover {
    border-color: none;
    outline: none !important;
}

.custom-input::placeholder {
    color: #9d9e9e;
    opacity: 1;
    font-size: 15px;
}

.custom-input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-input-group-label {
    height: 38px;
    margin: 1px 0 0 1px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 8px;
    background-color: #f5f5f5 !important;
}




/* General Styling */
.custom-select {
    width: 100%;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #495057;
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 0.3rem;
    transition: all 0.2s ease;
    font-size: 17px;
    font-weight: 300;
    appearance: none; /* Removes default browser styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23495057'><path d='M14.82 17.18L24 26.34l9.18-9.16L36 20l-12 12-12-12 2.82-2.82z'/></svg>");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
}

    /* Hover Effect */
    .custom-select:hover {
        border-color: #344767;
        outline: none;
    }

    /* Focus Effect */
    .custom-select:focus {
        border-color: #344767;
        box-shadow: 0 0 0 2px rgba(52, 71, 103, 0);
        outline: none !important;
    }

    /* Disabled State */
    .custom-select:disabled {
        background-color: #f8f9fa;
        cursor: not-allowed;
        opacity: 0.6;
    }

    /* Placeholder (For First Option) */
    .custom-select option[value=""][disabled] {
        display: none;
    }





/* Match Select2 with .custom-input */
.select2-container .select2-selection--single {
    height: 40px !important; /* Increased height by 3px */
    padding: 6px 12px !important;
    font-size: 17px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    color: #495057 !important;
    background-color: #fff !important;
    border: 1px solid #d2d6da !important;
    border-radius: 0.3rem !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* Ensure text is aligned properly */
.select2-container .select2-selection__rendered {
    padding-left: 12px !important;
    padding-right: 30px !important;
    line-height: normal !important;
}

/* Add dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: #495057 !important;
    pointer-events: none !important; /* Prevent interaction */
}

/* Fix dropdown alignment */
.select2-dropdown {
    border: 1px solid #d2d6da !important;
    border-radius: 0.3rem !important;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Limit the dropdown height (Show limited items) */
.select2-results__options {
    max-height: 200px !important; /* Limit height of dropdown */
    overflow-y: auto !important;
}

/* Fix highlighted options */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #344767 !important;
    color: white !important;
}

/* Remove focus outline from Select2 search input */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #d2d6da !important; /* Optional: Keep border consistent */
}

.select2-error-hightlight{
    border-color: #dc3545 !important;
    background-color: #f8dfe1 !important;
}


.aed-input {
    padding-left: 65px !important;
    letter-spacing: 0.8px;
    font-weight: 400 !important;
}

 



 
/* Ensure the input field takes full width */
.iti {
    width: 100% !important;
    position: relative !important;
}
    
    /* Show dropdown only when clicked */
    .iti__country-list.iti__country-list--visible {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

/* Fix flag alignment */
.iti__flag-container {
    cursor: pointer !important;
}







    
textarea.custom-input {
    resize: vertical;
    min-height: 100px;
}


.is-invalid {
    background-color: #f8dfe1;
    border-color: #dc3545;
}



.fancy-datepicker, .fancy-datetimepicker {
    padding-left: 45px;
    letter-spacing: 0.8px;
}


.form-section {
    margin-bottom: 24px;
}

    .form-section h3 {
        margin-bottom: 16px;
        font-size: 18px;
        color: #333;
    }

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    flex: 1;
}

.main-page {
    min-height: 300px;
}
.tr-alert-danger{
    background-color: #f8dfe1;
}
.tr-alert-warning{
    background-color: #f5f0d6;
}
 