:root {
    --purple1: #780470;
    --purple2: #710399;
    /* eurokontakt\vendor\almasaeed2010\adminlte\build\scss\_variables.scss  */
}

@font-face {
    font-family: PoppinsRegular;
    src: url('/fonts/Poppins-Regular.ttf');
}

@font-face {
    font-family: PoppinsBold;
    src: url('/fonts/Poppins-Bold.ttf');
    font-weight: bold;
}

* {
    font-family: PoppinsRegular;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 5px 5px;
    text-align: center;
    font-size: 14px;
    border-radius: 50%;
}

.required::after {
    content: ' *';
    color: #dc3545 !important; /* .text-red */
}

/*.modal-backdrop {*/
/*    display: none;*/
/*}*/

.modal {
    background: rgba(0, 0, 0, 0.5);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

#signature-pad {
    border: 1px solid black;
    width: 200px;
    height: 100px;
}

.w-20 {
    width: 20%;
}
/*.products-info-table thead th{*/
/*    width: 20%;*/
/*}*/

.confirm-products-table{
    text-align: center;
    border-collapse: collapse;
    vertical-align: top;
    margin-bottom: 1rem;
}
.confirm-products-table th{
    padding: 2px 10px;
}
/*.confirm-products-table th, .confirm-products-table td{*/
/*    border: 1px solid black;*/
/*}*/

.borderClass{
    border: 1px solid #4a4a4a;
}

.circle-icon {
    background: #ffffff;
    border-radius: 50%;
}

#locations-table thead input {
    width: 100%;
}

.filter-appearance-none{
    -webkit-appearance: none;
}
#filter-reset {
    cursor: pointer;
}
#reset-filter {
    cursor: pointer;
    font-weight: bold;
    border-bottom: 2px solid var(--purple1)
}
#reset-filter:hover {
    color: var(--purple1);
}
.fs-13{
    font-size: 13px;
}
.fs-14{
    font-size: 14px;
}
.fs-15{
    font-size: 15px;
}
.fs-16{
    font-size: 16px;
}
.forget-pass-text{
    color: var(--purple1);
    font-size: 16px;
}
.purple-text {
    color: var(--purple1);
}
.btn-primary {
    background-image: linear-gradient(to right, #780470, #93368D);
    /*background-color: var(--purple1);*/
    border-color: var(--purple1);
    border-radius: 30px;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 0 100px #eee;
}
.btn-primary:hover {
    color: #fff;
    background-position: right center;
    text-decoration: none;
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: var(--purple1);
    border-color: var(--purple1);
    box-shadow: 0 0 0 0.25rem rgb(168, 13, 179);
}
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--purple1);
    border-color: var(--purple1);
}
.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgb(168, 13, 179);
}
.btn-primary:disabled, .btn-primary.disabled {
    color: #fff;
    background-color: var(--purple1);
    border-color: var(--purple1);
}
/* Outline Primary */
.btn-outline-primary {
    color:  var(--purple1);
    border-color:  var(--purple1);
    border-radius: 30px;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    transition: 0.5s;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color:  var(--purple1);
    border-color:  var(--purple1);
}

/*Secondary*/
.btn-secondary {
    border-radius: 30px;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
}

/*Light*/
.btn-light {
    color: black;
    background-color: white;
    background-position: right center;
    text-decoration: none;
    border: none;
}
.btn-light:hover {
    background-color: #dddada;
    background-position: right center;
    text-decoration: none;
}

body:not(.layout-fixed) .main-sidebar {
    height: 300px;
    /*min-height: 70%;*/
    position: fixed;
    top: 11%;
}
.left-sidebar-items{
    border-top-right-radius: 30px !important;
    padding: 16px 24px 16px 16px;
}
.nav-sidebar .nav-tabs .nav-link.active{
    border-top-right-radius: 30px;
    color: white;
    background-image: linear-gradient(to right, #780470, #93368D);
    /*background-color: var(--purple1) !important;*/
}

.nav-tabs .nav-link:not(.active) {
    font-family: PoppinsRegular;
    border-top-right-radius: 30px;
    color: dimgray;
    padding: 8px 40px;
}
.nav-tabs .nav-link.active{
    font-family: PoppinsBold;
    border: 0;
    border-top-right-radius: 30px;
    color: var(--purple1) !important;
    background-color: white;
    padding: 10px 40px;
}

.nav-sidebar .nav-item{
    padding: 0 1.4rem;
}
.content-wrapper{
    margin-top: 0 !important;
    margin-left: 0 !important;
    height: 60% !important;
    max-height: 60% !important;
}
.profile-name{
    padding: 0 16px !important;
    line-height: 1.3;
    font-weight: 550 !important;
    color: #323232 !important;
}

.fa-bell {
    color: #323232 !important;
}

table tr td,
table tr th{
    text-align: center !important;
}
.dt-search-filter{
    border-width: 0 0 1px 0;
    height: 55px;
    font-size: 16px; /* Set the font size as desired */
    padding: 0 8px; /* Adjust padding as needed */
    vertical-align: bottom;  /*align decimal point to bottom*/
    line-height: 0.7;
}

.dataTables_length {
    display: flex; /* Use flexbox */
    flex-direction: column; /* Arrange items vertically */
    justify-content: flex-end; /* Align items to the end (bottom) */
}

.dataTables_length label{
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #a4a3a3 !important;
    position: absolute; /* Position the label absolutely */
    top: 25%; /* Align label to the top */
}
.dataTables_length select.custom-select.form-control{
    width: 60px;
    height: 34px;
    padding: 2px 16px;
    border-radius: 15px !important;
    border: 1px solid #a4a3a3 !important;
    font-size: 12px;
}

.dataTables_info {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #a4a3a3 !important;
    /*position: absolute; !* Position the label absolutely *!*/
    /*bottom: 0; !* Align label to the bottom *!*/
}

.btn-circle{
    border: 0;
    padding: 4px 4px;
}

.content-header {
    padding: 25px 0.5rem;
}

.menu-title{
    color: var(--purple1);
}

h3.menu-title{
    color: var(--purple1);
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}
/*.page-link {*/
/*    position: relative;*/
/*    display: block;*/
/*    padding: 0.5rem 0.75rem;*/
/*    margin-left: -1px;*/
/*    line-height: 1.25;*/
/*    color: #007bff;*/
/*    background-color: #fff;*/
/*    border: 1px solid #dee2e6;*/
/*}*/

/*.page-link:hover {*/
/*    z-index: 2;*/
/*    color: #0056b3;*/
/*    text-decoration: none;*/
/*    background-color: #e9ecef;*/
/*    border-color: #dee2e6;*/
/*}*/

/*.page-link:focus {*/
/*    z-index: 3;*/
/*    outline: 0;*/
/*    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
/*}*/

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item .page-link {
    z-index: 3;
    color: #6c757d;
    background-color: #fff;
    border: 0;
}
.page-item.active .page-link {
    z-index: 3;
    color: var(--purple1);
    border: none;
    border-bottom: 2px solid var(--purple1);
    background-color: #fff;
}
/*.page-item.active .page-link {*/
/*    z-index: 3;*/
/*    color: #fff;*/
/*    background-color: var(--purple1);*/
/*    border-color: var(--purple1);*/
/*}*/

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}
.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    margin: 0 auto; /* This will horizontally center the h5 element */
    padding-top: 10px;
    color: var(--purple1);
    font-family: PoppinsBold;
}
.modal-body {
    padding: 2rem 6rem;
}
.modal-body.delete-modal{
    padding: 2rem 2rem 0 2rem;
}
input,
select{
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #c5c6c8 !important;
}

[class^='select2'] {
    border-radius: 0 !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    /*border-bottom: 1px solid #c5c6c8 !important;*/
}

.select2-container .select2-selection--multiple .select2-selection__rendered,
.select2-container .select2-selection--multiple .select2-selection__rendered .select2-search.select2-search--inline,
.select2-container .select2-selection--single .select2-selection__placeholder,
.select2-container .select2-selection--single .select2-selection__arrow {
    border-bottom: none !important;
}
label {
    display: inline-block;
    margin-bottom: 0;
}
#working-order-edit-form {
    margin-top: 2rem !important;
    margin-left: 5rem;
    margin-right: 5rem;
}

#working-order-edit-form .form-group{
    padding: 0.8rem 6rem;
}
#wo-items-table tr td {
    padding: 0.25rem;
    vertical-align: middle !important;
}
.table thead th{
    border-top: none;
}
.table tr td {
    font-size: 14px;
    line-height: 21px;
    padding: 5px 10px;
    vertical-align: middle !important;
}


table.dataTable thead th {
    position: relative;
    text-align: center;
}
/*table.dataTable thead .sorting:after,*/
/*table.dataTable thead .sorting_asc:after,*/
/*table.dataTable thead .sorting_desc:after,*/
/*table.dataTable thead .sorting_asc_disabled:after,*/
/*table.dataTable thead .sorting_desc_disabled:after {*/
/*    content: "\2191";*/
/*    position: absolute;*/
/*    right: 0; !* Adjust this value as needed *!*/
/*}*/

/*table.dataTable>thead .sorting::before,*/
/*table.dataTable>thead .sorting_asc::before,*/
/*table.dataTable>thead .sorting_desc::before,*/
/*table.dataTable>thead .sorting_asc_disabled::before,*/
/*table.dataTable>thead .sorting_desc_disabled::before {*/
/*    content: "\2193";*/
/*    position: absolute;*/
/*    right: 0;*/
/*}*/
/*th::before, th::after {*/
/*    content: "Before"; !* Content before and after *!*/
/*    display: block; !* Ensures that content is on its own line *!*/
/*    position: absolute; !* Positioning relative to the th *!*/
/*    color: blue; !* Color of the content *!*/
/*}*/
/*th::before {*/
/*    left: 0; !* Initial left position *!*/
/*}*/
/*th::after {*/
/*    right: 0; !* Initial right position *!*/
/*}*/
/*th::before {*/
/*    left: calc(var(--text-width) * -1); !* Set left position based on text width *!*/
/*}*/

#wo-items-table tbody tr td input,
#wo-items-table tbody tr td select {
    text-align: center;
}
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-left: 0 !important;
    padding-left: 8rem !important;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse)  .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse)  .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse)  .main-header {
    margin-left: 0 !important;
    padding-left: 20.5rem !important;
}
.wrapper .content-wrapper {
    /*max-height: 97vh !important;*/
    overflow: auto !important;
    max-height: -moz-max-content !important;
    max-height: max-content !important;
    /*min-height: max-content !important;*/
}

#client-locations-form input:-moz-read-only {
    background-color: white;
}

#client-locations-form input:read-only {
    background-color: white;
}

.client-locations-table,
.client-location-products-table {
    padding: 0 4rem !important;
}
.client-locations-table thead {
    display: none;
}

.client-location-products-table tr,
.client-location-products-table tr td,
.client-locations-table tr,
.client-locations-table tr td{
    border: none;
    border-bottom: 1px solid #a4a3a3;
    padding: 10px 0;
}
.client-locations-table td:first-child {
    text-align: left;
}

.client-locations-table td:last-child {
    text-align: right;
}

#product-info-table {
    border-collapse: collapse;
}
#product-info-table th,
#product-info-table td {
    border: none;
    padding: 8px;
}

#product-info-table th {
    text-align: right !important;
    width: 50%; /* Set width to 50% to make th and td have the same width */
}

#product-info-table td {
    text-align: left !important;
}

.product-info {
    cursor: pointer;
}
/* Nakon mijenjanja vrijednsoti označi polja */
.changed-field {
    background-color: #f5d6f6; /* Light yellow */
    transition: background-color 0.5s ease; /* Smooth transition */
}
/* CSS to style the changed Select2 dropdown */
.changed-field .select2-container {
    background-color: #f5d6f6; /* Light yellow */
    transition: background-color 0.5s ease; /* Smooth transition */
}
.changed-field .select2-selection__rendered {
    background-color: #f5d6f6; /* Light yellow */
    transition: background-color 0.5s ease; /* Smooth transition */
}


.fading-out,
.fading-out .select2-container,
.fading-out .select2-selection__rendered {
    background-color: transparent !important; /* Override to transparent */
}
.remove-arrow-appearance{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/* Za mijenjanje toast boje */
/*.toast-container,*/
/*.toast-success {*/
/*    background-color: var(--purple1) !important;*/
/*}*/
.media-body {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-purple {
    color: #fff;
    background-color: var(--purple);
}

.badge{
    border-radius: .5rem;
}

/* Datatable processing*/
/*.dark-processing tbody{*/
/*    background-color: #cbcbcb; !* Dark background color *!*/
/*}*/
/*.dark-processing td {*/
/*    border: 1px solid #cbcbcb; !* Dark border for cells *!*/
/*}*/
.alert-success{
    background-color: var(--purple);
}
.content-wrapper{
    height: 90% !important;
    min-height: 640px !important;
}

ul.pagination  {
    justify-content: center !important;
}
.pagination {
    margin-top: 2.5rem;
}
.pagination li a{
    background: #F5F5F5 !important;
}
.position-right-10 {
    position: absolute;
    right: 10px;
    margin-top: -40px;
}
.ft-pagination {
    margin-top: -10px;
}
.main-footer{
    background: #F5F5F5 !important;
    border: none;
}
html{
    background: #F5F5F5 !important;
}
.card {
    box-shadow: none !important;
}

.plus-span{
    font-size: 23px;
    vertical-align: bottom;
}

/*Icons*/
.search-icon {
    position: absolute;
    top: 45%;
    right: 10px; /* Adjust as needed */
    transform: translateY(-50%);
}
.calendar-icon {
    position: absolute;
    top: 65%;
    right: 2rem;
    transform: translateY(-50%);
}
.calendar-icon--alt {
    top: 55%;
    right: 0.5rem;
}
.close-x-icon {
    padding-top: 1.5rem;
    padding-right: 1.5rem;
}

/*Modal margine*/
.modal-body{
    padding: 2rem 10rem;
}
.filters-modal .modal-body{
    padding: 2rem 12rem;
}
.form-group{
    margin-top: 25px;
}
.filters-modal .form-group{
    margin-top: 15px;
}
.form-group label{
    color: #353535;
    margin-bottom: 12px;
}
#working-order-edit-form .form-group,
#client_basic_data .form-group{
    padding: 0.8rem 6rem;
}
.modal .row > div {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
.form-check {
    padding-left: 2.5rem;
}
.form-check-input {
    margin-left: 0;
}
.form-check-input:checked {
    background-color: var(--purple2);
}
.form-check-label{
    padding-left: 1.75rem;
}

/* Target the first column in each row inside form-group */
#client_basic_data .form-group .row > div:first-child {
    padding-right: 2rem;
}

/* Target the last column in each row inside form-group */
#client_basic_data .form-group .row > div:last-child {
    padding-left: 2rem;
}

/*Placeholder text color*/
::-moz-placeholder {
    color: #b7b4b4 !important;
    opacity: 1 !important; /* Firefox */
}
::placeholder {
    color: #b7b4b4 !important;
    opacity: 1 !important; /* Firefox */
}
::-ms-input-placeholder { /* Edge 12 -18 */
    color: #b7b4b4 !important;
}
.select2-default {
    color: #b7b4b4 !important;
}
.select2-selection__placeholder{
    color: #b7b4b4 !important;
}

.notification-item-contract {
    padding: 1rem 1.5rem !important;
    background-color: #f8eefd;
}
.notification-item-guarantee {
    padding: 1rem 1.5rem !important;
    background-color: #faeaf2;
}
.disable-icon-btn {
    pointer-events: none;
    opacity: 0.5;
}

/* Kalendar */
.calendar-table {
    font-size: 12px;
}

.calendar-table th, .calendar-table td {
    text-align: center;
    vertical-align: top;
    min-width: 40px;
    padding: 2px;
    border: 1px solid #dee2e6;
}

.serviser-cell {
    font-weight: bold;
    background-color: #f8f9fa;
    white-space: nowrap;
}

.calendar-cell {
    height: 60px;
    position: relative;
    padding: 2px;
}

.calendar-event {
    color: white;
    font-size: 10px;
    padding: 6px 10px;
    margin: 1px;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}


/* Flatpickr Monty Year*/
.flatpickr-monthSelect-months {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

.flatpickr-monthSelect-month {
    flex: 0 0 25%;
    padding: 8px 0;
    margin: 4px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.flatpickr-monthSelect-month:hover {
    background-color: #f0f0f0;
}

.flatpickr-monthSelect-month.selected {
    background-color: var(--purple1);
    color: white;
}

.flatpickrMonthPicker {
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1.5rem;
    text-align: center;
}
.flatpickrMonthPicker:hover {
    text-decoration: underline;
}
.bg-even{
    background-color: #faecfa;
}
.bg-odd{
    background-color: white;
}
.open-event {
    font-style: normal;
    opacity: 1;
}
.closed-event {
    font-style: italic;
    opacity: 0.5;
}
.wo-warning {
    color: red;
}
.hidden {
    display: none;
}
.user-graph-wrap {
    text-align: center;
}
.user-graph {
    max-width: 200px;
    margin: auto;
}
.statistics-table > tbody tr {
    cursor: pointer;
}
.single-statistics-card {
    margin-top: 20px;
    margin-bottom: 35px;
}
.print-wo {
  float: right;
  margin-top: -60px;
  margin-right: 50px;
  font-size: 40px;
  color: var(--purple1);
}
.select2-container--bootstrap4 .select2-selection__clear {
    color: #aaa;             /* svijetlosiva boja */
    background: transparent; /* nema pozadine */
    border: none;            /* bez okvira */
    font-size: 1rem;
    padding: 0 4px;
    margin-right: 4px;
}

.select2-container--bootstrap4 .select2-selection__clear:hover {
    color: #666;             /* malo tamnije na hover */
    background: transparent; /* i dalje bez pozadine */
}
.btn-loading {
    pointer-events: none; /* radi i na <a> */
    position: relative;
}
.btn-fixed-width {
    min-width: 9rem; /* da gumb ne “poskoči” kad se tekst zamijeni */
}
.btn-wait.is-loading { pointer-events: none; }

