.page-id-1527 #nm-header, .page-id-1527 #nm-footer, .page-id-1527 .nm-top-bar, .checkout-modal #nm-header {
    display: none !important;
}
body {
    margin: 0;
    padding: 0;
}
.topbar {
    width: 100%;
    background-color: #c61e18;
    padding: 15px 0;
    text-align: center;
}
.topbar h5 {
    color: white;
    margin: 0;
    font-size: 18px;
}
.page-id-1527 .nm-page-default.nm-row {
    max-width: 100vw !important;
}
.sub-heading-bokning{
	color: #c61e18;
	font-weight: 400;
	letter-spacing: 2px;
}
.topbar a {
    border: 2px solid;
    padding: 5px 30px;
    border-radius: 30px;
}

label.label-booking {
    font-family: 'HNC';
    font-size: 15px !important;
    text-transform: uppercase;
    color: #000;
}

.choices-booking-scan {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2% 0%;
    border-radius: 15px;
}
/* Only apply to home view, not booking view */
.page-id-1527 .wqp-home-view input[type="text"]{
	border-radius: 5px !important;
	width: 90%;
	border: 1px solid #aaa;
	text-align: center;
	font-family: 'HNC';
}
.choices-booking-scan span.select2-selection,
.wqp-booking-view span.select2-selection,
.wqp-app-container span.select2-selection {
    background-color: #fff !important;
    color: #000 !important;
}
.choices-booking-scan .select2-container{
	max-width: 90%;
}
.choices-booking-scan .select2-container--default .select2-selection--single{
	height:45px !important;
}
.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__placeholder,
.wqp-booking-view .select2-container--default .select2-selection--single .select2-selection__placeholder,
.wqp-app-container .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color:#000;
}

.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__rendered{
	color:#000 !important;
	line-height: 2.3;
}
.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000000;
}



.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 45px;
}

label.label-booking {
    font-family: 'HNC';
    font-size: 15px !important;
    text-transform: uppercase;
    color: #000;
    border-bottom: 1px solid #a2a2a2;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 15px !important;
}
h1.scanning-title {
    font-size: 2.2rem;
}

/* Date range picker */




/* Select2 dropdown customization - ONLY for scanning view */
.choices-booking-scan .select2-container .select2-selection--single {
    border-radius: 5px;
    padding: 6px;
}

.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    top: 8px;
}

.choices-booking-scan .select2-container--default .select2-results > .select2-results__options {
    padding: 0;
}
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td{
	font-family: 'Helvetica Neue' !important;
	color:#000;
    border: 2px solid #fff !important;;
}
 .daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #d0d0d0 !important;
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}
.choices-booking-scan span.select2-results li {
    font-family: 'HNC' !important;
    color: #000 !important;
    font-size: 14px;
}

.choices-booking-scan .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #0000;
    color: white !important;
}
.choices-booking-scan .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
	background-color:#000 !important;
}
.choices-booking-scan .select2-container--default .select2-selection--single .select2-selection__clear{
	height: 35px !important;
}
button#add-to-cart-btn {
    width: 90%;
    border-radius: 30px;
    background-color: #00a77cf7 !important;
    font-family: 'HNC';
    text-transform: uppercase;
    font-size: 16px;
    height: 45px;
}
.booking-item {
    max-width: 500px;
    border-radius: 15px;
    margin: 20px auto;
    text-align: left;
    padding-left: 20px !important;
    background-color: #f8f8f8;
    border: 0px !important;
}
span.remove-cart-item {
    background-color: #ff000082;
    line-height: 1;
    padding: 1px 4px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}
.booking-item .label-booking-item {
    font-family: 'HNC';
    text-transform: uppercase;
    color: #000;
    margin-right: 5px;
    font-size: 12px;
}
.meta-data-booking {
    line-height: 2;
    font-size: 12px;
}
button#open-camera-btn {
    width: 90%;
    border-radius: 30px;
    background: transparent;
    color: #000;
    font-family: 'HNC';
    text-transform: uppercase;
    border: 2px solid;
}
.booking-item img {
    border-radius: 15px;
}

button#finalize-booking-btn {
    width: 90%;
	max-width: 500px;
    border-radius: 30px;
    background-color: #c61e18;
    font-family: 'HNC';
    text-transform: uppercase;
    padding: 15px;
}

button#close-checkout-modal {
    border-radius: 30px;
    text-transform: uppercase;
    font-family: 'HNC';
    margin-top: 30px !important;
    background-color: #000;
}

/* Only apply to home view, not booking view */
.page-id-1527 .wqp-home-view h2,
.page-id-1527 .wqp-home-view h1{
	font-size: 5rem !important;
}

.status-booked {
    max-width: 200px;
    margin: 0 auto;
    background-color: #c93232;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
span.status-available{
	max-width: 200px;
    margin: 0 auto;
    background-color: #29b26d;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
span.status-partial{
	max-width: 200px;
    margin: 0 auto;
    background-color: #ffa500;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
span.status-full{
	max-width: 200px;
    margin: 0 auto;
    background-color: #8b0000;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
span.status-service{
	max-width: 200px;
    margin: 0 auto;
    background-color: #ff6b00;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
span.status-overdue{
	max-width: 200px;
    margin: 0 auto;
    background-color: #ff4444;
    font-family: 'HNC';
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-left: 5px;
}
.aterlamning-div-content {
    font-family: 'HNC';
    text-transform: uppercase;
    line-height: 2.5;
    color: #000;
}

.status-update-section {
    background-color: #f9f9f9;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 0px;
    border-radius: 30px;
	margin-top: 15px;
}
.status-update-section label {
    width: 100% !important;
    display: block;
}
select#status-update {
    width: 90%;
    border-radius: 5px !important;
    border: 1px solid #b6b6b6;
    font-family: 'HNC';
    margin-bottom: 10px;
}

button#update-status-btn {
    width: 90%;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: 'HNC';
	background:#000 !important;
	color:#fff;
	padding: 10px;
}

/* ========================================
   NEW APP-STYLE DESIGN
   ======================================== */

/* App Container */
.wqp-app-container {
    min-height: 100vh;
    background: linear-gradient(0deg, rgba(198, 30, 24, 0.10) 0%, rgba(255, 255, 255, 1) 50%);
    font-family: 'HNC', Arial, sans-serif;
    position: relative;
    opacity: 0;
    animation: fadeInView 0.4s ease-in forwards;
}

/* Fade-in animation for all views */
@keyframes fadeInView {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade-out animation for view transitions */
@keyframes fadeOutView {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Product name header - discreet at the top */
.wqp-product-name-header {
    padding: 10px 20px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.wqp-product-name {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Home view with background image */
.wqp-app-container.wqp-home-view {
    background-image: url('/wp-content/uploads/2023/03/Liseberg-case-min-scaled.jpeg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    will-change: opacity;
}

/* Red gradient overlay matching the sketch */
.wqp-app-container.wqp-home-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgb(10 10 10 / 62%) 0%, rgba(198, 30, 24, 1) 100%);
    z-index: 0;
}

.wqp-app-container.wqp-home-view > * {
    position: relative;
    z-index: 1;
}

/* Header with status badges - HIDDEN FOR HOME VIEW */
.wqp-home-view .wqp-header {
    display: none;
}

.wqp-header {
    padding: 20px 25px;
    background-color: transparent;
}

.wqp-status-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.wqp-badge {
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wqp-badge-produktstatus {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.wqp-badge-status {
    color: white;
}

.wqp-badge-status.status-available {
    background-color: #00a77cf7;
}

.wqp-badge-status.status-booked {
    background-color: #c61e18;
}

.wqp-badge-status.status-partial {
    background-color: #ffa500; /* Orange for partially booked */
}

.wqp-badge-status.status-full {
    background-color: #8b0000; /* Dark red for fully booked */
}

.wqp-badge-status.status-service {
    background-color: #ff6b00;
}

.wqp-badge-status.status-overdue {
    background-color: #ff4444;
}

.wqp-badge-link {
    background-color: #c61e18;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wqp-badge-link:hover {
    background-color: #a01814;
    color: white;
}

/* Hero Section */
.wqp-hero-section {
    padding: 40px 25px 20px;
    text-align: left;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Special styling for page-id-1527 */
.wqp-hero-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 4.5rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: white;
    margin: 0 0 20px 0;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

.wqp-hero-subtitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: white;
    margin: 0;
    font-weight: 300;
    text-shadow: none;
    opacity: 0.9;
}

/* Reset view button */
.wqp-reset-view-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wqp-reset-view-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Manage Bookings View */
.wqp-booking-filter-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.wqp-filter-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'HNC', Arial, sans-serif;
}

.wqp-filter-btn:hover {
    color: #c61e18;
}

.wqp-filter-btn.active {
    color: #c61e18;
    border-bottom-color: #c61e18;
}

.wqp-bookings-section {
    animation: fadeIn 0.3s ease-in;
}

.wqp-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.wqp-booking-item {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #c61e18;
}

.wqp-booking-item.booking-current {
    border-left-color: #c61e18;
}

.wqp-booking-item.booking-overdue {
    border-left-color: #ff6b00;
}

.wqp-booking-item.booking-upcoming {
    border-left-color: #00a77c;
}

.wqp-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wqp-booking-status-badge {
    background-color: #c61e18;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.booking-current .wqp-booking-status-badge {
    background-color: #c61e18;
}

.booking-overdue .wqp-booking-status-badge {
    background-color: #ff6b00;
}

.booking-upcoming .wqp-booking-status-badge {
    background-color: #00a77c;
}

.wqp-booking-dates {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.wqp-booking-info {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.wqp-booking-project {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.wqp-return-booking-btn {
    background-color: #c61e18;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
}

.wqp-return-booking-btn:hover {
    background-color: #a01812;
    transform: translateY(-2px);
}

.wqp-return-booking-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Action Buttons - positioned at bottom */
.wqp-action-buttons {
    padding: 0 25px 40px;
    max-width: 400px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.wqp-action-btn {
    font-family: 'HNC', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    min-height: 70px;
}

.wqp-btn-primary {
    background-color: white;
    color: #333;
}

.wqp-btn-primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.2);
}

/* Glass effect buttons */
.wqp-btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.wqp-btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.wqp-btn-secondary {
    background-color: rgba(198, 30, 24, 0.9);
    color: white;
    border: 2px solid rgba(198, 30, 24, 0.9);
}

.wqp-btn-secondary:hover {
    background-color: rgba(198, 30, 24, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3);
}

.wqp-btn-text {
    flex: 1;
    text-align: left;
}
.wqp-action-buttons a{
    font-size: 17px;
}
.wqp-action-buttons .wqp-btn-primary{
    color:#000;
}
.wqp-btn-primary .wqp-btn-icon {
    background-color: #eeeeee;
}
.wqp-action-btn-green span.wqp-btn-icon {
    color: #08a980;
    font-weight: 400 !important;
    font-family: 'Helvetica Neue';
}
.wqp-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-left: 12px;
}

.wqp-btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: #c61e18;
}

.wqp-search-link {
    color: #c61e18;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.wqp-search-link:hover {
    color: #a01814;
}

/* ========================================
   BOOKING VIEW STYLES
   ======================================== */

/* Booking view container - gradient background (red bottom, white top) */
.wqp-app-container.wqp-booking-view {
    background: linear-gradient(0deg, rgba(198, 30, 24, 0.10) 0%, rgba(255, 255, 255, 1) 50%);
    min-height: 100vh;
    padding: 0;
    display: block;
    height: auto;
    overflow: auto;
}

/* Back Button - red circle with text */
.wqp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 20px;
    background-color: #c61e18;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'HNC', Arial, sans-serif;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(198, 30, 24, 0.3);
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.wqp-back-btn:hover {
    background-color: #a01814;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 30, 24, 0.4);
    color: white;
}

.wqp-back-btn-arrow {
    font-size: 20px;
    font-weight: 300;
}

/* Header with status badges - hidden, moved to title area */
.wqp-booking-view .wqp-header {
    display: none;
}

/* Status badges next to title - 20% width */
.wqp-status-badges-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex: 0 0 30%;
    min-width: 140px;
}

.wqp-status-badges-inline .wqp-badge {
    font-size: 11px;
    padding: 8px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

/* Product image - white container */
.wqp-product-image {
    text-align: center;
    padding: 60px 20px 20px;
    margin-top: 0;
    background-color: #fff;
    border-radius: 0px 0px 20px 20px;
    position: relative;
}

.wqp-product-image img {
    max-width: 280px !important;
    width: 100%;
    border-radius: 0px !important;
    box-shadow: none !important;
}

/* View container */
.wqp-view-container {
    padding: 0 20px 40px;
    max-width: 500px;
    margin: 0 auto;
}

/* Product title and status - left aligned with badges on the right */
.wqp-title-status-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0 8px 0;
    gap: 15px;
}

.wqp-title-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.wqp-view-title {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin: 0;
    text-transform: none;
}

.wqp-project-badge-wrapper {
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
}
.wqp-project-list .wqp-project-name{
    font-weight: 600 !important;
    color: #000 !important;
}

.wqp-project-badge {
    display: block;
    width: 100%;
    padding: 0px 0;
    border: none;
    border-radius: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 400 !important;
    text-transform: none !important;
    background-color: transparent;
    text-align: left;
}

.wqp-project-label {
    color: #000 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.wqp-project-name {
    color: #c61e18 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

/* Form Elements - modern, clean design */
.wqp-form-group {
    margin-bottom: 10px;
}

/* Input wrapper with icon */
.wqp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wqp-input-icon {
    position: absolute;
    left: 24px;
    width: 24px;
    height: 24px;
    z-index: 1;
    pointer-events: none;
    color: #c61e18;
    stroke: #c61e18;
}

/* Quantity input for custom units */
.wqp-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.wqp-quantity-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #c61e18;
    background-color: white;
    color: #c61e18;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wqp-quantity-btn:hover {
    background-color: #c61e18;
    color: white;
}

.wqp-quantity-btn:active {
    transform: scale(0.95);
}

.wqp-quantity-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

#wqp-quantity,
#wqp-return-quantity {
    width: 100%;
    padding: 20px 60px 20px 24px;
    border-radius: 40px;
    border: 1px solid #f0f0f0;
    font-size: 20px;
    font-weight: 600;
    font-family: 'HNC', Arial, sans-serif;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 70px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    text-align: center;
}

#wqp-quantity::-webkit-outer-spin-button,
#wqp-quantity::-webkit-inner-spin-button,
#wqp-return-quantity::-webkit-outer-spin-button,
#wqp-return-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wqp-quantity:focus,
#wqp-return-quantity:focus {
    outline: none;
    border-color: #c61e18;
    box-shadow: 0 4px 16px rgba(198, 30, 24, 0.15);
}

.wqp-unit-label {
    position: absolute;
    right: 24px;
    font-size: 20px;
    font-weight: 600;
    color: #c61e18;
    font-family: 'HNC', Arial, sans-serif;
    pointer-events: none;
}

.wqp-quantity-available {
    margin-top: 12px;
    text-align: center;
    background-color: transparent;
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid #c61e18;
}

.wqp-quantity-available strong {
    color: #c61e18;
    font-size: 15px;
    font-family: 'HNC', Arial, sans-serif;
    font-weight: 600;
}

/* Date display - modern white box with icon and larger touch targets */
.wqp-date-display {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: white;
    padding: 20px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    font-family: 'HNC', Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    min-height: 70px;
}

.wqp-date-display:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.wqp-date-display .wqp-input-icon {
    position: static;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #c61e18;
    stroke: #c61e18;
}

.wqp-date-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.wqp-date-value {
    font-size: 17px;
    font-weight: 500;
    min-width: 100px;
}

.wqp-date-arrow {
    color: #c61e18;
    display: flex;
    align-items: center;
    margin: 0 4px;
}

.wqp-date-arrow svg {
    stroke: #c61e18;
}

/* Project display - matching date display with icon */
.wqp-project-display {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: white;
    padding: 20px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    font-family: 'HNC', Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-height: 70px;
}

.wqp-project-display:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.wqp-project-display .wqp-input-icon {
    position: static;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #c61e18;
    stroke: #c61e18;
}

.wqp-project-value {
    flex: 1;
}

/* Input fields - modern white boxes with icons and larger touch targets */
#wqp-daterange,
#wqp-projekt,
#wqp-projekt-display,
#wqp-lagerplats-display {
    width: 100%;
    padding: 20px 24px 20px 60px;
    border-radius: 40px;
    border: 1px solid #f0f0f0;
    font-size: 15px;
    font-family: 'HNC', Arial, sans-serif;
    text-align: left;
    background-color: white;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 70px;
    text-transform: uppercase;
}

#wqp-daterange {
    font-size: 17px;
    text-transform: none;
}

#wqp-daterange:hover,
#wqp-projekt:hover,
#wqp-projekt-display:hover,
#wqp-lagerplats-display:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

#wqp-daterange:focus,
#wqp-projekt:focus,
#wqp-projekt-display:focus,
#wqp-lagerplats-display:focus {
    outline: none;
    border-color: #c61e18;
    box-shadow: 0 4px 16px rgba(198, 30, 24, 0.15);
}

#wqp-daterange::placeholder {
    color: #999;
    font-size: 15px;
}

/* Select2 dropdown styling - matching daterange input with icon space */
/* ONLY apply to booking view, not product table */
.wqp-booking-view .select2-container,
.wqp-app-container .select2-container {
    width: 100% !important;
}

/* Remove green gradient background from booking view select2 */
.wqp-booking-view .select2-container,
.page-id-1527 .wqp-booking-view .select2-container {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    font-weight: 500 !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single,
.wqp-app-container .select2-container--default .select2-selection--single {
    border-radius: 40px !important;
    border: 1px solid #f0f0f0 !important;
    padding: 20px 24px 20px 60px !important;
    height: auto !important;
    min-height: 70px !important;
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    outline: none !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single:focus,
.wqp-app-container .select2-container--default .select2-selection--single:focus {
    outline: none !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single:hover,
.wqp-app-container .select2-container--default .select2-selection--single:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    border-color: #e0e0e0 !important;
}

.wqp-booking-view .select2-container--default.select2-container--focus .select2-selection--single,
.wqp-booking-view .select2-container--default.select2-container--open .select2-selection--single,
.wqp-app-container .select2-container--default.select2-container--focus .select2-selection--single,
.wqp-app-container .select2-container--default.select2-container--open .select2-selection--single {
    border: 1px solid #c61e18 !important;
    box-shadow: 0 4px 16px rgba(198, 30, 24, 0.15) !important;
    outline: none !important;
}

/* Remove all extra borders and outlines from Select2 - ONLY in booking view */
.wqp-booking-view .select2-container--default .select2-selection--single *,
.wqp-booking-view .select2-container--default .select2-selection--single *:before,
.wqp-booking-view .select2-container--default .select2-selection--single *:after,
.wqp-app-container .select2-container--default .select2-selection--single *,
.wqp-app-container .select2-container--default .select2-selection--single *:before,
.wqp-app-container .select2-container--default .select2-selection--single *:after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single .select2-selection__rendered,
.wqp-app-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 1.4 !important;
    font-family: 'HNC', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000 !important;
    text-transform: uppercase !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single .select2-selection__arrow,
.wqp-app-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 24px !important;
    top: 0 !important;
}

.wqp-booking-view .select2-container--default .select2-selection--single .select2-selection__arrow b,
.wqp-app-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #666 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.wqp-booking-view .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.wqp-app-container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #666 transparent !important;
    border-width: 0 5px 6px 5px !important;
}

/* Select2 dropdown menu - ONLY in booking view */
.wqp-booking-view .select2-container--default .select2-results__option,
.wqp-app-container .select2-container--default .select2-results__option {
    padding: 12px 20px !important;
    font-family: 'HNC', Arial, sans-serif !important;
    font-size: 15px !important;
}

.wqp-booking-view .select2-container--default .select2-results__option--highlighted[aria-selected],
.wqp-app-container .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #c61e18 !important;
}

.wqp-booking-view .select2-dropdown,
.wqp-app-container .select2-dropdown {
    border-radius: 40px !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    margin-top: 4px !important;
}

.wqp-booking-view .select2-search--dropdown .select2-search__field,
.wqp-app-container .select2-search--dropdown .select2-search__field {
    border-radius: 40px !important;
    border: 1px solid #f0f0f0 !important;
    padding: 10px 16px !important;
    font-family: 'HNC', Arial, sans-serif !important;
}

.wqp-booking-view .select2-search--dropdown .select2-search__field:focus,
.wqp-app-container .select2-search--dropdown .select2-search__field:focus {
    border-color: #c61e18 !important;
    outline: none !important;
}

/* Custom Modern Datepicker Modal */
.wqp-datepicker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wqp-datepicker-modal.active {
    display: block;
    opacity: 1;
}

.wqp-datepicker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.wqp-datepicker-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 30px 30px 0 0;
    max-height: 85vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.wqp-datepicker-modal.active .wqp-datepicker-container {
    transform: translateY(0);
}

/* Mobile optimization - position from top to stay above keyboard */
@media (max-width: 768px) {
    .wqp-datepicker-container {
        top: 0;
        bottom: auto;
        max-height: 95vh;
        min-height: 500px;
        border-radius: 0 0 30px 30px;
        transform: translateY(-100%);
    }

    .wqp-datepicker-modal.active .wqp-datepicker-container {
        transform: translateY(0);
    }

    .wqp-datepicker-header {
        padding: 16px 20px 12px;
    }

    .wqp-datepicker-header h3 {
        font-size: 1.2rem;
    }

    .wqp-datepicker-footer {
        padding: 12px 20px 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .wqp-datepicker-container {
        max-height: 93vh;
        min-height: 480px;
    }
}

.wqp-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.wqp-datepicker-header h3 {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.wqp-datepicker-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wqp-datepicker-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.wqp-datepicker-body {
    padding: 10px;
    max-height: calc(85vh - 180px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
}

/* Mobile - ensure body is scrollable */
@media (max-width: 768px) {
    .wqp-datepicker-body {
        max-height: calc(95vh - 160px);
        overflow-y: auto;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .wqp-datepicker-body {
        max-height: calc(93vh - 150px);
        padding: 8px;
    }
}

.wqp-datepicker-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #f0f0f0;
}

.wqp-datepicker-cancel,
.wqp-datepicker-apply {
    flex: 1;
    padding: 16px 24px;
    border-radius: 40px;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.wqp-datepicker-cancel {
    background-color: #f0f0f0;
    color: #000;
}

.wqp-datepicker-cancel:hover {
    background-color: #e0e0e0;
}

.wqp-datepicker-apply {
    background-color: #c61e18;
    color: white;
}

.wqp-datepicker-apply:hover {
    background-color: #a51814;
}

/* Daterangepicker styling - hidden by default, shown in modal */
.daterangepicker {
    border: none !important;
    box-shadow: none !important;
    font-family: 'HNC', Arial, sans-serif !important;
    background: transparent !important;
    padding: 0 !important;
}

.daterangepicker .calendar-table {
    background-color: white;
    border-radius: 20px;
    padding: 8px;
    border-spacing: 6px !important;
    border-collapse: separate !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: linear-gradient(135deg, #c61e18 0%, #a51814 100%) !important;
    border-color: transparent !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3) !important;
    transform: scale(1.05) !important;
}

.daterangepicker td.in-range {
    background-color: rgba(198, 30, 24, 0.06) !important;
    color: #c61e18 !important;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background: linear-gradient(135deg, #c61e18 0%, #a51814 100%) !important;
    border-color: transparent !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3) !important;
    transform: scale(1.05) !important;
}

.daterangepicker td {
    border-radius: 12px !important;
    font-size: 16px !important;
    padding: 0 !important;
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 48px !important;
    font-weight: 500 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    border: 2px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
}

.daterangepicker th {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #999 !important;
    padding: 8px 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.daterangepicker .calendar-table thead tr:first-child th {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000 !important;
    padding: 12px 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.daterangepicker td.available:hover {
    background-color: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #ccc !important;
}

.daterangepicker .ranges {
    display: none !important;
}

.daterangepicker .drp-buttons {
    display: none !important;
}

.daterangepicker .drp-calendar {
    max-width: 100% !important;
}

.daterangepicker .calendar-table {
    border: none !important;
}

/* Make daterangepicker fill the modal container */
#wqp-datepicker-calendar .daterangepicker {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

#wqp-datepicker-calendar .drp-calendar.left,
#wqp-datepicker-calendar .drp-calendar.right {
    padding: 0 !important;
}

.daterangepicker .drp-calendar {
    padding: 0 !important;
}

#wqp-datepicker-calendar .calendar-table {
    width: 100% !important;
}

/* Custom Calendar */
.wqp-custom-calendar {
    background: white;
    border-radius: 20px;
    padding: 15px;
    max-width: 100%;
    overflow: hidden;
}

.wqp-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wqp-calendar-month-year {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

.wqp-calendar-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wqp-calendar-nav:hover {
    background: #f5f5f5;
}

.wqp-calendar-nav svg {
    stroke: #c61e18;
}

.wqp-calendar-weekdays {
    display: grid;
    grid-template-columns: 30px repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
    padding-left: 0;
}

.wqp-calendar-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wqp-calendar-grid {
    display: grid;
    grid-template-columns: 30px repeat(7, 1fr);
    gap: 4px;
    max-width: 100%;
}

.wqp-calendar-days {
    display: contents;
}

.wqp-calendar-week-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: #999;
    padding: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 30px;
    flex-shrink: 0;
}

.wqp-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    min-height: 40px;
    background-color: rgba(0, 167, 124, 0.08);
}

.wqp-calendar-day:not(.wqp-calendar-day-other):not(.wqp-calendar-day-disabled):not(.wqp-calendar-day-booked):hover {
    background-color: rgba(0, 167, 124, 0.15);
    border-color: #00a77c;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 167, 124, 0.2);
}

.wqp-calendar-day-other {
    opacity: 0;
    pointer-events: none;
}

.wqp-calendar-day-disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.wqp-calendar-day-booked {
    background-color: rgba(255, 182, 193, 0.3);
    color: #999;
    cursor: not-allowed;
    position: relative;
}

.wqp-calendar-day-start,
.wqp-calendar-day-end {
    background: linear-gradient(135deg, #c61e18 0%, #a51814 100%);
    border-color: transparent;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3);
    transform: scale(1.05);
}

.wqp-calendar-day-range {
    background-color: rgba(198, 30, 24, 0.06);
    color: #c61e18;
}

/* Project search styling */
.wqp-project-search-wrapper {
    position: relative;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* Mobile - ensure search field stays visible */
@media (max-width: 768px) {
    .wqp-project-search-wrapper {
        margin-bottom: 12px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        padding-bottom: 8px;
    }
}

.wqp-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    stroke: #666;
    pointer-events: none;
    z-index: 1;
}

.wqp-project-search {
    width: 100%;
    padding: 14px 16px 14px 56px !important;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    font-family: 'HNC', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #000;
    transition: all 0.2s ease;
}

.wqp-project-search:focus {
    outline: none;
    border-color: #c61e18;
    background-color: white;
    box-shadow: 0 2px 8px rgba(198, 30, 24, 0.1);
}

.wqp-project-search::placeholder {
    color: #999;
}

/* Project list styling */
.wqp-project-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(85vh - 280px);
    overflow-y: auto;
    padding: 4px;
}

.wqp-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: #f5f5f5;
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wqp-project-item:hover {
    background-color: #f0f0f0;
    border-color: #c61e18;
    transform: translateX(4px);
}

.wqp-project-item.selected {
    background-color: rgba(198, 30, 24, 0.08);
    border-color: #c61e18;
}

.wqp-project-name {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-transform: none;
}

.wqp-project-check {
    opacity: 0;
    color: #c61e18;
    stroke: #c61e18;
    transition: opacity 0.2s ease;
}

.wqp-project-item.selected .wqp-project-check {
    opacity: 1;
}

/* Lagerplats picker item styling - same as project */
.wqp-lagerplats-picker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: #f5f5f5;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.wqp-lagerplats-picker-item:hover {
    background-color: #f0f0f0;
    border-color: #c61e18;
    transform: translateX(4px);
}

.wqp-lagerplats-picker-item.selected {
    background-color: rgba(198, 30, 24, 0.08);
    border-color: #c61e18;
}

.wqp-lagerplats-picker-item.selected .wqp-project-check {
    opacity: 1;
}

/* Lagerplats item styling - same as project (for return view) */
.wqp-lagerplats-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.wqp-lagerplats-item:hover {
    border-color: #c61e18;
    background-color: rgba(198, 30, 24, 0.02);
    transform: translateX(4px);
}

.wqp-lagerplats-item.selected {
    background-color: rgba(198, 30, 24, 0.08);
    border-color: #c61e18;
}

.wqp-lagerplats-item.selected .wqp-project-check {
    opacity: 1;
}

/* Scrollbar styling for project list */
.wqp-project-list::-webkit-scrollbar {
    width: 8px;
}

.wqp-project-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.wqp-project-list::-webkit-scrollbar-thumb {
    background: #c61e18;
    border-radius: 10px;
}

.wqp-project-list::-webkit-scrollbar-thumb:hover {
    background: #a51814;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .daterangepicker th {
        font-size: 12px !important;
        padding: 6px !important;
    }

    .wqp-datepicker-header h3 {
        font-size: 1.3rem;
    }

    .wqp-project-list {
        max-height: calc(95vh - 180px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wqp-project-item {
        padding: 14px 16px;
    }

    .wqp-lagerplats-item {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .wqp-project-list {
        max-height: calc(93vh - 170px);
    }

    .wqp-project-item {
        padding: 12px 14px;
    }

    .wqp-lagerplats-item {
        padding: 9px 12px;
    }
}

/* Action Button (Green) - "LÄGG TILL PRODUKT I BOKNING" */
.wqp-action-btn-green {
    font-family: 'HNC', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background-color: #00a77cf7;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 167, 124, 0.3);
    min-height: 70px;
}

.wqp-action-btn-green:hover {
    background-color: #008f6c;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 167, 124, 0.4);
}

.wqp-action-btn-green .wqp-btn-icon {
    font-size: 28px;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-left: 12px;
    padding-bottom: 2px;
}

/* Action Button (White) - "ÅTERLÄMNA PRODUKT" */
.wqp-action-btn-white {
    font-family: 'HNC', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background-color: transparent;
    color: #000;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    min-height: 70px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.wqp-action-btn-white:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: #c0c0c0;
    transform: translateY(-2px);
}

.wqp-action-btn-white .wqp-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-left: 12px;
}

.wqp-action-btn-white .wqp-btn-icon svg {
    stroke: #c61e18;
}

/* Action Button (Red) - "SLUTFÖR BOKNING" */
.wqp-action-btn-red {
    font-family: 'HNC', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background-color: #c61e18;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(198, 30, 24, 0.3);
    min-height: 70px;
}

.wqp-action-btn-red:hover {
    background-color: #a01814;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(198, 30, 24, 0.4);
}

.wqp-action-btn-red .wqp-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-left: 12px;
}

.wqp-action-btn-red .wqp-btn-icon svg {
    stroke: #c61e18;
}

/* Return view buttons - smaller font size, centered text, no icon */
.wqp-return-btn {
    font-size: 13px !important;
    min-height: 60px !important;
    padding: 10px 16px !important;
    justify-content: center !important;
}

/* Status change box - modern UI for return view */
.wqp-status-change-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.wqp-status-change-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
}

.wqp-status-change-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

/* Status badge - FROM (Upptagen - Red) */
.wqp-status-badge-from {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #c61e18;
    color: white;
    border-radius: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(198, 30, 24, 0.2);
}

/* Status badge - TO (Ledig - Green) */
.wqp-status-badge-to {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #00a77c;
    color: white;
    border-radius: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 167, 124, 0.2);
}

/* Arrow between status badges */
.wqp-status-arrow {
    stroke: #666;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Booking summary section */
#wqp-booking-summary {
    margin-top: 40px;
}

#wqp-booking-summary h2 {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#wqp-booking-count {
    color: #c61e18;
    font-weight: 700;
}

.booking-item {
    background-color: white;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: 'HNC', Arial, sans-serif;
}

.booking-item strong {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.booking-item small {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.remove-cart-item {
    background-color: #c61e18;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(198, 30, 24, 0.3);
    flex-shrink: 0;
}

.remove-cart-item:hover {
    background-color: #a01814;
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(198, 30, 24, 0.4);
}

/* Lagerplats View - Centered Layout */
.wqp-lagerplats-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: calc(100vh - 80px);
    padding: 120px 25px 40px 25px;
    max-width: 500px;
    margin: 0 auto;
}

.wqp-lagerplats-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 400;
    color: #000;
    margin: 0 0 10px 0;
    text-align: left;
    text-transform: none;
}

.wqp-lagerplats-subtitle {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #c61e18;
    margin: 0 0 20px 0;
    text-align: left;
}

.wqp-lagerplats-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 20px 0;
}

/* Booked product message */
.wqp-lagerplats-booked-message {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe9e9 100%);
    border: 2px solid #ffcccc;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    margin-bottom: 20px;
}

.wqp-lagerplats-booked-icon {
    margin-bottom: 15px;
}

.wqp-lagerplats-booked-icon svg {
    display: inline-block;
}

.wqp-lagerplats-booked-title {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c61e18;
    margin: 0 0 15px 0;
}

.wqp-lagerplats-booked-text {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.wqp-lagerplats-current-project {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.wqp-lagerplats-badge-project {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: #c61e18;
    color: white;
    border-radius: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(198, 30, 24, 0.3);
}

/* Lagerplats change box - similar to return view */
.wqp-lagerplats-change-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.wqp-lagerplats-change-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
}

.wqp-lagerplats-change-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

/* Lagerplats badge - FROM (Current location or project) */
.wqp-lagerplats-badge-from {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #666;
    color: white;
    border-radius: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(102, 102, 102, 0.2);
    text-transform: uppercase;
}

/* Lagerplats badge - TO (New location) */
.wqp-lagerplats-badge-to {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #00a77c;
    color: white;
    border-radius: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 167, 124, 0.2);
}

/* Arrow between badges */
.wqp-lagerplats-arrow {
    stroke: #666;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.wqp-lagerplats-label {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
    display: block;
    text-align: left;
}

.wqp-lagerplats-select-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.wqp-lagerplats-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    stroke: #666;
    pointer-events: none;
    z-index: 2;
}

.wqp-lagerplats-dropdown {
    width: 100%;
    padding: 18px 50px 18px 60px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wqp-lagerplats-dropdown:focus {
    outline: none;
    border-color: #c61e18;
    box-shadow: 0 0 0 3px rgba(198, 30, 24, 0.1);
}

.wqp-lagerplats-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    stroke: #c61e18;
    pointer-events: none;
    z-index: 2;
}

.wqp-lagerplats-update-btn {
    width: 100%;
    padding: 18px 25px;
    background-color: #c61e18;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3);
}

.wqp-lagerplats-update-btn:hover {
    background-color: #a01814;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 30, 24, 0.4);
}

.wqp-lagerplats-update-btn .wqp-btn-icon-circle {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wqp-lagerplats-update-btn .wqp-btn-icon-circle svg {
    stroke: #c61e18;
}

/* Order Confirmation Modal */
.wqp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wqp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.wqp-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.wqp-modal-title {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    margin: 0 0 20px 0;
    text-align: center;
}

.wqp-order-items {
    margin-bottom: 20px;
}

.wqp-order-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.wqp-order-item-name {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.wqp-order-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wqp-order-item-date,
.wqp-order-item-project {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 13px;
    color: #666;
}

.wqp-order-item-project {
    color: #c61e18;
    font-weight: 600;
}

.wqp-order-total {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
}

.wqp-modal-buttons {
    display: flex;
    gap: 10px;
}

.wqp-modal-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wqp-modal-btn-cancel {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.wqp-modal-btn-cancel:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.wqp-modal-btn-confirm {
    background: #c61e18;
    color: white;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3);
}

.wqp-modal-btn-confirm:hover {
    background: #a01814;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 30, 24, 0.4);
}

.wqp-modal-btn-confirm:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

/* Custom Notifications */
.wqp-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'HNC', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    min-width: 300px;
    max-width: 90%;
}

.wqp-notification-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wqp-notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.wqp-notification-text {
    flex: 1;
}

/* Success notification */
.wqp-notification-success {
    border-left: 4px solid #00a77c;
}

.wqp-notification-success .wqp-notification-icon {
    background-color: #00a77c;
    color: white;
}

.wqp-notification-success .wqp-notification-text {
    color: #00a77c;
}

/* Error notification */
.wqp-notification-error {
    border-left: 4px solid #c61e18;
}

.wqp-notification-error .wqp-notification-icon {
    background-color: #c61e18;
    color: white;
}

.wqp-notification-error .wqp-notification-text {
    color: #c61e18;
}

/* Warning notification */
.wqp-notification-warning {
    border-left: 4px solid #dc781a;
}

.wqp-notification-warning .wqp-notification-icon {
    background-color: #dc781a;
    color: white;
}

.wqp-notification-warning .wqp-notification-text {
    color: #dc781a;
}

/* Thank You Page */
.wqp-thank-you-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wqp-thank-you-content {
    text-align: center;
    max-width: 500px;
    width: 90%;
    padding: 40px 20px;
}

.wqp-thank-you-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out 0.2s both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wqp-thank-you-icon svg {
    filter: drop-shadow(0 4px 12px rgba(0, 167, 124, 0.3));
}

.wqp-thank-you-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    margin: 0 0 10px 0;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.wqp-thank-you-subtitle {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 40px 0;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.wqp-thank-you-details {
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.wqp-thank-you-order-info {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wqp-thank-you-order-number,
.wqp-thank-you-booking-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wqp-thank-you-order-number:last-child,
.wqp-thank-you-booking-count:last-child {
    border-bottom: none;
}

.wqp-thank-you-label {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 15px;
    color: #666;
    font-weight: 400;
}

.wqp-thank-you-value {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 17px;
    color: #000;
    font-weight: 700;
}

.wqp-thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.wqp-thank-you-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    border-radius: 50px;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 70px;
    width: 100%;
    border: none;
    cursor: pointer;
}

.wqp-thank-you-btn span {
    flex: 1;
    text-align: left;
}

.wqp-thank-you-btn svg {
    flex-shrink: 0;
    margin-left: 10px;
}

.wqp-thank-you-btn-primary {
    background: #c61e18;
    color: white;
    box-shadow: 0 4px 12px rgba(198, 30, 24, 0.3);
}

.wqp-thank-you-btn-primary:hover {
    background: #a01814;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 30, 24, 0.4);
}

.wqp-thank-you-btn-secondary {
    background: white;
    color: #000;
    border: 2px solid #e0e0e0;
}

.wqp-thank-you-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .wqp-app-container.wqp-home-view {
        height: 100vh;
    }

    .wqp-home-view .wqp-hero-section {
        padding: 0px 20px 20px;
        flex: 1;
    }

    /* Only apply to home view */
    .wqp-home-view .page-id-1527 h2,
    .wqp-home-view .page-id-1527 h1,
    .wqp-home-view .wqp-hero-title {
        font-size: 5rem !important;
        line-height: 1 !important;
    }

    .wqp-home-view .wqp-hero-subtitle {
        font-size: 21px;
        font-weight: 400;
    }

    .wqp-booking-view .wqp-view-title {
        font-size: 1.5rem;
    }

    .wqp-action-buttons {
        padding: 0 20px 30px;
        gap: 12px;
        max-width: 100%;
    }

    .wqp-action-btn {
        padding: 14px 20px;
        font-size: 12px;
    }

    .wqp-btn-icon {
        font-size: 18px;
    }

    .wqp-badge {
        font-size: 11px;
        padding: 8px 18px;
    }
}


/* Update */

button#wqp-close-manage-bookings-btn{
    justify-content: center;
}


/* ============================================
   SEARCH LAGERPLATS VIEW STYLES
   ============================================ */

.wqp-search-lagerplats-view {
    min-height: 100vh;
    background-color: #fff;
    padding: 20px;
}

/* Search header with back button */
.wqp-search-header {
    position: relative;
    margin-bottom: 20px;
}

/* Search back button - positioned above title */
.wqp-search-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f0f0;
    border: none;
    color: #000000;
    font-family: 'HNC', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wqp-search-back-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #c61e18;
}

.wqp-search-back-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.wqp-search-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wqp-search-title {
    font-family: 'HNC', Arial, sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 400;
    color: #000;
    margin: 0 0 20px 0;
    text-align: left;
}

.wqp-search-divider {
    height: 1px;
    background-color: #ddd;
    margin: 0 0 30px 0;
}

/* Search Box */
.wqp-search-box-wrapper {
    margin-bottom: 20px;
}

.wqp-search-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters */
.wqp-filters-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.wqp-filter-group {
    flex: 1;
    min-width: 200px;
}

.wqp-filter-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wqp-filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.wqp-filter-select:focus {
    outline: none;
    border-color: #c61e18;
}

.wqp-filter-select:hover {
    border-color: #999;
}

/* Service action buttons hover effects */
.wqp-service-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Pulse animation for active service indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.wqp-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.wqp-search-input-wrapper:focus-within {
    border-color: #c61e18;
}

.wqp-search-icon {
    display: flex;
    align-items: center;
    color: #c61e18;
    margin-right: 10px;
    flex-shrink: 0;
}

.wqp-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background: transparent;
    padding-left: 30px !important;
}

.wqp-search-input::placeholder {
    color: #999;
}

.wqp-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    color: #999;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.wqp-clear-btn:hover {
    color: #c61e18;
}

/* Loading */
.wqp-search-loading {
    text-align: center;
    padding: 30px 20px;
}

.wqp-spinner {
    width: 35px;
    height: 35px;
    margin: 0 auto 12px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #c61e18;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wqp-search-loading p {
    color: #666;
    font-size: 0.85rem;
}

/* Results Table */
.wqp-results-table-wrapper {
    overflow-x: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wqp-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wqp-results-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.wqp-results-table thead th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wqp-results-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.wqp-results-table tbody tr:hover {
    background-color: #f8f9fa;
}

.wqp-results-table tbody tr:last-child {
    border-bottom: none;
}

.wqp-results-table tbody td {
    padding: 10px 15px;
    color: #333;
    vertical-align: middle;
}

.wqp-table-product-name {
    font-weight: 500;
    color: #000;
}

.wqp-table-serienummer {
    font-family: 'Courier New', monospace;
    color: #666;
    font-size: 0.85rem;
}

.wqp-table-lagerplats {
    display: inline-block;
    background: #ffe5e5;
    color: #c61e18;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.wqp-table-project {
    display: inline-block;
    background: #fff3e0;
    color: #ff6b00;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.2px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: none;
    line-height: 1.3;
    word-break: break-word;
}

.wqp-table-status {
    white-space: nowrap;
}

.wqp-table-status .wqp-status-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    opacity: 0.8;
}

.wqp-table-nummer {
    color: #666;
    text-align: center;
}

/* No Results / Error */
.wqp-no-results,
.wqp-error-message {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.wqp-no-results p,
.wqp-error-message p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.wqp-error-message p {
    color: #c61e18;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wqp-search-title {
        font-size: 2rem;
    }

    .wqp-search-content {
        padding: 20px 10px;
    }

    .wqp-results-table {
        font-size: 0.8rem;
    }

    .wqp-results-table thead th,
    .wqp-results-table tbody td {
        padding: 8px 10px;
    }

    .wqp-results-table thead th {
        font-size: 0.7rem;
    }

    /* Lagerplats badge on tablet */
    .wqp-table-lagerplats {
        font-size: 8px;
        padding: 3px 8px;
    }

    /* Project name on tablet */
    .wqp-table-project {
        font-size: 9px;
    }

    /* Make status more subtle on tablet */
    .wqp-table-status .wqp-status-badge {
        font-size: 0.65rem;
        padding: 4px 9px;
        opacity: 0.75;
    }
}

@media (max-width: 480px) {
    .wqp-search-title {
        font-size: 1.75rem;
    }

    .wqp-results-table {
        font-size: 0.75rem;
    }

    .wqp-results-table thead th,
    .wqp-results-table tbody td {
        padding: 6px 8px;
    }

    /* Hide Serienummer column on mobile - focus on lagerplats */
    .wqp-results-table thead th:nth-child(2),
    .wqp-results-table tbody td:nth-child(2) {
        display: none;
    }

    /* Lagerplats badge on mobile */
    .wqp-table-lagerplats {
        font-size: 8px !important;
        padding: 3px 8px !important;
    }

    /* Project name on mobile - smaller font for long names */
    .wqp-table-project {
        font-size: 8px !important;
        line-height: 1.2;
    }

    /* Make product name smaller and more subtle */
    .wqp-table-product-name {
        font-size: 0.75rem;
        color: #666;
        font-weight: 400;
    }

    /* Make status badges smaller and more subtle - SECONDARY */
    .wqp-table-status .wqp-status-badge {
        font-size: 0.6rem !important;
        padding: 3px 8px !important;
        opacity: 0.7 !important;
    }
}