.custom_checkout{
    width:25px;
    height:25px;
}
.font_styleing{
    font-size: 16px;
    line-height: 18px;
}
.image_preview img{
	width:150px;
	float:left;
	margin-right:10px;
}
.big_loader{
	position:fixed;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	background-image: url(loader.gif);
	background-color:rgba(255,255,255,0.5);
	background-repeat:no-repeat;
	background-position:50% 50%;
	z-index:1000000;
	
}
.select2-selection{
	background-color: #343a40  !important;
    color: #fff !important;
    border-radius: 5px !important;
    /* padding: 3px; */
    height: 35px !important;
    padding: 4px !important;
}
.select2-selection .select2-selection__rendered{
	color: #000 !important;
    font-weight: 200 !important;
    text-transform: none !important;
}
.featured_image.table_item{
	width:64px;
	height:64px;
	background-size: cover;
    background-position: center;
}


/* Custom QR code */ 


.booking-item img {
    width: 60px;
}
.booking-item {
    font-size: 12px;
    padding: 20px 10px;
}

textarea#status-comment {
    background-color: #fff;
    max-width: 90%;
	border-radius: 5px;
	border: 1px solid #b6b6b6;
}
div#service-comment-section {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}
.status-update-section label {
    width: 90% !important;
    display: block;
    margin: 0 auto;
    text-align: left;
}

/* Product table */ 

.product-booking-table {
    max-width: 95vw;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 20px auto;
}

.product-booking-table th {
    text-align: left;
    font-family: 'HNC', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px;
    color: #000; /* Text color */
}

.product-booking-table td {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-family: 'HNC', sans-serif;
    font-size: 1rem;
    color: #000; /* Text color */
    vertical-align: middle;
}

.product-booking-table tbody tr {
    margin: 5px 0;
}

.product-booking-table th, .product-booking-table td {
    white-space: nowrap;
    text-align: left;
}

.product-booking-table img {
    cursor: pointer;
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 5px;
}

.product-booking-table .category-column {
    white-space: normal; /* Fix the tree display for categories */
}

.product-booking-table input.date-picker,
.product-booking-table select.project-select {
    width: 100%;
    max-width: 250px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 0.9rem;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.product-booking-table button.book-product-btn {
    background-color: #267632;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'HNC', sans-serif;
    font-size: 15px;
}

.product-booking-table button.book-product-btn:hover {
    background-color: #267632;
}




/* Produkttabell */ 

.service-status {
    color: #fff;
    background-color: #b26200;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
}

.occupied-status {
    color: #fff;
    background-color: #b2000f;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
}

.available-status {
    color: #fff;
    background-color: #388349 !important;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
}



.category-tree {
    max-width: none; /* Adjust as necessary */
    padding: 10px;
}

.variation-Varaktighet{
    display: none !important;
}
ul.variation {
    font-weight: 700;
    font-family: 'HNC';
    text-transform: uppercase;
}

/* Select 2 table */

.product-booking-table .select2-selection{
    height: 45px !important;
}
.product-booking-table .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    font-size: 12px;
}


/* Filter */ 

.category-tree {
    list-style: none;
    padding-left: 0px; /* Adjust padding as needed */
}

.category-tree li > ul {
    display: none; /* Hide child ul initially */
}

li.parent-category{
    position: relative;
}
span.toggle-child {
    right: 5px;
    position: absolute;
    font-size: 20px;
    top: 0;
}
li.parent-category {
    font-family: 'HNC';
    font-weight: 500;
    border-bottom: 1px solid #d6d0d0;
    padding: 5px 0px;
    text-transform: uppercase;
    color: #000;
}
input.category-checkbox {
    margin-right: 10px;
}

/* Style for the existing checkboxes */
.category-checkbox {
    -webkit-appearance: none; /* Remove default styling for WebKit browsers */
    -moz-appearance: none;    /* Remove default styling for Firefox */
    appearance: none;          /* Remove default styling */
    width: 18px;              /* Set width */
    height: 18px;             /* Set height */
    border-radius: 50%;       /* Rounded shape */
    border: 2px solid #ccc;   /* Border color */
    outline: none;            /* Remove outline */
    position: relative;        /* Position relative for positioning the checkmark */
    cursor: pointer;          /* Change cursor to pointer */
}

/* Style for when the checkbox is checked */
.category-checkbox:checked {
    background-color: #C61E18;    /* Change background to red */
    border: 2px solid #C61E18;    /* Match the border to the background */
}

/* Add the check mark inside the checkbox */
.category-checkbox:checked::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 3px;
    color: white;
    font-weight: bold;
    font-size: 10px;
}

ul.child-category-tree li {
    border: 0px;
    padding: 5px;
    font-size: 13px;
}
ul.child-category-tree{
    padding-left: 10px;
}


label.filter-label {
    width: 100%;
    display: block;
    font-family: 'HNC';
    text-transform: uppercase;
    color: #000;
    margin-top: 10px;
}
.filter-column h3 {
    border-bottom: 1px solid #dedede;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
select#availability-filter, input#date-range-filter, input#bulk-date-picker, select#bulk-project-select{
    width: 90%;
    border-radius: 5px;
    border: 1px solid #a5a5a5;
}
button#toggle-category-tree {
    width: 90%;
    height: 40px;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid #a5a5a5;
    margin-top: 30px;
}
.filter-column{
    width: 33%;
}
button#clear-selections {
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-family: 'HNC';
}
table.product-booking-table {
    border-top: 1px solid #a5a5a5;
    padding-top: 20px;
    margin-top: 40px;
    margin-bottom: 70px;
}
table.product-booking-table th, .product-booking-table th, .product-booking-table td  {
    border-left: 1px solid #e4e4e4;
}
span.select2-selection.select2-selection--single {
    height: 45px !important;
}
span#select2-bulk-project-select-container {
    color: #000 !important;
}
.filter-column span.select2-selection.select2-selection--single {
    border-radius: 5px;
    border: 1px solid #a5a5a5;
}

/* Product table project select - white background */
.product-booking-table .select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    height: auto !important;
    min-height: 35px !important;
    padding: 5px !important;
}

.product-booking-table .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
}

.product-booking-table .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px !important;
}

/* Modern quantity input with +/- buttons for table */
.table-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 250px;
}

.table-quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #c61e18;
    background-color: white;
    color: #c61e18;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.table-quantity-btn:hover {
    background-color: #c61e18;
    color: white;
}

.table-quantity-btn:active {
    transform: scale(0.95);
}

.table-quantity-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.table-quantity-input-wrapper input.quantity-input {
    width: 100%;
    padding: 8px 40px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: white;
}

.table-quantity-input-wrapper input.quantity-input:focus {
    outline: none;
    border-color: #c61e18;
}

.table-unit-label {
    position: absolute;
    right: 12px;
    font-weight: 600;
    color: #c61e18;
    font-size: 13px;
    pointer-events: none;
}

/* Checkboxes bulk */

.select-product-checkbox, input.booking-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ccc;
    appearance: none; /* Remove default styling */
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Style for the checked state */
.select-product-checkbox:checked, input.booking-checkbox:checked {
    background-color: #388349; /* Green background */
    border-color: #388349;
    position: relative;
}

/* White checkmark when checked */
.select-product-checkbox:checked::before, input.booking-checkbox:checked::before {
    content: "✔"; /* Checkmark symbol */
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

button#bulk-booking-btn {
    min-width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color: #388349;
    color: #fff;
    font-family: 'HNC';
    border: 1px solid #388349;
}

input#product-search {
    border: 0px;
    border-bottom: 2px solid #c61e18;
}
input#product-search::placeholder {
    font-size: 25px !important;
    text-align: center;
}
input#product-search{
    font-size: 25px !important;
    text-align: center;
    color:#000;
}

#lagerplats-section span.select2.select2-container.select2-container--default {
    max-width: 90% !important;
    margin-bottom: 20px;
}

td.lank-td a {
    color: #000;
}
td.img-td img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
}

button#clear-tillganglighet, button#clear-fleraprodukter, button#clear-filter, button#reset-category-filter {
    width: 150px;
    padding: 7px;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-family: 'HNC';
    margin-top: 15px;
}
button#bokckaur-booking-btn {
    min-width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color: transparent;
    color: #000000;
    font-family: 'HNC';
    border: 2px solid #000;
}

.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-popup-content {
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.custom-popup.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.service-issue .drp-calendar {
    background-color: #f8d7da; /* Ljus röd bakgrund */
    color: #721c24; /* Mörk röd text */
}
.service-issue .drp-calendar .available {
    color: #721c24 !important; /* Ändra textfärg */
    background-color: #f8d7da !important; /* Ändra bakgrund */
    pointer-events: none; /* Inaktivera klick */
}


table.product-booking-table td{
    font-size: 12px;
}

.not-returned-status {
color: #fff;
background-color: #ff1111;
width: 100%;
display: block;
text-align: center;
border-radius: 5px;
font-size: 12px;
padding: 5px;
text-transform: uppercase;
}

.partial-status {
    color: #fff;
    background-color: #ff9800;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
}

.full-status {
    color: #fff;
    background-color: #b2000f;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    text-transform: uppercase;
}


a#reload-page-link {
    color: #fff !important;
    text-decoration: none !important;
    background-color: #c61e18;
    font-family: 'HNC';
    text-transform: uppercase;
    padding: 5px 30px;
    border-radius: 30px;
    font-size: 12px;
}

button#load-more-products {
    background-color: #c61e18;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    border: 0px;
}

/* V2 cSS */ 


span.toggle-icon {
    position: absolute;
    right: 20px;
}

button#search-button {
    position: absolute;
    right: 0px;
    background-color: transparent;
    border: 0px;
    font-size: 2rem !important;
    color: #c61e18;
}

.unreturned-bookings-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.booking-item {
    max-width: 500px;
    border-radius: 30px;
    min-width: 350px;
    margin: 5px auto;
    text-align: left;
    padding-left: 20px !important;
    background-color: #f8f8f8;
    border: 0px !important;
    position: relative;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.5;
    font-family: 'HNC';
    color: #000;
}

.project-name {
    font-size: 14px;
    color: #c61e18;
    margin-bottom: 5px;
    line-height: 1.5;
    font-family: 'HNC';
}

.booking-dates {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.return-booking-btn {
    background-color: #c61e18;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    font-family: 'HNC';
    text-transform: uppercase;
    width: calc(100% - 10px);
}

.return-booking-btn:hover {
    background-color: #c9302c;
}
div#unreturned-products-view {
    text-align: center;
}

button#back-to-main-view {
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    font-family: 'HNC';
    padding: 5px 30px;
    border-radius: 30px;
}

button.filter-btn {
    border-radius: 30px;
    padding: 5px 10px;
    border: 0px;
    font-size: 12px;
    margin: 20px 0px;
    font-family: 'HNC';
    text-transform: uppercase;
}

button#show-unreturned-products {
    text-transform: uppercase;
    font-family: 'HNC';
    background-color: #fff !important;
    border: 1px solid !important;
    color:#000 !important;
    border:0px !important;
    font-size: 15px;
}

.topbar{
    justify-content: center !important;;
    font-size: 12px;
	flex-direction: column;
}

button.filter-btn.active {
    background-color: #000;
    color: #fff;
}
.topbar a{
    font-size: 12px;
}

p.customer-name {
    margin: 0px;
    position: absolute;
    top: 10px;
    right: 20px !important;
}

