label.error {
    color: red;
    font-size: 0.9em;
}

.form-control.error {
    border-color: red;
}
.form-select.error {
    border: 1px solid red;
}


.logo img {
    height: 45px;
}

.datatable-container {
    position: relative;
    margin: 20px 0;
}

.datatable-controls,
.datatable-footer {
    position: sticky;
    top: 0;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.datatable-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 999;
}

.service-datatable {
    width: 100% !important;
    white-space: nowrap;
}

.card_header1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service_contract {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
}
.ai_chatBtn .btn {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
}

.ai_chatBtn .btn:hover {
    color: #787eef !important;
    border-width: 2px;
    border-color: #787eef;
    background-image: linear-gradient(269deg, #222532 0%, #222532 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.service_contract .service_contractDropdown {
    display: flex;
    column-gap: 10px;
    margin-left: 0px;
}

.service_contract .service_contractDropdown select {
    border: 1px solid #dedede;
    height: 30px;
    padding: 0 20px 0px 5px;
    font-size: 12px;
    border-radius: 3px;
    width: fit-content;
    background-position: right 0.25rem center;
}
.service_contract .service_contractDropdown .select2-container--default .select2-selection--single {
border-color: #000000 !important;
}
.service_contract .service_contractDropdown .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000000 !important;
}
.service_contract .service_contractDropdown .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000000 !important;
}

.sidebar-nav ul .sidebar-item.selected>.sidebar-link {

    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contract_listBtn .btn {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
}
.contract_listBtn .btn:hover {
    color: #787eef !important;
    border-width: 2px;
    border-color: #787eef;
    background-image: linear-gradient(269deg, #222532 0%, #222532 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px !important;
    margin: 5px 3px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: none !important;
    background: none !important;
    margin: 5px 3px;
}
.page-item .page-link {
    border-width: 2px;
    border-radius: 3px !important;
}
.page-item.active .page-link {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
}
.page-breadcrumb .page-title {
    margin-bottom: 0px;
    background-image: linear-gradient(162deg, #ef2e67 0%, #787eef 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    font-size: 30px;
    max-width: 100%;
    -webkit-text-fill-color: rgba(255, 255, 255, 0) !important;
    -webkit-text-stroke-color: RGBA(255, 255, 255, 0) !important;
    -webkit-text-stroke-width: 1px;
    -webkit-background-clip: text;
}
.card {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}
.card-header {
    background-color: #191B1D;
}
.card .card-header .card-title {
    color: #fff;
}
.select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border-color: #fff !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #fff !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.create_save .btn {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
    padding: 10px 40px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin: 0 5px;
}

.modal-title {
    margin-bottom: 0px;
    background-image: linear-gradient(162deg, #ef2e67 0%, #787eef 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    font-size: 16px;
    max-width: 100%;
    -webkit-text-fill-color: rgba(255, 255, 255, 0) !important;
    -webkit-text-stroke-color: RGBA(255, 255, 255, 0) !important;
    -webkit-text-stroke-width: 1px;
    -webkit-background-clip: text;
}
.modalbtn_cancel {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
    padding: 8px 30px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin: 0 5px;
}
.modalbtn_cancel:hover {
    color: #ffffff;
}
.modalbtn_save {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
    padding: 8px 30px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin: 0 5px;
}
.modalbtn_save:hover {
    color: #ffffff;
}
.add_contractForm label.form-label {
    font-size: 15px;
}
.add_contractForm input, .add_contractForm select {
    font-size: 15px;
    height: 45px;
    border-radius: 5px;
}
.add_contractForm select {
    background-position: right;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-size: 23px;
}
.add_contractForm select.error ~ .select2-container {
    border: 1px solid red !important;
    overflow: hidden;
    border-radius: 5px;
}
.add_contractForm select ~ #manufacturer_id-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #account_name-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #sales_person-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #model-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #spare_part_for_pmi-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #department-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm select ~ #department_id-error {
    position: absolute;
    bottom: -29px;
    left: 0;
}
.add_contractForm .select2-container {
    height: 45px;
}
.add_contractForm .select2-container .selection {
    height: 45px;
    display: block;
}
.add_contractForm .select2-container .selection .select2-selection.select2-selection--single {
    height: 45px;
    background-color: #fff !important;
}
.add_contractForm .select2-container .selection .select2-selection.select2-selection--single .select2-selection__placeholder {
    color: #3e5569 !important;
    height: 45px;
    display: block;
    padding: 0px 0;
}
.add_contractForm .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: unset !important;
}
.add_contractForm .select2-container .selection .select2-selection.select2-selection--single .select2-selection__rendered {
    color: #3e5569 !important;
    height: 45px;
    display: block;
    padding: 7px 12px;
}
.add_contractForm .select2-container .selection .select2-selection.select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 35px;
}
.add_contractForm .select2-container .selection .select2-selection.select2-selection--single .select2-selection__arrow b {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: -1px;
    background-position-y: -10px;
    border-radius: 2px;
    margin-right: 2rem;
    padding: 1rem;
    padding-right: 2rem;
}
.add_contractForm .select2-container .select2-selection--single .select2-selection__clear {
    display: none;
}

/* login css */
.auth-wrapper {
    height: 100vh;
    background-color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login_form {
    background-color: #00000040;
    padding: 30px;
    width: 600px;
    max-width: 100%;
    margin: auto;
    border-radius: 10px;
}
.login_form .form-control {
    height: 45px;
}
.login_form .input-group-prepend span {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.login_btns .forgot_psw {
    color: #fff;
    display: block;
    text-decoration: underline;
}
.login_btns .submit_btn {
    transition: color 300ms ease 0ms, background 300ms ease 0ms, border-width 300ms ease 0ms, border-color 300ms ease 0ms;
    background-image: linear-gradient(269deg, #787eef 0%, #ef2e67 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-color: #222532;
    border-radius: 5px;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
    margin: 12px 0px 0px;
}
.login_btns .submit_btn:hover {
    color: #787eef !important;
    border-width: 2px;
    border-color: #787eef;
    background-image: linear-gradient(269deg, #222532 0%, #222532 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


@media screen and (max-width: 1425px) {
.card_header1 {
    padding: 0.75rem 0.50rem;
}


}