#distance-table {
background-color: red;
}
  body {
    background-color: #f0f0f0;
    background-image: url('https://i.ibb.co/x8p0w9X/background-1.png');
    background-repeat: repeat;
    background-size: auto;
    font-family: 'Arial', sans-serif; /* Change the font family */
    font-size: 16px; /* Change the font size */
  }

/* Standardstil för datorer (bredare skärmar) */
.receipt-container {
margin-top: 20px;
}




.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 70%;
    /*max-width: 900px;*/
    max-width: 1400px;
    margin-left: 0px;
    margin-right: 0px;
    font-family: 'Verdana', sans-serif; /* Change the font family for container */
    font-size: 14px; /* Change the font size for container */
}

.side-cart {
    width: 350px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    height: fit-content;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 0px;


}
    

    .container-wrapper {
        display: flex;
        gap: 10px; /* Litet mellanrum mellan elementen */
        width: 1100px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
        justify-content: space-between; /* Jämnt utrymme mellan container och side-cart */
        border-radius: 10px;

        align-items: flex-start; /* Om du vill att de ska vara i toppen av wrappern, kan justeras till center om så behövs */
        background-color: rgba(255, 255, 255, 0.171);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }







.side-cart-header {
display: flex;
align-items: center;
gap: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
margin-bottom: 15px;
}


.button-group {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start; /* Align buttons to the left */
  position: relative; /* Add relative positioning */
}

.receipt-icon {
  cursor: pointer;
  font-size: 1.2em;
  color: #6c757d;
  margin-left: auto; /* Push the receipt icon to the far right */
}

.fa-receipt {
margin-left: auto;  /* This pushes only the receipt icon to the right */
}

.alert-custom-summary {
background-color: rgb(248, 249, 250);
padding: 10px;
margin: 10px 0;
border-radius: 10px;
cursor: pointer;
}
.alert-custom-summary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}






.receipt-icon:hover {
color: #28a745;
transform: scale(1.1);
transition: all 0.2s ease;

}




.receipt-top, .receipt-middle, .receipt-bottom {
width: 100%;
display: block;
}













#receipt-display {
position: fixed;
left: 50%;
top: -800px;
transform: translateX(-50%);
width: 300px;
font-size: 0;
display: flex;
flex-direction: column;
transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
opacity: 0;
visibility: hidden;  /* Start completely hidden */

}



.receipt-top {
background-image: url('top.png');
background-size: 100% 100%;
height: 50px;
display: block;
}

.receipt-middle {
background-image: url('middle.png');
background-size: 100% 100%;
min-height: 100px;
display: block;
font-size: 16px;
padding: 20px 30px;  /* Adds spacing: 20px top/bottom, 30px left/right */
}

.receipt-bottom {
background-image: url('down.png');
background-size: 100% 100%;
height: 50px;
display: block;
}




#receipt-display.show {
top: 30px;
opacity: 1;
    visibility: visible;  /* Show when needed */

}


.initial-hidden {
top: -800px !important;
opacity: 0;
}











#address-section {
max-height: 1000px;
overflow: hidden;
transition: all 0.5s ease-in-out;
opacity: 1;
transform: translateY(0);
padding: 0px 10px; /* Reduce padding */
margin: -25px 0 5px 0; /* Further adjust margins to reduce top space */
line-height: 1.2; /* Adjust line height for tighter spacing */
}

#address-section.minimized {
max-height: 10px;  /* Adjust based on your content */
opacity: 0.8;
}

.expand-button {
cursor: pointer;
transition: transform 0.3s ease;
margin-left: 5px;
color: #28a745;
}

.address-result {
cursor: pointer;
transition: all 0.3s ease-in-out;
transform: translateY(0);
padding: 5px;
}

.address-result:hover {
transform: translateY(-2px);
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.result-content {
  padding: 5px 10px; /* Reduce padding */
  margin: 5px 0; /* Adjust margins */
  line-height: 1.2; /* Adjust line height for tighter spacing */
}











.fa-receipt:hover {
color: #28a745;
transform: scale(1.1);
transition: all 0.2s ease;
}




.distance-hidden {
display: none !important;
}


/* Specifik stil för mobiler (smalare skärmar) */
@media (max-width: 768px) {
.container {
width: 100%;
max-width: 100%;
padding: 15px;
margin: 20px auto;
}
}


#felsokningDescription {
overflow: hidden;
}

#felsokningDescription::placeholder {
font-style: italic;
}

#Button2 {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000; /* Gör så att knappen är ovanpå andra element */
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
display: block; /* Gör att knappen är synlig när den inte är "hidden" */
}

.styled-table {
width: 80%;
border-collapse: collapse;
}

.styled-table th, .styled-table td {
padding: 10px;
text-align: right;

}

    #more-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease;
        margin-top: 20px;
        padding: 0 10px;
        border: 1px solid #ccc;
        background-color: #f9f9f9;
    }

    .container2 {
        max-width: 900px;
        margin: 30px auto;
        background: white;
        padding: 15px;
        border-radius: 10px;
    }

    #more-content.show {
        opacity: 1;
    }


.clickable-text {
cursor: pointer;
padding: 5px 10px;
display: inline-block;

}

.selected {
background-color: #28a745;
color: white;
border-color: #28a745;
}



.styled-table th {
background-color: #ffffff;
}

  .hidden {
    display: none !important;
  }

  .btn-group {
    margin-bottom: 20px;
  }

  .fa-cogs {
    font-size: 1.5em;
    cursor: pointer;
  }

  .fa-cogs:hover {
    color: #007bff;
  }

  /* Flexbox layout for buttons */
  .button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .reload-btn, .edit-btn {
    font-size: 0.8em;
    background-color: rgba(255, 255, 255, 0.623);
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
  }

  .reload-btn:hover, .edit-btn:hover {
    background-color: #0057b338;
    transition: background-color 0.3s ease; /* Smooth transition */
    cursor: pointer;
    transform: none; /* Remove the spin effect */
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px); /* Adjusted translateY value */
    }
    60% {
      transform: translateY(-5px); /* Adjusted translateY value */
    }
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  

  

  .footer-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }

  .footer-logo img {
    width: 50px;
    height: auto;
  }
  .button-container2 {
    display: flex;
    justify-content: center;  /* Horisontellt centrerad */
    align-items: center;     /* Vertikalt centrerad (om höjd anges) */
    height: 100vh;           /* Full höjd på skärmen, valfritt */
  }
  .alert-custom {
background-color: #d4edda; /* Ändra bakgrundsfärg */
color: #155724; /* Ändra textfärg */
border-color: #c3e6cb; /* Ändra kantfärg */
}

/* Stilar för själva modalen */
.modal {
        display: none; /* Döljer modalen som standard */
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0); /* Transparent svart bakgrund */
        background-color: rgba(0, 0, 0, 0.4); /* Lägger till transparens */
    }
        .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 15%;
        border-radius: 10px;
        height: 210px;     /* Fixed height */
        min-height: 200px; /* Minimum height */
         max-height: 80vh;  /* Maximum height relative to viewport */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .modal-content2 {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 15%;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        height: 400px;     /* Fixed height */
        min-height: 200px; /* Minimum height */
         max-height: 80vh;  /* Maximum height relative to viewport */
    }
    .modal-content3 {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 15%;
        font-size: 8x;

        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        height: 10px;     /* Fixed height */
        min-height: 200px; /* Minimum height */
         max-height: 80vh;  /* Maximum height relative to viewport */
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 10x;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Lägg till i CSS */
#snackbar {
visibility: hidden;
min-width: 250px;
margin-left: -125px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 5px;
padding: 16px;
position: fixed;
z-index: 1;
bottom: 30px;
left: 50%;
font-size: 17px;
}

#snackbar.show {
visibility: visible;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
from {opacity: 1;}
to {opacity: 0;}
}

.more {

border: none;
color: rgb(0, 0, 0);
border-radius: 10px;
padding: 5px 12px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px 2px;
cursor: pointer;
font-size: 10px;
}



.table_more {
width: 1em;
height: 1em;
margin-top: 0.25em;
vertical-align: top;
background-color: #fff;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
border: 1px solid rgba(0,0,0,.25);
border-radius: 5px;

appearance: none;
}

/* Om du vill ändra `alert-info` specifikt */
.alert-info {
background-color: #b8daff; /* Ändra bakgrundsfärg för alert-info */
color: #004085; /* Ändra textfärg */

}
.fa-plus, .fa-minus {
font-size: 8px;  /* Adjust this value as needed */
margin-left: 8px; /* Adds some space between text and icon */
}










































.quantity-display {
font-weight: normal;
font-size: 12px;
margin: 0 4px;
display: inline;
}

.quantity-btn {
background: none;
border: none;
font-size: inherit;
color: inherit;
padding: 0,1px;
cursor: pointer;
}

.quantity-btn:hover {
    background-color: #e9ecef;
}

.cart-container {
position: fixed;
top: 30px;
left: calc(67% + 20px); /* Aligns with container width plus spacing */
z-index: 1000;
}

@media (max-width: 768px) {
.cart-container {
    left: calc(100% - 60px); /* Adjusts for mobile view */
}
}

.cart-icon {
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -10px; /* Move above the side-cart-header */
  right: 10px; /* Align to the right */
  background: #28a745;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

.cart-item .d-flex {
  font-size: 14px; /* Ändra storleken på texten här */
}



/*//////////////////////////////////
styla "Ta bort"-knappen:
*/


/*/////////////////////////////////
Varukorgen
Lägg till CSS-regler för animationen: */
/*/////////////////////////////////
Varukorgen
Lägg till CSS-regler för animationen: */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  width: 100%; /* Se till att cart-items tar upp hela bredden */
  font-family: 'Tahoma', sans-serif; /* Change the font family for cart items */
  font-size: 12px; /* Change the font size for cart items */

}

.cart-item {
  background: rgb(248, 249, 250);
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column; /* Ändra till kolumnlayout */
  align-items: flex-start; /* Justera innehållet till vänster */
  font-size: 15px; /* Ändra storleken på texten här */
  width: 100%; /* Se till att cart-item tar upp hela bredden */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.cart-item:hover {
  transform: translateY(-5px); /* Flytta upp elementet lite vid hover */
}
.item-details {

  display: flex;
  justify-content: space-between;
  margin-bottom: 5px; /* Lägg till mellanrum mellan name och price */
  width: 100%; /* Se till att item-details tar upp hela bredden */
  line-height: 1; /* Justera radavståndet här */
}

.item-name {
  flex-grow: 1; /* Låt namnet ta upp så mycket utrymme som möjligt */
  text-align: left; /* Vänsterjustera texten */
  line-height: 1; /* Justera radavståndet här */
}

.item-price {
  margin-left: auto; /* Pushes the price to the far right */
  text-align: right; /* Ensures the text is right-aligned */
  white-space: nowrap; /* Prevents line breaks */}

.remove-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block; /* Gör knappen till ett blockelement */
  margin: 10px 0 0 auto; /* Flytta ikonen till höger och ge lite marginal ovanför */
}

.remove-btn i {
  color: #ccc; /* Ljusgrå ikonfärg */
  font-size: 1.2em; /* Justera storleken på ikonen här */
  transition: transform 0.2s, color 0.2s;
}

.remove-btn i:hover {
  transform: scale(1.2); /* Gör ikonen större vid hover */
  color: #000; /* Ändra färgen vid hover */
}

@keyframes add-to-cart {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(1);
  }
}

.cart-items.added {
  animation: add-to-cart 0.5s ease;
}
#cart-section {
  margin: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.checkout-button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#service-content {
  display: none;
}

.cart-total {
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px;
  text-align: right;
}

.service-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 15px;
  background: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.service-item:last-child {
  border-bottom: none;
}

.hidden {
  display: none;
}

img[id^="tv-service"]:hover,
img[id^="washing-service"]:hover,
img[id^="tools-service"]:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: transform 0.2s;
}

img[src="tv-data.avif"]:hover,
img[src="washing-machine.gif"]:hover {

  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.tillagg-text {
  display: none; /* Hide by default */
}

.total-price {
  padding: 8px;
  margin-left: auto; /* Pushes the total price to the far right */
  text-align: center; /* Center the text */
  white-space: nowrap; /* Prevents line breaks */
  float: right; /* Aligns the element to the right */
  font-family: 'Verdana', sans-serif; /* Change the font family for container */
  font-size: 14px; /* Change the font size */
}

/* ...existing code... */

.top-left-buttons {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 10px;
}

/* ...existing code... */

.hamburger-menu {
  position: relative; /* Ensure the menu is positioned correctly */
  display: flex;

}

.menu-icon {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu button, .menu a {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border: none;
  background: #ffffff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 5px;
  gap: 10px; /* Add gap between icon and text */
  line-height: 1.2; /* Reduce line height for tighter spacing */
  margin-bottom: 5px; /* Add margin between items */
}

.menu-icon span {
  height: 1px;
  width: 20px;
  background: #333;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu {
  display: none;
  flex-direction: column;
  position: absolute;
  background: #ffffff9d;

  top: 10px;
  left: 0;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px;
}

#menu-toggle:checked ~ .menu {
  display: flex;
}

#menu-toggle:checked + .menu-icon + .menu {
  display: flex;
}

.menu button:hover, .menu a:hover {
  background: #f0f0f0;
}

.menu hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

/* ...existing code... */

.hover-effect {
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;


  
}

.hover-effect:hover {
  transform: scale(1.1) translateY(-10px);
  animation: bounce 0.5s;
  border-radius: 50%;

  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px); /* Adjusted translateY value */
  }
  60% {
    transform: translateY(-5px); /* Adjusted translateY value */
  }
}

/* ...existing code... */

/*///////////////////////////////////////////////*/
/*     Left-side button and hidden div          */
/*/////////////////////////////////////////////*/
      /* Inline styles for the left-side button and the hidden div */
      .left-side-button {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background-color: #ffffff;
        color: rgb(0, 0, 0);
        padding: 10px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .left-side-button:hover {
        background-color: #28a745;
      }

      .hidden-div {
        position: fixed;
        left: -300px;
        top: 50%;
        transform: translateY(-50%);
        width: 500px;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
      }

      .hidden-div.show {
        left: 0;
        opacity: 1;
        visibility: visible;
      }

      .hidden-div h2 {
        text-align: left;
        margin-left: 8px; /* Adds some space between text and icon */

        font-size: 20px;
        color: #28a745;
        margin-bottom: 10px;
      }

      .hidden-div table {
        width: 100%;
        border-collapse: collapse;
      }

      .hidden-div table, .hidden-div th, .hidden-div td {
        border: none; /* Remove border between cells */
      }

      .hidden-div th, .hidden-div td {
        padding: 8px;
        text-align: left;
        position: relative;
        cursor: default; /* Ensure cursor does not change */
      }

      .tooltip {
        position: absolute;
        background-color: #7c7373;
        color: #fff;
        width: 300px;

        padding: 5px 10px;
        border-radius: 5px;
        white-space: pre-wrap; /* Allow line breaks */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
      }

      .hidden-div td:hover .tooltip {
        opacity: 1;
        visibility: visible;
      }
/*///////////////////////////////////////////////*/






/* ...existing code... */



/* ...existing code... */

.cart-icon-animation {
  animation: cart-icon-bounce 0.5s ease;
}

@keyframes cart-icon-bounce {
  0%, 100% {
    transform: scale(2);
  }
  50% {
    transform: scale(1.2);
  }
}

.btn.btn-success {
  background-color: #218838; /* Ändra bakgrundsfärg */
  border-color: #28a745; /* Ändra kantfärg */
  color: white; /* Ändra textfärg */
  padding: 5px 5px; /* Ändra padding */
  font-size: 15px; /* Ändra textstorlek */
  border-radius: 5px; /* Ändra hörnens rundning */
  transition: background-color 0.3s ease; /* Lägg till övergångseffekt */
}

.btn.btn-success:hover {
  background-color: #089727d8; /* Ändra bakgrundsfärg vid hover */
  border-color: #1e7e34; /* Ändra kantfärg vid hover */
}
/* Primary button component (mobile) */
.btn.btn-primary, .primary-button {
  background-color: var(--color-button-primary, var(--color-primary, #007bff)) !important;
  border-color: var(--color-button-primary-600, var(--color-primary-600, #0056b3)) !important;
  color: var(--color-button-text, var(--color-btn-text, #ffffff)) !important;
  padding: 5px 5px; /* Ändra padding */
  font-size: 15px; /* Ändra textstorlek */
  border-radius: 5px; /* Ändra hörnens rundning */
  transition: background-color 0.3s ease; /* Lägg till övergångseffekt */
}

.btn.btn-primary:hover, .primary-button:hover {
  background-color: var(--color-button-primary-600, var(--color-primary-600, #0056b3)) !important;
  border-color: var(--color-button-primary-600, var(--color-primary-600, #004085)) !important;
}

.btn.btn-secondary {
  background-color: #6c757d; /* Ändra bakgrundsfärg */
  border-color: #6c757d; /* Ändra kantfärg */
  color: white; /* Ändra textfärg */
  padding: 5px 5px; /* Ändra padding */
  font-size: 15px; /* Ändra textstorlek */
  border-radius: 5px; /* Ändra hörnens rundning */
  transition: background-color 0.3s ease; /* Lägg till övergångseffekt */
}

.btn.btn-secondary:hover {
  background-color: #5a6268; /* Ändra bakgrundsfärg vid hover */
  border-color: #545b62; /* Ändra kantfärg vid hover */
}

.form-control {
  background-color: #f8f9fa; /* Ändra bakgrundsfärg */
  border: 1px solid #ced4da; /* Ändra kantfärg */
  border-radius: 5px; /* Ändra hörnens rundning */
  padding: 5px; /* Ändra padding */
  font-size: 13px; /* Ändra textstorlek */
  color: #495057; /* Ändra textfärg */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Lägg till övergångseffekt */
}

.form-control:focus {
  border-color: #80bdff; /* Ändra kantfärg vid fokus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25); /* Lägg till skugga vid fokus */
}






.checkbox-disabled {
  opacity: 0.5;
  pointer-events: none;
}


option:disabled {
  color: #999 !important;
  background-color: #f5f5f5 !important;
}




/*//////////
/////////*/

      .car-animation {
        position: absolute;
        animation: driveAway 2s forwards;
      }

      @keyframes driveAway {
        0% {
          left: 10px;
          top: 50%;
          transform: translateY(-50%);
        }
        100% {
          left: 120%;
          top: 50%;
          transform: translateY(-50%);
        }
      }

      .package {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: auto;
        display: none;
      }

/* ...existing code... */
@keyframes moveRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100px); /* Adjust the value as needed */
  }
}

.move-right {
  transition: transform 1s ease;
}

/* ...existing code... */

.rockets-container {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.rocket {
  width: 20px;
  height: 50px;
  background: url('rocket.png') no-repeat center center;
  background-size: contain;
  animation: rocket-launch 1s ease-out forwards;
}

@keyframes rocket-launch {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-300px);
    opacity: 0;
  }
}

/* ...existing code... */

/* ...existing code... */
.tilted-flag {
  transform: translateX(-50%) rotate(20deg); /* Tilt the flag 10 degrees to the right */
}
/* ...existing code... */

.modal-condo {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 15%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 250px;     /* Adjusted height */
  min-height: 200px; /* Minimum height */
  max-height: 80vh;  /* Maximum height relative to viewport */
}
.form-check-inline {
  display: inline-block;
  margin-right: 10px;
}
.input-icon {
  position: relative;
}
.input-icon img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: auto;
}
.input-icon input,
.input-icon textarea {
  padding-left: 40px; /* Adjust padding to make space for the icon */
}
.back-arrow {
  float: left;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 10px;
}
.back-arrow:hover {
  color: #666;
}

/* ...existing code... */

.service-name {
  position: relative;
  cursor: pointer;
}

.service-name .tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 5px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  bottom: 100%; /* Position above the service name */
  left: 50%;
  transform: translateX(-50%);
}

.service-name:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.service-name:hover .info-icon {
  transform: scale(1.05); /* Slightly enlarge the icon on hover */
  transition: transform 0.3s ease; /* Add transition for smooth animation */
}

.info-icon {
  margin-right: 0px;
  color: #007bff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-icon:hover {
  color: #0056b3;
  animation: iconBounce 0.5s infinite;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ...existing code... */
.tooltip .tooltip-inner {
  max-width: none;
  white-space: nowrap;
}

/* ...existing code... */

@keyframes text-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.bounce-on-hover:hover {
  animation: text-bounce 0.5s ease;
}

/* ...existing code... */

.back-icon {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  border: none;
  background: #ffffff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 5px;
  gap: 10px; /* Add gap between icon and text */
  line-height: 1.2; /* Reduce line height for tighter spacing */
  margin-bottom: 5px; /* Add margin between items */
  transition: transform 0.3s ease, background-color 0.3s ease; /* Add transition for smooth animation */
}

.back-icon:hover {
  background: #f0f0f0;
  transform: scale(1.05); /* Slightly enlarge the icon on hover */
}

/* ...existing code... */

.back-icon {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border: none;
  background: #ffffff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 5px;
  gap: 10px; /* Add gap between icon and text */
  line-height: 1.2; /* Reduce line height for tighter spacing */
  margin-bottom: 5px; /* Add margin between items */
  transition: transform 0.3s ease, background-color 0.3s ease; /* Add transition for smooth animation */
}

.service-name:hover {
  color: #007bff; /* Change text color on hover */
  transition: color 0.5s ease; /* Add transition for smooth animation */
}

/* ...existing code... */

/* Mobile-specific adjustments (e.g., narrower widths, responsive tweaks) */
@media (max-width: 768px) {
  /* ...your mobile-specific overrides... */
}

/* ...existing code... */

/* Service Selection Styles */
.mobile-container {
    padding: 15px;
    max-width: 100%;
}

.service-type-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.service-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-list {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 60px; /* Add margin to account for cart at bottom */
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.service-item:last-child {
    border-bottom: none;
}

.mobile-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3); /* Starkare skugga */
    z-index: 99;
    transform: translateY(calc(100% - 60px)); /* Show only cart header by default */
    transition: transform 0.3s ease;
    touch-action: pan-y;
}

.mobile-cart.expanded {
    transform: translateY(0);
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.cart-header::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.cart-items {
    max-height: 60vh;
    overflow-y: auto;
    padding: 15px;
}

#add-to-cart {
    position: static; /* Change from fixed to static */
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #28a745;
    color: white;
}

#add-to-cart:active {
    transform: scale(0.98);
}

/* Add new overlay styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92); /* Ändrat från 0.8 till 0.92 för mörkare effekt */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98; /* Just below the cart */
    backdrop-filter: blur(5px); /* Ökat blur-effekten */
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

#address-section {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-top: 20px;
}

#address-section.distance-hidden {
    display: none;
}

#distance_button {
    width: 100%;
    margin-top: 15px;
}

.package {
    display: none;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: auto;
}

/* ...existing code... */

.mobile-cart {
    /* ...existing styles... */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4); /* Starkare skugga */
    background: rgba(255, 255, 255, 0.95); /* Lite genomskinlig bakgrund */
}

.cart-header::after {
    /* ...existing styles... */
    background: #bbb; /* Mörkare indikator */
}

/* ...existing code... */
