/*
    Theme Name: Asl contract theme
    Author: Nam Tran
    Description: This is a custom theme for Asl contract
    Version: 1.0
*/
.fa-150p {
    font-size: 1.5em !important;
}
.btn-rounded {
    --bs-btn-padding-x: 1em;
}
.w90 {
    width: 90px;
}
.w110 {
    width: 110px;
}
.w165 {
    width: 165px;
}
.w198 {
    width: 198px;
}
.w268 {
    width: 268px;
}
.w300 {
    width: 300px;
}
.w315 {
    width: 315px;
}
.mnw300 {
    min-width: 300px;
}
.mxw150 {
    max-width: 150px;
}
.mxw300 {
    max-width: 300px;
}
.mxw45vw {
    max-width: 45vw;
    overflow: hidden;
}
.fit-content {
    width: fit-content;
}
.border-none {
    border: none;
}
.asl_tab{
    border: none !important;
}
.asl_tab.active{
    color: #3a3a3a !important;
    background: none !important;
    border-bottom: 2px solid !important;
    font-weight: bold !important;
}
.asl-tab-wizard .tab-content {
    border: none;
}
.text-right{
    text-align: right;
}
.asl-dash-btn {
    border: 2px dashed #51b1e1;
    border-radius: 30px;
    padding: 12px 15px;
}
#list_datasource {
    display: flex;
    border: 1px solid lightgray;
    padding: 20px;
    border-radius: 20px;
    background: #f9f9f9;
}
#list_datasource .datasource {
    border: 1px solid lightgray;
    border-radius: 9px;
    background: white;
    padding: 15px 20px;
}
#list_datasource .datasource .child_datasource {
    text-decoration: none;
    color: #003966;
}
#list_datasource .datasource .child_datasource:hover {
    text-decoration: none;
    color: #51b1e1;
}
.data_replace_box {
    position: relative;
    background-color: #ebf3ff;
    border-radius: 20px;
    margin-top: 10px;
    padding: 12px 20px;
}
.replace_area {
    background-color: white;
    border-radius: 10px;
    padding: 12px 20px;
}
.replace_area .replace_header{
    background-color: #ebf3ff;
    border-radius: 5px;
    color: #163C7E;
}
.replace_search {
    display: flex;
}
.loader {
    display: none;
}
.search_data .loader img {
    width: 24px;
}
.select_data a{
    opacity: 0.1;
}
.select_data:hover a{
    opacity: 1;
}
.select_data:hover td{
    background-color: #ebf3ff !important;
}
.db_addnew {
    opacity: 0.1;
}
.db_addnew:hover {
    opacity: 1;
}
#create_loading {
    display: none;;
}
.show_important {
    display: flex !important;
}
.hide_important {
    display: none !important;
}
#create_document .form-group {
    display: contents;
}
#create_document .form-group .document_name {
    margin-top: -15px;
}
.add_staff {
    display: none;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-dropdown, .select2-container--default .select2-selection--multiple{
    padding: 0.4rem;
}
.form-control, .typeahead, .tt-query, .tt-hint, .select2-container--default .select2-selection--single .select2-search__field, .select2-container--default .select2-selection--single{
    padding: 0.54rem 1.375rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 24px;
}
.border-radius-9{
    border-radius: 9px;
}
.asl-template-action{
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.asl-template:hover .asl-template-action {
    display: flex;
}
.remove_datasource{
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
}
.multiblock {
    position: relative;
}
.blockselect {
    position: absolute;
    top: 0;
    left: calc(50% + 10px);
    background: red;
    width: 20px;
    color: white;
    font-size: 12px;
    text-align: center;
    padding: 2px;
    border-radius: 10px;
    font-weight: bold;
}
.replace_field .js-example-basic-single {
    background: white;
    border: 1px solid lightgray;
    border-radius: 4px;
    padding: 9px;
}
.replace_field .select2-selection.select2-selection--single {
    padding: 0.4rem !important;
}
.form-group label {
    font-weight: bold;
    color: #003966;
}
.hover_display:hover .d-none {
    display: flex !important;
}
/* Multidata selection styles */
.multiselect_data {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.multiselect_data:hover {
    background-color: #f8f9fa !important;
}

.selected {
    background-color: #e3f2fd !important;
    border-left: 3px solid #2196f3;
}

.selected:hover {
    background-color: #bbdefb !important;
}

.remove-multidata {
    cursor: pointer;
    transition: color 0.2s ease;
}

.remove-multidata:hover {
    color: #dc3545 !important;
    transform: scale(1.1);
}

.pagination .active .page-link {
    background: #51b1e1;
    color: white;
    border-color: #96d0ed;
}
/* Connection status dots for Google tags */
.connection-dot {
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
}

.connection-dot.connected {
    color: #28a745; /* Green color for connected */
}

.connection-dot.disconnected {
    color: #dc3545; /* Red color for disconnected */
}

.connection-dot:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}
