
:root {
/* Font Families */
/* 
font-family: "Montserrat", sans-serif; 
font-family: "Lato", sans-serif;
font-family: "Poppins", sans-serif;
font-family: "Anton SC", sans-serif;
font-family: "Manrope", serif;
font-family: "Roboto", sans-serif;
font-family: "Gochi Hand", serif;
*/

--font-family-headers: "Manrope", serif; 
--font-family-body: "Roboto", sans-serif;
--font-family-menu: "Montserrat", sans-serif; 
--font-family-hand: "Gochi Hand", serif;
--font-size-base: 16px;

/* Color Variables */
--color-background: #FFFFFF; /* Primary background - White */
--color-menu-background: #fff; /* Menu/Sidebar background - Light Gray */
--color-background-overlay: 136, 197, 192; /* Menu/Sidebar background - Light Gray */
--color-menu-border: rgb(255 255 255 / 80%); /* Menu/Sidebar background - Light Gray */
--color-text-menu: #fff; /* menu text - white */
--color-text: #333333; /* Primary text - Dark Gray */
--color-text-secondary: #666666; /* Secondary text - Medium Gray */
--color-accent: #A1C6EA; /* Accent color - Cool Light Blue */
--color-highlight: #4CB5AE; /* Secondary accent - Soft Teal */
--color-muted: #B0B0B0; /* Muted elements - Light Gray */
--color-divider: #C0C0C0; /* Divider/lines - Muted Silver */
--color-special: #B76E79; /* Special highlights - Rose Gold */
--color-border-box: #EFEFEF; /* Border color - Light Gray */
--gradient-background: linear-gradient(331deg, #e5e5e5, #fbf9f9); /* define gradient variable */
--body-background:#cfe9f290; /*body background for home and edit page*/

/* brand colors */
--color-brand-orange: #FF4500;
--color-brand-green: #44563f;
--color-brand-blue: #3B607D;
--color-brand-cyan: #1CA9C9;
--color-brand-purple: #9162C5;
--color-brand-gold: #C19A6B;
--color-brand-pink: #E68CA5;

/* brand colors matte */
--color-brand-orange-matte: #F5BA95;
--color-brand-green-matte: #88C5C0;
--color-brand-blue-matte: #92B4DA;
--color-brand-cyan-matte: #AEDEDF;
--color-brand-purple-matte: #E4E0F0;
--color-brand-gold-matte: #DEC3B0;
--color-brand-pink-matte: #F1ABBA;

/* Search bar */
--border-radius-small: .7rem;
--dur: .3s;
--btn-width: 6rem;
--bez: cubic-bezier(0, 0, 0.43, 1.49);
--height: 40px;
--border-radius-button:40px;

/* Font Sizes */
--font-size-large: 1.2em;
--font-size-medium: 1em;
--font-size-small: 0.9em;

/* Spacing */
--padding-base: 10px 20px;
--padding-small: 5px;
--footer-gap: 20px;
--max-width: 1080px;
--div-padding: 20px;
--border-radius-small: 5px;
--border-radius-medium: 10px;
--border-radius-large: 15px;

/*text shadow*/
--text-shadow-dark: 0 0 4px #00000094;


/* Box-shadow */
--box-shadow-light: 0 0px 6px rgba(0, 0, 0, 0.1);
--box-shadow-dark: 0 0px 8px rgba(0, 0, 0, 0.2);
--box-shadow-button: 0 0px 6px rgba(0, 0, 0, 0.1);
--box-shadow-button-hover: 0 2px 12px rgba(0, 0, 0, 0.2);

/* Transition */
--transition-speed: 0.3s;
}



/* General Styles */
body {
margin: 0;
padding: 0;
font-family: var(--font-family-body);
font-size: var(--font-size-base);
position:relative;
background: rgb(255,255,255);
min-height: 100vh;
}
/*app pages body background */
.page-home, .page-edit {
  background: var(--body-background);
}


*:focus {
outline:0.01em solid #3B607D;
}

/*micro-footer-logged-in */
.micro-footer {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  place-items: center;
  color: var(--color-text);
  position: absolute;
  bottom:0px;
  width: 100%;
  padding-top:10px;
  padding-bottom:10px;
}

.micro-footer a{
  color: black;
  display: grid;
  place-items: center;
}
/* videos on first page */
.video-desktop {
  display: flex;
  justify-content: center;
} 
.video-desktop iframe {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  border-radius: 20px;
}
.video-mobile {
  display: none;
}
.boxtag-puff-wrapper .text-box-wrapper {
  padding:20px;
  display: grid;
      place-content: center;
}
@media (max-width: 860px) {
  .video-desktop {
    display: none;
  } 
  .video-mobile {
    display: block;
  }
  .boxtag-puff-wrapper .text-box-wrapper {
    padding:0px;
  }
}

.big-kahuna-header {
  display: block;
  font-family: var(--font-family-headers);
  font-weight: bolder;
  color: var(--color-text);
  font-size: clamp(24px, 5vw + 1rem, 60px);
  line-height: 110%;
}


.font-small {
  font-size: var(--font-size-small);
}

.footer-bar {
  background:#3b607d;
  width:100%;
}
.footer-padding-wrapper {
  padding:0px 20px;
}
.footer-bar a {
  color:white;
  text-decoration:none;
  min-width: max-content;
  display: inline-block;
  white-space: nowrap;
}
.footer-bar a:hover {
  text-decoration:underline;
}
.footer-bar .footer-wrapper {
  width:100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display:grid;
  grid-template-rows: auto auto auto auto;
  align-content:center;
}
.footer-bar .footer-wrapper .bar-item {
  border-bottom: 0.01em solid var(--color-brand-blue-matte);
}

/* footer logo follow row */
.footer-bar .footer-wrapper .bar-item.logo {
  display:grid; 
  grid-template-columns: auto auto;
  align-items:center;
  padding:20px 0px;
}

.footer-bar .footer-wrapper .bar-item.logo img {
  width:150px;
  height:auto;
}
.footer-bar .footer-wrapper .bar-item.logo .footer-link-item {
  display:grid;
  place-self:center;
}
.footer-bar .footer-wrapper .bar-item.logo .footer-link-item img {
  width:30px;
  height:auto;
}
.footer-bar .footer-wrapper .bar-item.logo .social-wrapper {
  display:grid;
  grid-template-rows: auto auto;
  place-self:end;
  gap:10px;
  color:white;
}
.footer-bar .footer-wrapper .bar-item.logo .social-wrapper .social-icons {
  display:grid;
  grid-template-columns: max-content max-content max-content max-content ;
  gap:10px;
  place-items:center;
}

/* footer footer menu row */
.footer-bar .footer-wrapper .bar-item.footer-menu {
  display:grid;
  grid-template-columns: max-content max-content auto;
  gap:40px;
  color:white;
  padding:20px 0px;
}
.footer-bar .footer-wrapper .bar-item.footer-menu .menu-row a {
  margin-top:5px;
}
.footer-bar .footer-wrapper .bar-item.footer-menu .menu-row {
  display:grid;
  grid-template-rows:min-content min-content;
}

/* footer footer info row */
.footer-bar .footer-wrapper .bar-item.pay {
  display:grid;
  grid-template-columns: auto auto;
  padding:20px 0px;
  color:white;
} 
.footer-bar .footer-wrapper .bar-item.pay .pay-row-left, .footer-bar .footer-wrapper .bar-item.pay .pay-row-right {
  display:grid;
  grid-template-rows: auto auto;
  gap:10px;
}
.footer-bar .footer-wrapper .bar-item.pay .pay-row-left img, .footer-bar .footer-wrapper .bar-item.pay .pay-row-right img {
  height: 30px;
  width:auto;
}
.footer-bar .footer-wrapper .bar-item.pay .pay-row-right .payment-options {
  display:grid;
  grid-template-columns: max-content max-content max-content max-content max-content max-content;
  gap:10px;
}

/* footer footer info row */
.footer-bar .footer-wrapper .bar-item.info {
  display:grid;
  grid-template-columns: auto auto auto;
  padding:20px 0px;
  border-bottom:unset;
}
.footer-bar .footer-wrapper .bar-item.info .start {
  color:white;
  place-self:start;
  min-width: max-content;
}
.footer-bar .footer-wrapper .bar-item.info .center-info {
  color:white;
  place-self:center;
  min-width: max-content;
}
.footer-bar .footer-wrapper .bar-item.info .end {
  display:grid;
  grid-template-columns:min-content min-content;
  gap:10px;
  color:white;
  place-self:end;
  min-width: max-content;
}

@media (max-width: 860px) {
  .footer-bar .footer-wrapper .bar-item.logo, .footer-bar .footer-wrapper .bar-item.pay {
    grid-template-columns: auto;
    gap:40px;
  }
  .footer-bar .footer-wrapper .bar-item.info  {
    grid-template-columns: auto;
    gap:10px;
  }
  .footer-bar .footer-wrapper .bar-item.bar-item.footer-menu {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bar .footer-wrapper .bar-item.logo .social-wrapper {
    place-self:start;
  }
  .footer-bar .footer-wrapper .bar-item.info .start, .footer-bar .footer-wrapper .bar-item.info .center-info, .footer-bar .footer-wrapper .bar-item.info .end  {
  place-self:start;
  min-width: 100%;
}
}

/* Apply header font family */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-family-headers);
color: var(--color-text);
margin-block:unset;
font-weight:700;
}
h1 {
font-size: clamp(24px, 5vw + 1rem, 60px);
line-height: 103%;
font-weight: bolder;
}
h3 {
font-size: clamp(15px, 1vw + 1rem, 20px);
line-height: 110%;
font-family: var(--font-family-headers);
}
p {
  font-family: var(--font-family-body);
  margin-block-start: 0;
  margin-block-end: 0;
  line-height: 130%;
}
* a {
  color: var(--color-brand-blue);
  text-decoration: none;
  font-weight: bold;
}
strong {
  font-weight: bolder;
}
.italic {
  font-style: italic;
}
.font-small {
  font-size: 0.8em;
}
/*custom terms styling*/
.terms-wrapper h1 {
  line-height: 170%;
}
/*custom terms styling*/
.terms-wrapper h2 {
  margin-top: 20px;
margin-bottom: 5px;
}
@media (max-width: 860px) {
  .padding-wrapper.terms {
     padding: 10px; 
  }
}
/* custom about fonts */
.hero-content-about h1 {
  margin-block-start: 20px;
  margin-block-end: 20px;
  color: var(--color-text);
}
/* custom about fonts */
.hero-content-about h2 {
  margin-block-start: 20px;
  margin-block-end: 20px;
  color: var(--color-text);
}
.hero-content-about h3 {
  margin-block-start: 20px;
  margin-block-end: 20px;
  color: var(--color-text);
}
.hero-content-about p {
  margin-block-end: 30px;
  color: var(--color-text);
  font-size:18px;
}
.hero-content-about li {
  margin-block-end: 10px;
  color: var(--color-text);
  font-size: 18px;
}
.hero-content-about img {
  max-width: 100%;
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.hero-content-about .about-mobile {
  display: none;
}
@media (max-width: 860px) {
  .hero-content-about .about-desktop {
    display: none;
  }
  .hero-content-about .about-mobile {
    display: block;
  }
} 

* a:hover, .member a:hover {
  font-weight:bolder;
}

a span {
  white-space: nowrap;
  display: inline-block
}

.uppercase {text-transform: uppercase;}
.center {text-align: center;}
.left {text-align: left;}
.right {text-align: right;}
.padding-5 {padding: 5px;}
.padding-10 {padding: 10px;}
.padding-20 {padding: 20px;}
.center-items {display: grid; place-items: center;}

.white {color:white;}
.orange {color:var(--color-brand-orange);}
.green {color:var(--color-brand-green);}
.blue {color:var(--color-brand-blue);}
.cyan {color:var(--color-brand-cyan);}
.purple {color:var(--color-brand-purple);}
.gold {color:var(--color-brand-gold);}
.pink {color:var(--color-brand-pink);}

.pink-background {background-color:var(--color-brand-pink-matte);}
.orange-background {background-color:var(--color-brand-orange-matte);}
.green-background {background-color:var(--color-brand-green-matte);}
.blue-background {background-color:var(--color-brand-blue-matte);}
.cyan-background {background-color:var(--color-brand-cyan-matte);}
.purple-background {background-color:var(--color-brand-purple-matte);}
.gold-background {background-color:var(--color-brand-gold-matte);}

.text-shadow-dark {text-shadow: var(--text-shadow-dark);}

.center-content {
  min-height: 80vh;
  display: grid;
  place-items: center;
}
/*custom social icons thank you page*/
.social-icons-thank-you {
  display: grid;
  grid-template-columns: min-content min-content min-content min-content;
  place-content: center;
  gap:10px;
}
.social-icons-thank-you img {
  height: 30px;
  width: auto;
}
.social-icons-thank-you .svg-filter {
  filter: invert(52%) sepia(15%) saturate(748%) hue-rotate(180deg) brightness(75%) contrast(90%);
}
.margin-block {
  margin-block-start: 20px;
    margin-block-end: 20px;
}
.margin-block-big {
  margin-block-start: 40px;
    margin-block-end: 40px;
}
.half-width {
  width: 75%;
}

/* Top Menu */
.top-nav-wrapper {
  width: 100%;
  display: flex; /* Enable flexbox for centering */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  position: fixed; /* Keep it fixed at the top */
  background-color: white;
  height: 57px; /* Height of the navbar */
  z-index: 2; /* Ensure it is above other content */
  box-shadow: 0px 0px 3px 1px #3b607d96; /* Subtle shadow for visual separation */
  padding: 0; /* Remove any default padding */
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-menu-background);
  color: var(--color-text-menu);
  z-index: 15;
  position: fixed;
  width: 95%;
}

/* logo menu */
header .logo {
  display: grid;
  place-items: center;
  text-decoration: none;
}

header.logo.desktop img {
  width: 100px;
  height: auto;
}
header .logo.mobile img {
  height: 35px;
  width:auto;
  cursor: pointer;
  display: block; /* Ensures consistent rendering */
  transition: transform 0.3s ease; /* Smooth transition for the rotation */
}
header.mobile img:hover {
  transform: rotate(360deg); /* Full rotation on hover */
}
header .primary-btn.cta-menu {
  font-size: 14px;
  padding: 5px 20px;
  border-radius: 50px;
  color: var(--color-text-menu);
  width: fit-content;
}
header .primary-btn.cta-menu.buy {
  background: var(--color-brand-cyan);
}

header .wrapper-item {
  display: grid;
  grid-template-columns: min-content max-content;
  gap: 10px;
  align-items: center;
}


header .wrapper-item.inverted {
  border:2px solid var(--color-brand-blue);
  background:white;
  color:var(--color-brand-blue);
}
header .wrapper-item.inverted .white {
  display: none;
}

header .mega-menu-wrapper .wrapper-item {
  font-size: clamp(30px, 5vw + 1rem, 40px);
}
header .mega-menu-wrapper .wrapper-item .wrapper-item-image img{
  height: clamp(30px, 5vw + 1rem, 40px);
  width: auto;
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #ffffff; /* White background for menu bar */
  color: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0px 0px 3px 1px #3b607d96; /* Subtle shadow effect */
  gap: 10px;
}

/* Logo */
.logo img {
  height: 30px;
  width: auto; /* Maintain aspect ratio */
}

/* Search Container */
.search-container {
  flex-grow: 1;
  display: flex;
  justify-content: end;
  align-items: end;
  gap:10px;
}
.search-container img {
  height: 20px;
  width: auto;
  cursor: pointer;
}

.search-input {
  width: 100%;
  max-width: 400px; /* Maximum size */
  min-width: 150px; /* Minimum size */
  padding: 8px 12px;
  border: 2px solid #3b607d; /* Brand color border */
  border-radius: 50px; /* Rounded corners */
  font-size: 1rem;
  outline: none;
  transition: width 0.3s ease, border-color 0.3s ease;
}

.search-input:focus {
  border-color: #3b607d; /* Focus border remains brand color */
}
@media (max-width: 860px) {
  .cta-menu.wrapper-item .menu-link-text {
 display:none;
  }
  .cta-menu.wrapper-item {
    grid-template-columns: auto;
  }
}


/* Hamburger Button */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: #3b607d; /* Brand color */
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger Active State */
.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu */
.menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: -16px;
  right: -120%; /* Hidden initially */
  width: 100%;
  height: 100%;
  background-color: #3b607d; /* Inverted color for full-screen menu */
  gap: 20px;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.menu.active {
  right: 0; /* Fullscreen slide-in */
}

.menu .mega-menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}
@media (max-width: 860px) {
  .menu .mega-menu-wrapper {
    align-items: start;
  }
}
.wrapper-item {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}
.wrapper-item-image {
  display: grid;
}


.wrapper-item-image {
  font-size: 1.5rem;
}

/* Close Button */
.close-menu {
  position: absolute;
  top: 15px; /* Top-right corner */
  right: 15px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}





/* Search Results Container */

/* Search Wrapper */
.search-wrapper {
  align-items: center;
  box-shadow: 0px 0px 3px #3b607d;
  border-radius: 50px;
  background-color: white;
  padding: 2px 0px;
  transition: width 0.3s ease;
  overflow: hidden; /* Hide content when collapsed */
}

/* Search Input Container */
.search-input-container {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between icon and input */
  margin-left:10px;
}

/* Search Icon */
.search-label {
  font-size: 16px;
  color: var(--color-border-box);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Input */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: transparent;
  color: var(--color-text);
}

.search-input::placeholder {
  color: var(--color-text-secondary);
}

/* Search Button (if needed) */
.search-button {
  display: none; /* Optional: Hide if not used */
}


.search-results {
  display: none; /* Hidden by default */
  position: absolute; /* Positioned relative to the menu */
  top: 100%; /* Position just below the search bar */
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 0px 0px 5px 5px;
  padding: 10px;
  z-index: 1000;
  max-height: 0; /* Collapsed height */
  overflow: hidden; /* Hide content while collapsed */
  opacity: 0; /* Invisible initially */
  transition: max-height 0.3s ease, opacity 0.3s ease; /* Smooth fold-out */
}

.search-results.visible {
  display: block; /* Ensure it's rendered */
  max-height: calc(100vh - 85px);/* Set an appropriate max height for results */
  overflow-y: auto; /* Allow scrolling if content overflows */
  opacity: 1; /* Make it visible */
}

/* Search Result Items */
.search-result-item {
  display: grid;
  grid-template-rows: auto;
  grid-row-gap: 5px;
  padding: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-family-body);
  opacity: 0; /* Start invisible */
  transform: translateY(10px); /* Start slightly lower */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
  background: white; /* Default background */
  cursor: pointer;
}

.search-result-item.visible {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Reset position */
  color: var(--color-text); 
  border-bottom:1px solid var(--color-brand-blue-matte);
  border-radius:5px;
  margin-bottom:5px;
}

.search-result-item.visible:hover {
  background: #f0f8ff;
}

/* Search Item Name */
.search-item-name {
  font-weight: bold;
  font-size: 16px;
}
.search-item-desc {
  font-weight: bold;
  font-size: 14px;
  font-family: var(--font-family-body);
}
.search-item-val {
  font-weight: bold;
  font-size: 14px;
  font-family: var(--font-family-body);
  width: fit-content;
}

/* No Results Styling */
.search-no-results {
  padding: var(--padding-base);
  color: var(--color-brand-blue);
  font-family: var(--font-family-body);
  text-align: center;
  background:white;
  padding:10px;
  border-radius:5px;
  margin-bottom:10px;
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 860px) {
  .search-results {
    border-radius: 0px;
  }

  .search-container {
    justify-content: end;
  }
}
#searchbox-div {
width: -webkit-fill-available;
max-width: 50%;
}
@media (max-width: 860px) {
  #searchbox-div {
    max-width: 100%;
  }
}
/* Additional Search Wrapper Styling */
#searchbox-div #search-results {
  margin-top: 2px;
  height: 100vh;
  background: #3b607d8f;
}


.max-width-wrapper.og-image {
  position: relative;
  background: none; /* Remove image background */
  overflow: hidden;
  margin-bottom: -4px;
}
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* allows buttons on top to be clickable */
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.max-width-wrapper.og-image > .size-wrapper {
  position: relative;
  z-index: 1;
}

.max-width-wrapper.og-image .size-wrapper {
  display: grid;
  place-items: center;
  padding: 0px;

}
/* page wrappers */
.max-width-wrapper {
  width: 100%;
  display: inline-block;
}
.max-width-wrapper.first {
  margin-top: 0px;
}
.max-width-wrapper.background-blue {
  background: var(--color-brand-blue);
}
.max-width-wrapper.background-blue-gradient {
  background: linear-gradient(173deg,rgba(59, 96, 125, 1) 0%, rgba(35, 67, 94, 1) 97%);
}
.max-width-wrapper.background-orange {
  background: var(--color-brand-orange);
  color: white;
}
.max-width-wrapper.light-grey {
  background:#eeeeee;
}
.size-wrapper {
  max-width:var(--max-width);
  margin:0 auto;
}
.padding-wrapper {
  padding: var(--div-padding);
}
@media (max-width: 860px) {
  #content-div {
    padding:10px;
  }

}
#content-div {
  margin-bottom:50px;
}


.padding-wrapper.center {
  display: grid;
  place-items: center;
  min-height: 95vh;
}
.padding-wrapper.mobile-padding {
  padding: 20px;
}
@media (max-width: 860px) {
  .padding-wrapper {
    padding: 0px;
  }
}
.color-three {
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .color-one {
    background-position: center center;
  }
}
.color-two {
  background-color: var(--color-menu-background);
}
#login{
width: 100%;
max-width: 330px;
background: white;
border-radius: 20px;
padding:20px;
width: 100%;
display: grid;
place-content: center;
}
#signup-form{
  width: 100%;
  max-width: 330px;
  background: white;
  border-radius: 20px;
  padding:20px 0px;
  width: 100%;
  display: grid;
  place-content: center;
  }
#login .login-logo, #signup-form .login-logo, #verify-form .login-logo {
 width: 110px;
 height: auto;
}
#login, #signup-form, #verify {
  max-width: 300px;
  padding: 20px;
}
@media (max-width: 560px) {
  #login, #signup-form, #verify {
    background:white;
    max-width: unset;
    padding: unset;
  }
}



/* Specifik styling för checkboxar inom .terms-checkbox */
#signup-form .terms-checkbox input[type="checkbox"] {
  appearance: none; /* Tar bort standardutseendet */
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-brand-orange); /* Anpassad färg för ramen */
  border-radius: 4px; /* Rundade hörn för modern look */
  outline: none; /* Ingen extra ram vid fokus */
  background-color: #fff; /* Vit bakgrund */
  cursor: pointer; /* Gör den klickbar */
  transition: all 0.3s ease; /* Smidig övergång */
  padding: unset;
}

/* När checkboxen är markerad */
#signup-form .terms-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-brand-orange); /* Fyll med primärfärg */
  border-color: var(--color-brand-orange);
  position: relative; /* Behövs för att positionera ::after */
}

/* Check-symbol när markerad */
#signup-form .terms-checkbox input[type="checkbox"]:checked::after {
  content: '✓'; /* Check-symbol */
  font-size: 16px;
  color: white; /* Vitt kryss */
  position: absolute;
  top: -1px;
  left: 2px;
}

/* Stil för hela .terms-checkbox */
#signup-form .terms-checkbox {
  display: grid;
  grid-template-columns: min-content max-content;
  align-items: center; /* Vertikal centrering av checkbox och text */
  gap: 10px; /* Avstånd mellan checkbox och text */
  font-size: 16px;
  cursor: pointer;
  place-content: center;
  padding: 10px 0px;
}

/* Stil för text och länk */
.terms-checkbox span {
  color: var(--color-text);
}

.terms-checkbox a, .member a {
  color: var(--color-brand-blue);
  text-decoration: none;
  font-weight: bold;
}


.terms-checkbox a:hover, .member a:hover {
  text-decoration: underline;
}

.login-input .welcome-intro , #signup-form .welcome-intro, #verify-form .welcome-intro {
grid-template-rows: min-content min-content min-content;
gap: 10px;
display: grid;
place-items: center;
}

#login-and-signup-form .login-buttons {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
#login button, #signup-form button,  #verify-form button {
  width: 100%;
}
.login-input, #signup-form form, #verify-form form {
  display: grid;
  grid-template-rows: auto;
  gap: 10px;
  min-height: 50vh;
}
@media (max-width: 860px) {
  .login-input, #signup-form form, #verify-form form {
    min-height:70vh;
  }
}
#login-and-signup-form .registration-wrapper, #login .login-wrapper, #verify-form .verify-wrapper {
  display: grid;
  grid-template-rows: min-content min-content min-content;
  gap: 10px;
}
#login-and-signup-form .registration-wrapper img, #login .login-wrapper img, #verify-form .verify-wrapper img{
  height: 20px;
  width: auto;
}

#login-and-signup-form input, #signup-form #email, #verify-form input {
  padding: 13px 0px;
  border-radius: 25px;
  width: 100%;
  text-align: center;
  border: unset;
  background: white;
  font-family: var(--font-family-body);
  font-weight: bolder;
  letter-spacing: 2px;
  font-size:16px;
  color: var(--color-text);
  border:2px solid var(--color-brand-orange);
}

/* verify custom fields*/
.code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
#verify-form .code-inputs .code-digit {
  border-radius: 10px;
  font-size: 20px;
}

.code-digit {
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.code-digit:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* hero */
.hero-wrapper {
  display:grid;
  min-height: 70vh;
  place-content: flex-start;
}
.hero-content-wrapper img{
  max-width: 100%;
}
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr min-content min-content;
    gap: 20px;
    place-items: center;
    border-radius: 20px;
}
ul.checklist {
  list-style: none; /* Ta bort standard-bullets */
  padding: 0;
  margin-block-end: 0px;
}

.cta-reason:before {
  content: "✔"; /* Använd checkmark-symbol */
  color:var(--color-brand-orange); /* Valfri färg */
  font-weight: bold;
  margin-right: 5px;
}
.cta-reason {
  margin-right: 10px;
} 
.cta-signup-wrapper {
  padding: 20px;
  border-radius: 20px;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: auto min-content auto ;
  gap: 10px;
      position: relative;
    z-index: 100;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(178deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0.52) 100%);
  z-index: 1;
}
.intro-cta-wrapper {
  display: grid;
  grid-template-columns: auto;  
  grid-template-rows: auto;
  gap: 10px;
  align-items: center;
}
.hero-content-text .cta-wrapper {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  align-items: center;
}
.intro-cta-wrapper a {
  justify-self: center!important;
  min-width: 250px;
  padding:10px 0px;
}


@media (max-width: 860px) {
  .hero-content-wrapper {
    grid-template-columns: auto;
    gap:20px;
    grid-template-rows: min-content 1fr;
  }
  .intro-cta-wrapper {
    display: grid;
    grid-template-columns: auto;  
    grid-template-rows: auto;
    gap: 10px;
  }
  .hero-content-text .cta-wrapper {
    display: none;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    gap: 10px;
    align-items: center;
  }
}
/* Sökfältets behållare */

.info-bar-container {
  position: absolute;
  bottom:3px;
  width:100%;
  display: grid;
  place-items: center;
  grid-template-rows: auto;
  gap:10px;
  text-align: center;
  padding:10px 0px;
}
.info-bar-container h3, .info-bar-container p {
  color:white;
  text-shadow: var(--text-shadow-dark);
}

/* Bilden och layout */
.image-container {
  position: relative;
  max-width: 1200px;
}

.background-image {
  width: 100%; /* Fyll behållaren */
  border-radius: var(--border-radius-small); /* Rundade hörn för bilden */
}



/*simple how to*/
.simple-how-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  place-items: center;
}
.simple-how-wrapper .simple-how-item {
  display: grid;
  width: 100%;
  place-items: center;
  gap:20px;
  color: var(--color-text);
  font-family: var(--font-family-headers);
}

@media (max-width: 860px) {
  .simple-how-wrapper .simple-how-item .text {
display:none;
  }
  }

/* buy swiper */
.button-package-wrap {
  display: grid;
  grid-template-columns: auto auto;
  place-items: center;
}

.button-package-wrap .package-items .tag-image  {
  display: grid;
  place-items: center;
}

.button-package-wrap .package-items .tag-image img {
 max-width:70%;
 height:auto;
}
.button-package-wrap .package-items {
    background: var(--color-border-box);
    padding: var(--padding-base);
    border-radius: var(--border-radius-small);
    display: grid;
    grid-row-gap:10px;
    max-width:350px;
    align-items: center;
    box-shadow: 0px 0px 5px #00000033;
}
@media (max-width: 860px) {
  .button-package-wrap .package-items {
    max-height: unset;
  }
}
.button-package-wrap .package-items .top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.button-package-wrap .package-items .feature {
   border: 1px solid var(--color-muted);
   width: fit-content;
   padding: 4px 8px;
   border-radius: 5px;
   font-size:12px;
}
.button-package-wrap .package-items .feature.soldout {
  border-color:red;
  color:red;
}
.button-package-wrap .package-items .feature.in-store {
  border-color:green;
  background:green;
  color:white;
}
.button-package-wrap .package-items .feature:nth-child(2) {
  justify-self: flex-end;
}
.button-package-wrap .package-items .buy-text {
  font-family: var(--font-family-body);
}
.button-package-wrap .package-items .buy-text.price {
  display: grid;
  grid-template-columns: max-content max-content;
  gap:10px;
  place-items:center;
}
.button-package-wrap .package-items .name {
  font-family: var(--font-family-headers);
  font-size: 20px;
  align-self: end;
  font-weight: bold;
  color:var(--color-text)
}
.button-package-wrap .package-items .desc {
  align-self: start;
  font-weight: 100;
  font-size: 14px;
  margin-top: 5px;
} 

.button-package-wrap .package-items .buy {
  width: -webkit-fill-available;
  display: grid;
  place-content: center;
}

.welcome-buy {
  display: grid;
  grid-template-rows: auto;
  gap: 20px;
  padding: 20px 10px;
}

/*buy page buy box listing*/
.buy-tag-wrapper {
  padding: 10px;
  display: grid;
  grid-template-rows: min-content auto;
  gap:20px;
  min-height:100vh;
}
.button-package-wrap.buy-page{
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  place-content: center;
}
.button-package-wrap.buy-page .package-items {
  max-width: 100%;
  aspect-ratio: unset;
}
@media (max-width: 1100px) {
  .button-package-wrap.buy-page{
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
  }
  .button-package-wrap.buy-page .package-items {
    max-width: 100%;
  }
}
@media (max-width: 740px) {
  .button-package-wrap.buy-page{
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
  }
  .button-package-wrap.buy-page .package-items {
    max-width: 300px;
  }
}


@media (max-width: 860px) {
  .button-package-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .button-package-wrap .package-items {
    height:420px;
    grid-template-rows: 10% 35% auto;
  }
  .swiper {
    height: 500px;
}
}


/* single product */
.buy-product-single-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

}
.product-single-content {
  display: grid;
  grid-template-rows: min-content min-content min-content min-content min-content auto;
  gap: 20px;
}
.product-single-content .wrapper-buy-desc {
  display: grid;
  grid-auto-rows: min-content;
  gap: 20px;
  margin-bottom:40px;
}
.product-single-content .wrapper-why {
  display: grid;
  grid-template-columns: min-content auto;
  gap: 10px;
}
.product-single-content .wrapper-why .check {
  color: green;
}
.product-single-image img {
  max-width: 100%;
  border-radius: 20px;
}
.product-single-image .image-slider img {
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}


.product-single-content #buy-button {
  width: -webkit-fill-available;
}
.product-single-content .payment-options {
  border-top:1px solid var(--color-brand-blue);
  border-bottom:1px solid var(--color-brand-blue);
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  gap: 10px;
  padding: 10px;
  place-items: center;
}
.product-single-content .payment-options img {
  width: 100%;
  height: auto;
  max-width: 80%;
}

.tag-select-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.tag-option-wrapper {
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  gap:5px;
}

.tag-option {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid var(--color-brand-cyan);
  border-radius: 8px;
  background-color: #F8F9FA;
  color: var(--color-brand-cyan);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

/* När en option är vald */
.tag-option input[type="radio"] {
  display: none; /* Dölj den vanliga radioknappen */
}

.tag-option:has(input[type="radio"]:checked) {
  background-color: var(--color-brand-cyan);
  color: white;
  border-color: var(--color-brand-cyan);
}

@media screen and (max-width: 860px) {
  .buy-product-single-wrapper {
    grid-template-columns: 1fr;
  }
  
}

#scanner {
  position: relative;
}
.scanner-header {
  background: transparent;
    color: var(--color-text);
    position: absolute;
    top: 0px;
    width: -webkit-fill-available;
    padding: 10px;
    text-align: center;
    display: grid;
    grid-template-columns: min-content auto;
    place-items: center;
}
.scanner-header .scan-buy {
  background: var(--color-brand-cyan);
    padding: 5px 10px;
    border-radius: 50px;
    color: white;
    place-self: end;
}
.scanner-header .scan-close {
  background: var(--color-brand-orange);
    padding: 5px 8px;
    border-radius: 50px;
    color: white;
    place-self: start;
    display: grid;
    place-items: center;
}
.scanner-footer {
  color: var(--color-brand-orange);
  background:transparent;
  padding:10px;
  text-align: center;
  position: absolute;
  bottom: 0px;
  width: -webkit-fill-available;
}
#scanner .scan-region-highlight-svg {
  stroke: var(--color-brand-orange)!important;
}



/* Boxtag puff */
.boxtag-puff-wrapper {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
}

/* Fade-in/out och smidig bildändring vid scroll */
.boxtag-puff-text {
  transition: background-image 0.8s ease-in-out, opacity 0.8s ease-in-out;
  opacity: 0.6;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  display: grid;
  place-items: center;

}

.boxtag-puff-text.active {
  opacity: 1;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
}

/* Specifika sektioner - Bakgrundsbilden ändras när de är i centrum */
.boxtag-puff-text.linda {
  background: url("/static/images/boxtag-med-ordningskonsult-linda.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  transition: opacity 0.8s ease-in-out; /* Smooth transition for fade effect */
}
.boxtag-puff-text.moving {
  background: linear-gradient(21deg, rgba(59,96,125,0.3) 0%, rgba(59,96,125,0.4) 59%, rgba(59,96,125,0.5) 100%), url("/static/images/moving.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  transition: opacity 0.8s ease-in-out; /* Smooth transition for fade effect */
}
.boxtag-puff-text.moving.active {
  background: url("/static/images/moving-2.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  animation: delayBackground 1.0s ease-in-out forwards; /* Delay change */
}
@keyframes delayBackground {
  0% { background: url("/static/images/moving.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  }
  50% { background: url("/static/images/moving.webp"); 
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  aspect-ratio: 1;
  } /* Keep old background longer */
  100% { background: url("/static/images/moving-2.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  } /* Swap at end */
}

.boxtag-puff-text.storage {
  background: linear-gradient(21deg, rgba(59,96,125,0.133) 0%, rgba(59,96,125,0.265) 59%, rgba(59,96,125,0.265) 100%), url("/static/images/storage.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  transition: opacity 0.8s ease-in-out; /* Smooth transition for fade effect */
}
.boxtag-puff-text.storage.active {
  background: url("/static/images/storage-2.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  animation: delayBackground2 1.0s ease-in-out forwards; /* Delay change */
}
@keyframes delayBackground2 {
  0% { background: url("/static/images/storage.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  }
  50% { background: url("/static/images/storage.webp"); 
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  aspect-ratio: 1;
  } /* Keep old background longer */
  100% { background: url("/static/images/storage-2.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  } /* Swap at end */
}

.boxtag-puff-text.tools {
  background: linear-gradient(21deg, rgba(59,96,125,0.133) 0%, rgba(59,96,125,0.265) 59%, rgba(59,96,125,0.265) 100%), url("/static/images/tools.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  transition: opacity 0.8s ease-in-out; /* Smooth transition for fade effect */
}
.boxtag-puff-text.tools.active {
  background: url("/static/images/tools-2.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  border-radius: 20px;
  animation: delayBackground3 1.0s ease-in-out forwards; /* Delay change */
}
@keyframes delayBackground3 {
  0% { background: url("/static/images/tools.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  }
  50% { background: url("/static/images/tools.webp"); 
    background-size: cover;
  background-position: center;
  opacity: 0.8;
  aspect-ratio: 1;
  } /* Keep old background longer */
  100% { background: url("/static/images/tools-2.webp"); 
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  } /* Swap at end */
}



/* CTA-styling */
.boxtag-puff-cta {
  display: grid;
  grid-template-rows: min-content min-content min-content;
  gap: 20px;
  padding: 20px;
}

.boxtag-puff-cta li {
  margin-bottom: 10px;
}
.boxtag-puff-cta h2 {
  margin-bottom: 20px;
}
.boxtag-puff-cta ul {
  list-style: square;
}


.boxtag-puff-cta .primary-btn {
  align-self: flex-end;
  min-width: 180px;
  justify-self: flex-start;
}

.boxtag-puff-cta .secondary-btn {
  align-self: flex-start;
  min-width: 180px;
  text-align: center;
  justify-self: flex-start;
}

/* Anpassning för mindre skärmar */
@media (max-width: 860px) {
  .boxtag-puff-wrapper {
    grid-template-columns: 1fr;
  }
  .boxtag-puff-text.tools.active, .boxtag-puff-text.storage.active, .boxtag-puff-text.moving.active {
    border-radius: 0px;
  }

  .boxtag-puff-wrapper .boxtag-puff-text {
    border-radius: 0px;
  }

  .boxtag-puff-cta .primary-btn  {
    display: grid;
    grid-template-columns: 100%;
    place-items: center;
  }
  .boxtag-puff-cta .primary-btn span 
{width: fit-content;}
  
  .boxtag-puff-cta .primary-btn, .boxtag-puff-cta .secondary-btn  {
    width: -webkit-fill-available;
    min-width: max-content;
  }
  
  .boxtag-puff-wrapper .boxtag-puff-text h1 {
    font-size: 70px;
  }
}



.signature-grid {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 20px;
  align-items: center;
}
.signature-grid .user-image img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .boxtag-promo-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-wrapper h3 {
    max-width: 100%;
   }
}



.quote-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #ffffff;
  padding: 20px 0;
}

.quote-track {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
}

.quote-track span {
  display: inline-block;
  margin-right: 50px;
  font-style: italic;
  color: #444;
  font-size: 16px;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/* Base Button Styles */
.btn {
padding: var(--padding-base);
font-size: var(--font-size-medium);
font-family: var(--font-family-body);
border: none;
border-radius: var(--border-radius-button);
cursor: pointer;
transition: background-color var(--transition-speed) ease,
        transform var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease;
}

/* Primary Button */
.primary-btn {
background-color: var(--color-brand-orange);
color: var(--color-text-menu);
box-shadow: var(--box-shadow-button);
text-decoration: none;
height:fit-content;
font-weight: bolder;
min-height: 25px;
display:grid;
place-items: center;
grid-template-rows: auto;
}
.primary-btn.blue {
  background-color: var(--color-brand-blue);
  border:2px solid var(--color-brand-blue);
}
.primary-btn.orange {
  background-color: var(--color-brand-orange);
  border:2px solid var(--color-brand-orange);
}
.primary-btn.green {
  background-color: var(--color-brand-green);
  border:2px solid var(--color-brand-green);
}
.primary-btn.pink {
  background-color: var(--color-brand-pink);
  border:2px solid var(--color-brand-pink);
}




.primary-btn.orange:hover {
  background-color: white;
  border:2px solid var(--color-brand-orange);
  color: var(--color-brand-orange);
}
.primary-btn.green:hover {
  background-color: var(--color-brand-green);
}
.primary-btn.pink:hover {
  background:white;
  color: var(--color-brand-pink);
  border:2px solid var(--color-brand-pink);
}


.primary-btn.cyan {
  background-color: var(--color-brand-cyan);
}
.primary-btn.purple {
  background-color: var(--color-brand-purple);  
}
.primary-btn.gold {
  background-color: var(--color-brand-gold);
}
.primary-btn.cyan:hover {
  background-color: var(--color-brand-cyan);
}
.primary-btn.purple:hover {
  background-color: var(--color-brand-purple);
}
.primary-btn.gold:hover {
  background-color: var(--color-brand-gold);
}


@media (max-width: 860px) {
  .primary-btn {
    width: -webkit-fill-available;
    text-align:center
  }
}



#addbox-div {
  padding:10px;
  display: grid;
  place-items: center ;
}
.total-value-box {
  padding: 10px 0px;
  display: grid;
  gap: 10px;
  place-items: end;
  color: var(--color-text);
  font-weight: bolder;
}
@media (max-width: 860px) {
  .total-value-box {
    border-radius: 0px;
  }
}
.listing-wrapper {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}
@media (max-width: 860px) {
  .listing-wrapper {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;;
  }
}
.listing-wrapper .total-value-box-inner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  min-height:60px
}
.listing-wrapper .total-value-box-inner .left-grid {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 10px;
  place-items: center;
  justify-content: center;
  min-width: 130px;
} 
.listing-wrapper .total-value-box-inner .right-grid {
display: grid;
grid-template-rows: auto auto;
align-items: center;
justify-items: center;
}
.listing-wrapper .total-value-box-inner .right-grid .top-grid {
  align-self: end;
  padding-bottom:5px;
  border-bottom: 1px solid var(--color-text);
    padding-left: 10px;
    padding-right: 10px;
}
.listing-wrapper .total-value-box-inner .right-grid .bottom-grid {
  align-self: start;
  padding-top:5px;
}
.listing-wrapper .total-value-box-inner {
  border-radius: 5px;
  box-shadow: 0px 0px 10px -8px var(--color-brand-blue);
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.listing-wrapper .total-value-box-inner:hover {
  transform: translateY(-2px);
    box-shadow: var(--box-shadow-button-hover);
}
.listing-wrapper .total-value-box-inner {
  background: white;
  color: var(--color-text);
}

.listing-wrapper .list-box .data-value {
 font-size: 12px;
}
.heart-meter-wrapper {
  display: flex;
  gap: 2px;
  align-items: center;
}

.heart-meter-wrapper img {
  width: 20px;
  height: auto;
}


/* user listing donate myrorna */
.myrorna-donate-wrapper {
  display: grid;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
}
.myrorna-header-wrapper {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 10px;
  align-items: center;
}
.myrorna-header-wrapper img {
  width: 120px;
  height: auto;
  display: grid;
  place-self: end;
}
@media (max-width: 860px) {
  .myrorna-header-wrapper img {
    width: 90px;
  }
}
.myrorna-donate-wrapper .donate-options-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
@media (max-width: 860px) {
  .myrorna-donate-wrapper .donate-options-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
}
.myrorna-donate-wrapper label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1rem;
}

.myrorna-donate-wrapper select#city {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  margin-bottom: 16px;
  transition: border-color 0.2s ease-in-out;
}

.myrorna-donate-wrapper select#city:focus {
  border-color: #4caf50;
  outline: none;
}

.myrorna-donate-wrapper button#email-btn, .myrorna-map-button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--color-brand-green);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  width: 100%;
}
.myrorna-map-button {
      display: inline-block;
    max-width: -webkit-fill-available;
    margin-top: 10px;
    text-align: center;
}

.myrorna-donate-wrapper button#email-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.myrorna-donate-wrapper button#email-btn:hover:not(:disabled) {
  background-color: var(--color-brand-green);
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  display: grid;
  place-items: center;
  align-self: center;
  width: -webkit-fill-available;
  margin-top: 10px;
  animation: bounce 1s infinite;
  transition: opacity 0.3s ease;
  cursor: pointer;
  display: grid;
  grid-template-columns: min-content max-content;
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
  background: hsl(196.67deg 52.94% 93.33%);
}

.toggle-icon.hidden {
  display: none;
  pointer-events: none;
}

.hidden-section {
  display: none;
}

.visible-section {
  display: block;
}








/* user listing template (grid) */
.view-toggle {
  display: grid;
  grid-template-columns: 1fr min-content min-content;
  gap: 10px;
  padding: 10px;
  place-content: end;
  position: relative;
}
.view-toggle button {
  background:unset;
  border: unset;
  cursor: pointer;
}
.view-toggle .share-button {
  justify-self: flex-start;
    display: grid;
    grid-template-columns: min-content max-content;
    gap: 10px;
    align-items: center;
}
.share-tooltip {
  position: absolute;
  top: 4px;
  left: 50px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  z-index: 9999;
  display: none;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.share-button.shake {
  animation: shake 0.5s ease-in-out 2;
}

.header-user-listing {
  background:var(--color-brand-cyan);
  min-height: 150px;
  display: grid;
  place-content: center;
  border-radius: 5px;
  position:relative;
  grid-template-columns: auto min-content;
}
.header-user-listing  input[type="text"]  {
  background:transparent;
  font-size:20px;
  background: #f1ffc16e;
  border:unset;
  font-weight: bolder;
  text-align: center;
  width: fit-content;
      padding: 2px;
    border: 1px solid yellow;
}
.header-user-listing .edit-name-icon {
  height:14px;
  width:auto;
}

.header-user-listing-subtitle {
  justify-self: flex-end;
  font-size: 12px;
  display: grid;
  place-items: center;
  grid-template-columns: max-content auto;
  gap:5px;
}
@media screen and (max-width: 860px) {
  .header-user-listing-subtitle span {
    display: none;
  }
  
}
.header-user-listing-subtitle span {
  color: var(--color-text);
  font-weight: bolder;
}
.header-user-listing-subtitle a {
  display: grid;
}
.header-user-listing-subtitle img {
  width: 65px;
  height: auto;
}
.user-listing-row.user-listings, .box-list-wrapper.home {
    padding: 10px;
    border: 1px solid #d1d8dd;
    border-radius: 8px;
    box-shadow: inset 0px 0px 5px #00000063;
}
@media (max-width: 860px) {
  .user-listing-row.user-listings, .box-list-wrapper.home {
    border:unset;
    box-shadow: unset;
    padding: 0px;
  }
}
.box-item-wrapper.home.cta-order-box {
  border: 2px dashed var(--color-brand-cyan);
  background-color: #1ca9c999;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, border 0.2s ease-in-out;
  display: grid;
  grid-template-columns: auto;
  place-items: center;
  color:white;
}
@media (max-width: 860px) {
  .box-item-wrapper.home.cta-order-box {
    margin-bottom: 40px;
  }
}
.box-item-wrapper.home.cta-order-box .box-item.name {
 display: grid;
  grid-template-columns: min-content auto;
  place-items: center;
  text-align: center;
  gap:10px;
}
.box-item-wrapper.home.cta-order-box:hover {
  transform: translateY(-2px);
  background-color: var(--color-brand-cyan);
  border: unset;
}


.user-listing-row.user-listings a {
  color: var(--color-text);
}
.user-listing-row.user-listings .sell-score {
  background: var(--color-brand-orange);
    color: white;
    padding: 2px 10px;
    border-radius: 15px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
 }
 .user-listing-row.user-listings .sell-score:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-button-hover);
 }
.user-listing-row.user-listings.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    max-width: 100%;
}
@media (max-width: 705px) {
.user-listing-row.user-listings.grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
/* user listing (list) */
#item-container {
  transition: opacity 0.4s ease;
}
.user-listing-row.user-listings.list {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    gap: 10px;
    max-width: 100%;
}
@media (max-width: 705px) {
.user-listing-row.user-listings.list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}
.user-listing-row.user-listings.grid .user-item-wrapper {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: min-content auto;
  border-radius: 5px;
  background: white;
  box-shadow: var(--box-shadow-button);
  max-width: 500px;
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.user-listing-row.user-listings.list .user-item-wrapper {
  display:grid;
  grid-template-columns: min-content auto;
  grid-template-rows: auto;
   background: white;
   border-radius: 5px;
  box-shadow: var(--box-shadow-button);
  max-width: 100%;
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.user-item-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-button-hover);
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  padding: 10px;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}
.user-listing-row.user-listings .user-item-wrapper .box-item.box-listing-desc, .user-listing-row.user-listings .user-item-wrapper .box-item.box-listing-name {
  grid-template-columns: auto;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-left-grid {
 width:100%;
 aspect-ratio: 1;
 border-radius: 5px 5px 0px 0px;
   overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-left-grid {
 width:150px;
 aspect-ratio: 1;
 border-radius: 5px 0px 0px 5px;
   overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-left-grid img {
  width: 100%;
  height: 100%;
  border-radius: 5px 5px 0px 0px;
  object-fit: cover;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-left-grid img {
  width: 100%;
  height: 100%;
  border-radius: 5px 0px 0px 5px;
  object-fit: cover;
}
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  grid-template-rows: min-content auto min-content auto;
}
#imageModal .close-btn {
position: relative;
    top: 10px;
    right: 10px;
}
#imageModal h2 {
  color:white;
  align-self: end;
}
#imageModal img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  border-radius: 8px;
}
#modalImageDescription {
  color: #f1f1f1;
  font-size: 13px;
  text-align: center;
  align-self:flex-start;
  padding:0px 20px;
  text-shadow: 0 0 15px black;
}

.image-modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80%;
}

.close-image-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-name, .user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid .box-item.box-listing-name {
  grid-template-columns: min-content auto;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-name .box-item-name  {
    display: inline-block;
    max-width: 150px; /* Justera efter behov */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-desc, .user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid .box-item.box-listing-desc {
    display: inline-block;
    max-height: 50px; /* Justera efter behov */
     white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
@media screen and (max-width: 860px) {
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-name .box-item-name {
    max-width: 120px; /* Justera efter behov */
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid .box-item.box-listing-name .box-item-name  {
    max-width: 150px; /* Justera efter behov */
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Max 2 rader */
    word-break: break-word;   
    font-size:12px;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid .box-item.box-listing-desc  {
    max-height: 75px; /* Justera efter behov */
    font-size:12px;
}  
}
.user-listing-row.user-listings .user-item-wrapper .box-item-right-grid .box-item.box-listing-name .box-remove-icon {
 justify-self: end;
}
.user-listing-row.user-listings .user-item-wrapper .box-item-right-grid .box-item.box-listing-name .box-remove-icon button {
  background: unset;
  border: unset;
  cursor: pointer;
  padding: unset;
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}


.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid {
 display: grid;
 grid-template-rows: min-content auto min-content;
  gap: 10px;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid {
 display: grid;
 grid-template-rows: auto auto auto;
  padding:10px;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item {
  display: grid;
  grid-template-columns: auto;
  gap: 10px;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item .sell-score {
  place-self:center;
}
.user-listing-row.user-listings.list .user-item-wrapper .box-item-right-grid .box-item .sell-score {
  align-self: center;
  justify-self: end;
}
.user-listing-row.user-listings.grid .user-item-wrapper .box-item-right-grid .box-item.box-listing-val {
  display: grid;
  grid-template-columns: min-content min-content min-content;
  gap:2px;
}
.box-listing-val.mark {
  display: grid;
  gap:4px;
  grid-template-columns: auto auto;
}
.user-item-wrapper .box-item-right-grid .box-item.box-listing-price {
  align-self:end;
  grid-template-columns: auto min-content!important;
}
.empty-list-message {
  min-height: 30vh;
  display: grid;
  place-items: center;
}
/* listing page contact modal */
/* Modal bakgrund */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.close-btn {
    border: none;
    border-radius: 50%;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    justify-self: end;
    box-shadow: var(--box-shadow-button);
    background: #efefef;
}

/* Modal innehåll */
.modal-content {
  display: grid;
    grid-template-rows: min-content min-content min-content;
    gap:20px;
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    height: -webkit-fill-available; 

}
#contact-form {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
}
#status-message {
  text-align: center;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%; /* Hantera bredden själv */
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 80px;
    resize: vertical;
}





/* share-page-custom header stuff*/
.share-modal {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0; /* Start som osynlig */
}
.share-modal.show {
    opacity: 1;
    transform: scale(1); /* Full storlek */
}
.share-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    min-width: 300px;
    max-width: 90%;
    top:10%;
}
.share-close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.share-input-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}
input[type="text"] {
    padding: 8px;
    width: 80%;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.share-copy-button {
    background-color: unset;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}
.share-copy-message {
    color: var(--color-text);
    font-size: 14px;
}
/* hero-header bg image */

header img {
    max-width: 100%;
    border-radius: 8px;
}
.share-page-header-hero-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
}
.share-page-header-hero-buttons button {
  background: #ffffffbd;
  border: unset;
  cursor: pointer;
  padding: 5px;
  border-radius: 15%;
  box-shadow: var(--box-shadow-button);
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  box-shadow: var(--box-shadow-button);
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.share-page-header-hero-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-button-hover);
}
.header-hero-sub-bar {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  padding: 10px;
  align-items: center;
}

/* share toggle on off */
.share-page-switch-container {
  display: grid;
    grid-template-columns: min-content auto;
    gap: 10px;
    align-items: center;
    z-index: 10; /* Så den ligger ovanpå */
}
.share-page-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}
.share-page-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.share-page-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
}
.share-page-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .share-page-slider {
    background-color: var(--color-brand-orange);
}
input:checked + .share-page-slider:before {
    transform: translateX(20px);
}
.share-page-slider.share-page-round {
    border-radius: 34px;
}
.share-page-slider.share-page-round:before {
    border-radius: 50%;
}
.user-listing-row.user-listings.offline {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}
.user-listing-row.user-listings.online {
    opacity: 1;
}











.order-button-home {
  display: inline-block;
  white-space: nowrap;
}
.mark {
  margin: 0 -0.4em;
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(
    to right,
    rgba(255, 225, 0, 0.1),
    rgba(255, 225, 0, 0.7) 4%,
    rgba(255, 225, 0, 0.3)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  max-width: fit-content;
}

.primary-btn.icon {
display:grid;
grid-template-columns: auto auto;
place-content:center;
place-items: center;
grid-column-gap: 5px;
}
.primary-btn:hover {
transform: translateY(-2px);
box-shadow: var(--box-shadow-button-hover);
}

/* Secondary Button */
.secondary-btn {
background-color: var(--color-brand-cyan);
color: white;
height: fit-content;
min-height:25px;
display: grid;
place-items:center;
}

.secondary-btn:hover {
transform: translateY(-2px);
box-shadow: var(--box-shadow-button-hover);
}
/*how-to-boxtag*/
.how-to-boxtag {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.video {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease;
    border-radius: 5px;
}

.video.paused {
    opacity: 0.8;
}
@media (max-width: 960px) {
  .how-to-boxtag {
    grid-template-columns: 1fr;
  }
}
.how-to-boxtag .how-to-box {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  border-radius: 5px;
}
.how-to-boxtag .how-to-box .action {
  display: grid;
  justify-self: center;
  font-weight: bolder;
  place-items: center;
  gap: 10px;
  grid-template-columns: auto auto;
}
.how-to-boxtag .how-to-box .image img {
  width:100%;
  height:auto;
  border-radius: 20px;
  border:1px solid white;
}
.how-to-boxtag .how-to-box .text {
  height: 90px;
}
@media (max-width: 860px) {
  .how-to-boxtag .how-to-box .text {
    text-align: center;
  }
}

.your-box-toolbar {
display: grid;
grid-template-columns: auto auto;
padding:10px 0px;
align-items: center;
}
.your-box-toolbar h3 {
  place-self: flex-start;
  font-weight: bolder;
  color: var(--color-brand-blue);
}
.your-box-toolbar .primary-btn {
  place-self: flex-end;
  font-size: 12px;
  width: unset;
  align-self: center;
  grid-template-columns: auto auto;
  padding:5px 15px;
}


/* green boxtag first page*/
.max-width-wrapper.green-boxtag {
  background: url("/static/images/green-box.webp");
  background-size: contain;  /* allow full cover instead of contain */
  background-repeat: no-repeat;
  background-color: black;
  min-height: 40vh; /* gives us more scroll room */
  display: grid;
  background-position: center center; /* default position */
  transition: background-position 0.4s ease-in-out;
}
.size-wrapper.green-boxtag-wrapper {
  display: grid;
  grid-template-columns: 65% auto;
  gap: 20px;
  place-items: center;
  width: -webkit-fill-available;
}
.cta-reason-wrapper {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 10px;
  }
@media screen and (max-width: 860px) {
  .max-width-wrapper.green-boxtag {
    min-height: 100vh;
  }
  .size-wrapper.green-boxtag-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px;
  }
  .size-wrapper.green-boxtag-wrapper .green-boxtag-text {
    place-self:end;
    margin-bottom:20px;
  }
}





#list-boxes h3 {
 margin:10px 0px;
}
#list-boxes {
  margin-bottom:50px;
 }
/* Edit Box */
.box-list-wrapper .box-item-wrapper.edit {
  aspect-ratio: unset;
  max-width: 100%;
  grid-template-columns: 1fr;
  padding: 10px 0px;
  border-radius: 10px 10px 0px 0px;
  color: var(--color-text);
}
.box-item-wrapper.home {
  width:unset;
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.box-item-wrapper.home:hover {
  transform: translateY(-2px);
    box-shadow: var(--box-shadow-button-hover);
}
.single-box-showcase {
  margin-top: 20px;
    background: white;
    display: grid;
    grid-template-rows: auto auto auto auto;
    padding: 10px;
    border-radius: 5px;
    gap: 10px;
    margin-bottom: 20px;
}
.box-listing-row  .single-box-showcase {
  margin-top:0px;
 }

 /* Hide .single-box-showcase when there’s more than one box */
 .single-box-showcase:has(+ .box-list-wrapper .box-item-wrapper.home:nth-child(2)) {
  display: none;
}

.box-list-wrapper:has(.box-item-wrapper.home:only-child) .box-item-wrapper {
  animation: blink-border 1s infinite;
  border: 3px solid var(--color-brand-orange); /* Tydlig ram */
  border-radius: 8px;       /* Mjukare kanter (valfritt) */
}

@keyframes blink-border {
  0% { border-color: var(--color-brand-orange); }
  50% { border-color: transparent; }
  100% { border-color: var(--color-brand-orange); }
}

@media (max-width: 860px) {
  .box-list-wrapper .box-item-wrapper.edit {
      border-radius: 5px 5px 0px 0px;
  }
}

.box-list-wrapper .box-items-info-wrapper.edit .name {
  grid-template-columns: 1fr;
}

.box-item-wrapper .box-items-info-wrapper.edit .box-item.name {
  padding: 10px 0px;
}

.box-list-wrapper .box-items-info-wrapper.edit .box-item.name .header {
  color: var(--color-text);
  margin-block-start: 0;
  margin-block-end: 0;
}

.box-list-wrapper .box-items-info-wrapper.edit .text {
  padding: 10px 0px;
}

/* Editable Elements - Normal View */
.box-list-wrapper .box-item-wrapper.edit .editable {
  min-height: 24px; /* Matches input field */
  padding: 2px 5px; /* Reduce padding */
  font-size: inherit; /* Keep font size the same */
  line-height: normal; /* Ensure text stays aligned */
  border: none; /* Remove default styling */
  box-sizing: border-box; /* Prevent padding from affecting dimensions */
  transition: background 0.2s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hover effect for better UX */
.box-list-wrapper .editable:hover {
  cursor: text;
  background: lightyellow;

}

/* Editable Input - Edit Mode */
.box-list-wrapper .box-item-wrapper.edit .edit-input {
  display: inline-block;
  min-height: 24px; /* Matches normal text */
  padding: 2px 5px; /* Reduce padding */
  font-size: inherit;
  line-height: normal;
  width: -webkit-fill-available; /* Fill available space */
  border: none; /* Remove default borders */
  background: lightyellow;
  box-sizing: border-box;
  transition: background 0.2s ease-in-out;
  border-radius: 5px;
}
.box-item.location.text .edit-input {
  text-align:right;
}
.box-item.location.text span{
  display: inline-block;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

/* Placeholder styling */
.box-list-wrapper .edit-input::placeholder {
  color: var(--color-text-muted, #888);
  font-size: 16px;
}

/* Specific styles for value fields */
.box-list-wrapper .box-item.box-listing-val .edit-input {
  min-width: 100px; /* Prevent number inputs from collapsing */
  text-align: right; /* Align number inputs */
}
.box-item.box-listing-sell .sell-item {
 padding:5px;
 display: grid;
 place-items: end;
}
.box-item.box-listing-sell .sell-item a {
  width: 60px;
  height: auto;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .box-list-padding {
      padding: 10px 10px 0px;
  }
}

/* Wrapper styles */
#list-boxes .box-list-wrapper {
  padding: 0px;
}

.box-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
  max-width: 100%;
}

.box-item-wrapper {
  display: grid;
  grid-template-columns: min-content 1fr;
  background: white;
  width: 100%;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px -8px var(--color-brand-blue);

}

.box-item-wrapper .box-item.bg {
  height: 150px;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 5px 0px 0px 5px;
}



.box-item-wrapper .box-items-info-wrapper {
  display: grid;
  grid-template-rows: auto;
  padding: 0px 10px;
}

.box-item-wrapper .box-items-info-wrapper .box-item {
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
}

.box-item-wrapper .box-items-info-wrapper .box-item.name {
  font-weight: bolder;
  grid-template-columns: 1fr;
  font-size: 17px;
}

.box-item-wrapper .box-items-info-wrapper .box-item.text {
  border-top: 1px solid var(--body-background);
}

.box-item-wrapper .box-items-info-wrapper .box-item.value.text .mark {
  width: max-content;
  min-width: 90px;
}


/* box images */
#box-photos {
  padding: 10px;
  border-left:1px solid #f0f8ff;
  border-right:1px solid #f0f8ff;
  border-bottom: 1px solid #f0f8ff;
  background-color: white;;
}
@media (max-width: 860px) {
  #box-photos {
  background:unset;
  }
}
#box .box-img-list {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: 1fr;
gap: 5px;
border-radius: 5px;
}
.zoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-close-label {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none; /* Ensure the text doesn't block the click */
  text-transform: uppercase;
  top:10px;
  left:10px;
}
@media screen and (max-width: 860px) {
  #box-photos {
    padding:unset;
    border-left:0px;
    border-right:0px;
    border-radius: 0px 0px 0px 0px;
    border-bottom: 0px;
  }
  #box .box-img-list-padding {
    padding: 0px 10px 1px;
  }
  #box .box-img-list {
    margin:unset;
    grid-template-columns: repeat(4, 1fr);
    border-radius:unset;
    gap: 0px;
    }
 #box .box-img-list .box-img-item {
    border-radius: 0px;
    border:0px;
  }
}
.box-img-item {
  width: -webkit-fill-available; /* Initial width */
  height: -webkit-fill-available; /* Initial height */
  background-size: cover;
  background-position: center;
  transition: transform 0s ease, box-shadow 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1;
  border-radius: 5px;
  background-color: var(--color-brand-blue-matte);
}
.box-img-item.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 97vw; /* Fullscreen width */
  height: 84vh; /* Maintain aspect ratio */
  max-height: 90vh; /* Ensure it doesn't exceed screen height */
  background-size: contain; /* Ensure the image fits */
  background-repeat: no-repeat;
  z-index: 1000; /* Bring to front */
  background-color: rgba(0, 0, 0, 0.9); /* Optional: darken background */
  box-shadow: none; /* Remove shadow in zoomed mode */
  background-size:contain;
}
.box-img-item.zoomed .box-img-remove {
 display: none;
}

.item-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.item-modal-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  place-content: center;
  align-items:center;
  position: relative;
  width:100%;
  height: 100vh;
  padding:10px;
}

#modalItemTitle {
  height:10%;
}

.item-modal-content p {
  font-size: 18px;
  text-align: center;
}
.item-modal-content span {
  font-size: var(--font-size-large);
  font-weight: bolder;
  text-align: center;
}

.item-modal-content button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  max-width: 400px;
  box-shadow: var(--box-shadow-button);
  display: grid;
  place-items: center;
  grid-template-columns: auto auto;
  gap: 10px;
}
.item-modal-content button img {
  place-self:end
}
.item-modal-content button span {
  place-self:start
}
.item-modal-content button {
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.item-modal-content button:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-button-hover);
}
.item-modal-content button:nth-child(2) { background: white; color: var(--color-text); border: 2px solid var(--color-text);} /* Sälj */
.item-modal-content button:nth-child(3) { background: white; color: var(--color-text); border: 2px solid var(--color-text);} /* Donera */
.item-modal-content button:nth-child(4) { background: white; color: var(--color-text); border: 2px solid var(--color-text);} /* Loppis */
.item-modal-content button:nth-child(5) { background: #FF4500; color: white; } /* Radera */

.item-modal-content .close-modal {
  position: absolute;
  top: 2%;
  right: 4%;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.action-feedback {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #323232;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 10000;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.action-feedback.show {
  opacity: 1;
}
.box-img-item.removing, .remove-box.removing {
  opacity: 0;
  transform: scale(0.95); /* Optional: slight shrink effect */
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Placeholder styling */
.box-img-item.placeholder {
  position:relative;
  background-color: #f0f8ff; /* Light gray background */
  border: 1px dashed var(--color-brand-blue); /* Dashed border to indicate placeholder */
  color: var(--color-brand-blue);
  font-size: 20px;
  padding: 10px;
  display: grid; /* Center alignment for potential content */
  justify-items: center;
  align-items: center;
  text-align: center;
  background-image: url('/static/images/take_image_blue.svg');
  background-size: 30%; /* Ensures the image scales proportionally */
  background-repeat: no-repeat; /* Prevents tiling of the image */
  background-position: center; /* Centers the image */
}


/*first thumbnail animation */
.box-img-item.placeholder:first-child {
  animation: blink 1s infinite;
  border: 2px solid var(--color-brand-orange)!important; /* Optional - Adds extra visibility */
  cursor: pointer; /* Ensures users know it’s clickable */
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}




/* box listing */
#box {
  margin-bottom: 50px;
}
#box-items {
  border-radius: 0px 0px 5px 5px;
}
@media (max-width: 860px) {
  #box-items {
    border-radius: 0px 0px 0px 0px;
    padding-bottom:0px;
    border:0px;
  }
  .box-img-item.placeholder {
    font-size:16px;
  }
}
/*box toolbar*/
/*
.box-tool-bar {
  display: flex;
  gap: 20px; 
  overflow-x: auto; 
  white-space: nowrap; 
  padding: 20px;
  scrollbar-width: none; 
  background: var(--color-brand-blue);
}

.box-tool-bar::-webkit-scrollbar {
  display: none; 

.box-tool-bar a {
  flex: 0 0 auto; 
}
  */

.box-tool-bar {
  display: grid;
  grid-template-columns: min-content min-content min-content min-content min-content;
  gap: 30px;
  padding: 20px;
  place-content: end;
  background: var(--color-brand-blue);
}
.box-tool-bar .scan-others {
  display: none;
}
@media (max-width: 860px) {
  .box-tool-bar {
    width: 100%;
    padding:20px 0px;
    place-content: center;
    box-shadow: 0px -2px 3px -2px #3b607d96;
  }
  .box-tool-bar {
    grid-template-columns: min-content min-content min-content;
  }
  .box-tool-bar .print-link {
    display: none;
  }
  .box-tool-bar .scan-others {
    display: none;
  }
}
  */
.box-tool-bar img {
  width: 20px;
  height: 20px;
}
.box-tool-bar a {
  display: grid;
  grid-template-columns: min-content max-content;
  place-items: center;
  gap:5px;
  color:var(--color-menu-background);
  text-decoration: none;
}
.box-tool-bar span {
  color: var(--color-menu-background);
}
/* custom message toolbar modal */

/* Modal Background */
#box-items .modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  place-items: center;
  justify-content: center;
}


/* Modal Content */
#box-items  .modal-content {
  display: grid;
  grid-template-rows: min-content min-content min-content min-content; 
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  gap: 20px;
  align-items: center;
  max-width: 350px;

}
@media (max-width: 560px) {
  #box-items .modal-content {
    max-width: 80%;
  }
}
#box-items  .modal-content .welcome-intro img {
  width: 110px;
  height: auto;
}
/* Close Button */
#box-items  .close-btn {
  background: white;
  border-radius: 15px;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  line-height: 0.5;
  padding:5px;
}
#box-items  .modal-content button:hover {
  background: var(--color-brand-blue);
  color: white;
}
/* Switch container */
#box-items .modal .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-right: 10px;
}

/* Hide default checkbox */
#box-items .modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Switch slider */
#box-items .modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

/* Round switch handle */
#box-items .modal .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}
#box-items .modal .slider-wrapper {
  display: grid;
  grid-template-columns: auto auto;
  width: 100%;
}
#toggleIcon  {
place-self:end;
}
/* Switch is activated */
/* When switch is activated */
#box-items .modal input:checked + .slider {
  background-color: #4CAF50;
}

#box-items .modal input:checked + .slider:before {
  transform: translateX(20px);
}

/* Style textarea */
#box-items  #scanMessage {
  width: 98%;
  height: 100px;
  border-radius: 5px;
  border: 2px solid var(--color-brand-blue);
  padding: 5px;
  font-family: var(--font-family-body);
  color:var(--color-text);
}











/* Table container */
.box-listing-table {
  display: grid;
  border-radius: 0px 0px 10px 10px;
}

.box-listing-row {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
}


.box-listing-details {
display: grid;
grid-template-columns:1fr;
grid-template-rows: 1fr 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

/* Row styling */
.box-listing-row {
  display: grid; /* Keep rows within the grid layout */
  grid-template-rows: auto auto auto;
}
@keyframes scan {
  0% {
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
    background: linear-gradient(90deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.8) 50%, rgba(255, 165, 0, 0.2) 100%);
    background-size: 200% 100%;
    background-position: -100% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    box-shadow: none;
    background: none;
  }
}

.box-listing-row.new {
  animation: scan 1.5s ease-in-out 1;
  animation-fill-mode: forwards;
}


.box-listing-row:nth-child(even) {
  background-color: #f0f8ff; 
}
.box-listing-row:nth-child(odd) {
  background-color: #ffffff; 
}

.box-listing-row:last-child {
border-radius: 0px 0px 5px 5px;
}
.box-listing-row:last-child .box-item.box-listing-val {
  border-bottom: 0px;
}
.box-listing-row .box-item {
  overflow: hidden; /* Ensure content doesn't overflow */
  text-overflow: ellipsis; /* Ellipsis for truncated text */
  padding:5px;
}
.box-listing-row .editable {
  padding:5px;
  border-radius:5px;
  grid-template-columns: max-content min-content;
}
.box-listing-row .box-item.box-listing-desc .editable {
  grid-template-columns: auto;
}
.box-listing-row .edit-input {
  font-size:16px;
  scroll-padding: 0px;
  padding-block: unset;
  padding-inline: unset;
  width: max-content;
  padding: 2px 5px;
  border-radius: 5px;
  background:lightyellow;
  border:unset;
  font-family: var(--font-family-body);
}
.box-listing-row .edit-input.desc {
  width: -webkit-fill-available;
  scroll-padding: 5px;
}
/*
.box-listing-row .editable:hover {
  background:lightyellow;
  min-width: 20px;
  display:grid;
  grid-template-columns: auto auto;
}
 */ 
.box-listing-row .box-listing-desc .editable:hover {
  width: fit-content;
}
.box-listing-row .box-listing-name .editable:hover {
  width: fit-content;
}
.box-listing-row .box-listing-val .editable:hover {
  width: -webkit-fill-available;
}

/* Description-specific styling */
.box-listing-description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.box-item.box-listing-name {
  font-weight: bolder;
  display:grid;
  grid-template-columns: auto auto min-content;
}
.box-item.box-listing-name .action-icon {
  margin-left: 10px;;
}
.box-item.box-listing-name .action-icon img {
  height:12px;
  width:auto;
}
.box-item.box-listing-val {
  display:grid;
  grid-template-columns: min-content auto;
  align-items: center;
}
.box-item.box-listing-val p {
  min-width: max-content!important;
  margin-left:5px;
  width: -webkit-fill-available!important;
  align-items: center;
}
.box-item.box-listing-val .value-text {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.box-item.box-listing-val .sell-score {
  place-self: end;
}




.box-item.box-listing-name p {
  width: fit-content
}
.box-item.box-listing-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.box-item.box-listing-name input, .box-listing-details input {
  border: unset;
  padding: 5px 5px;
  width: -webkit-fill-available;
  font-family: var(--font-family-body);
  border-radius:5px;
  background:lightyellow
}
.box-item.box-listing-name .remove-box {
  display:grid;
  justify-content: end;
  place-items: center;
  margin-left:10px;
}
.remove-box-confirm {
  width: 100%;
  padding: 14px 0px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background: var(--color-brand-orange);
  color: white;
  transition: background 0.3s ease;
  text-align: center;
  max-width: 400px;
  box-shadow: var(--box-shadow-button);
}
.box-img-list .box-img-item img  {
  background-color: white;
  float: right;
  margin-top: 5px;
  margin-right: 5px;
  padding: 2px;
  border-radius: 20px;
}
@media (max-width: 860px) {
  .box-img-list .box-img-item img {
padding:0px;
  }
}
.box-img-list .box-img-item .remove-box-confirm {
  background: #ff4500a8;
  color: var(--color-text-menu);
  min-height: unset;
  min-width: unset;
  width: 100%;
  height: 100%;
  padding:1px 2px;
  border-radius: 2px;
  font-size: 12px;
  position: relative;
  left:5px;
  top:5px;
}
.box-img-list .box-img-item .remove-box-confirm:hover {
  border:unset;
  box-shadow:unset;
  transform:unset;
}
@media (max-width: 860px) {
  .box-img-list .box-img-item .remove-box-confirm {
    font-size:14px;
  }
}

.box-item.box-listing-name .remove-box a {
  text-decoration: none;
}


#add-form {
text-align:center;
}

.photo-upload-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  place-items: center;
  margin-top:27px;
}
.photo-upload-wrapper .primary-btn {
 width: 100%;
}
@media (max-width: 860px) {
  .photo-upload-wrapper {
    grid-template-columns: 1fr;
    width: 100%;
}
}
.files-div {
  text-align: center;
}
.files-div a {
  text-decoration: none;
  color:var(--color-brand-blue);
}

/* Full-screen loader styling */
#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Cover the full viewport width */
  height: 100vh; /* Cover the full viewport height */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8); /* Optional: translucent background */
  z-index: 1000; /* Ensure it appears above everything */
}

#global-loader svg {
  width: 100px; /* Adjust loader size */
  height: 100px;
}

#error-message {
  position: fixed; /* Ensures it stays at the top, even when scrolling */
  height: 100vh;
  display: grid;
  place-content: center;
  width: 100%;
  background-color: #05050594; /* Light red background for error */
  color: #ffffff; /* Dark red text */
  padding: 10px;
  text-align: center;
  z-index: 1000; /* Ensures it appears above other content */
  display: none; /* Initially hidden */
  font-size: 20px;
}


/* custom css for intro.js - tour */

/* Transition effect */

.introjs-tooltipReferenceLayer * {
  font-family: var(--font-family-body)!important;
}
.introjs-tooltipReferenceLayer .introjs-tooltip {
  left:10px!important;
}
.introjs-tooltipReferenceLayer .introjs-tooltipReferenceLayer {
  font-family: var(--font-family-body);
  color: var(--color-text);
}
.introjs-tooltipReferenceLayer .introjs-progressbar {
  background-color: var(--color-brand-blue);
}
.introjs-tooltipReferenceLayer .introjs-button {
  background-color: var(--color-brand-blue-matte);
  color: white;
  font-family: var(--font-family-body);
  text-shadow: unset;
  border-radius: 20px;
  box-shadow: unset;
  border: unset;
}

.introjs-tooltipReferenceLayer .introjs-button.introjs-prevbutton.introjs-disabled {
  background-color: var(--color-border-box);
  color:var(--color-text-secondary);
}
.introjs-tooltipReferenceLayer .introjs-button.introjs-prevbutton.introjs-disabled:hover {
  background-color: var(--color-border-box);
  color:red;
}
.introjs-tooltipReferenceLayer .introjs-button.introjs-prevbutton:hover {
  background-color: var(--color-brand-blue);
  color: white;
}
.introjs-tooltipReferenceLayer .introjs-button.introjs-nextbutton {
  background-color: var(--color-brand-blue);
  color:white;
}
.introjs-tooltipReferenceLayer .introjs-button:focus {
  border: unset;
  box-shadow: unset;
}
/*confirmation box on delete*/
.confirmation-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
}
.confirmation-dialog p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}
.confirmation-dialog .confirm-yes {
  background-color: var(--color-brand-blue-matte); /* Green button */
  color: white;
  cursor: pointer;
}
.confirmation-dialog .confirm-no {
  background-color: var(--color-brand-blue); /* Red button */
  color: white;
  cursor: pointer;
}
.confirmation-dialog .confirm-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}


/* how to page */
@media (max-width: 860px) {
  .padding-wrapper.howto {
    padding: 10px;
  }
}
.how-to-image-wrapper {
  display: grid;
  grid-template-columns: max-content max-content max-content max-content auto auto;
  gap: 20px;
  margin-bottom: 20px;
}
.how-to-image-wrapper img {
  width: 60px;  /* Set thumbnail width */
  height: auto;  /* Maintain aspect ratio */
  cursor: pointer; /* Indicate they are clickable */
  border-radius: 5px; /* Rounded corners */;
  transition: transform 0.2s ease-in-out; /* Smooth hover effect */
 box-shadow: 0px 0px 15px 0px #00000030;
}
.how-to-image-wrapper img:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}
.hero-content-about.howto .btn {
  max-width: 180px;
}
.hero-content-about.howto .btn span {
  min-width: fit-content;
}
/* Ensure modal text is readable */
#modalText {
  position:absolute;
  top:0px;
  left:0px;
  color: white;
  font-size: 18px;
  background: var(--color-brand-orange);
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0px 0px 10px black;
  max-width: 100%;  /* Ensure it never exceeds the screen width */
  box-sizing: border-box; /* Include padding in width calculation */
  word-wrap: break-word; /* Force long words to wrap */
  overflow-wrap: break-word; /* Ensures wrapping even for long words */
  white-space: normal; /* Allows text to wrap naturally */
}
@media (max-width: 860px) {
  #modalText {
    top:unset;
    bottom:0px;
  }
}
/* Hidden modal by default */
.padding-wrapper.howto .modal {
  display: none; /* Ensure it's hidden initially */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* Style for the enlarged image */

.padding-wrapper.howto  .modal-content img {
    max-width: 95vw;  /* Max width: 90% of viewport width */
    max-height: 95vh; /* Max height: 90% of viewport height */
    border-radius: 10px;
    display: grid; /* Prevents inline spacing issues */
    place-self: center;
    object-fit: contain; /* Ensures image scales properly */
}
.padding-wrapper.howto  .modal-content button.prev, button.next {
  position: absolute;
  top: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  transform: translateY(-50%);
}

.padding-wrapper.howto  .modal-content button.prev { left: 10px; }
.padding-wrapper.howto  .modal-content button.next { right: 10px; }






/* cookie banner */
#cookie-banner {
  position: fixed; 
  bottom: 10px;
  left: 10px; 
  right: 10px; 
  background: #fff; 
  padding: 20px;
  display: block; 
  z-index: 1000;
  border-radius:20px;
}

#cookie-banner .cookie-accept-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

#cookie-banner .cookie-accept-options {
  display: grid;
  grid-template-rows: auto;
  gap: 10px;
  margin-top: 20px;
}

#cookie-banner .accept-yes {
  background: var(--color-brand-orange);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  place-self:flex-start;
}

#cookie-banner .accept-not {
  background: var(--color-brand-blue-matte);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  place-self:end;
}
@media (max-width: 860px) {
  #cookie-banner .cookie-accept-buttons {
    grid-template-columns: 1fr;
  }
  #cookie-banner .accept-not {
    place-self: flex-start;
  }
}