#clothingapp body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
#clothingapp-wrapper {
  min-height: 591px;   /* Wert ggf. anpassen – lieber zu groß als zu klein */
}
/*deactivating arrows for input fields to use custom buttons*/
#clothingapp input[type=number]::-webkit-inner-spin-button, 
#clothingapp input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
    appearance: none; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp input[type=number]{
  /* Firefox */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* Input Felder */
/* Submit Button */

#clothingapp .autocomplete {
  position: relative;
  width: 90%;
  margin: 0 auto 20px auto; /* Zentriert und mit Abstand nach unten */
  height: 48px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
#clothingapp .searchicon {
  position: absolute;
  left: 5px; /* Abstand vom linken Rand des Containers */
  top: 50%;
  transform: translateY(-50%); /* Vertikal zentrieren */
  pointer-events: none; /* Damit das Symbol keine Eingaben blockiert */
}
/* For Firefox */
#clothingapp #myInput::-moz-placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* For Chrome, Safari, and Opera */
#clothingapp #myInput::-webkit-input-placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* For standard-compliant browsers */
#clothingapp #myInput::placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp input[type="text"] {
  width: 100%; /* Breite auf 100%, um die volle Breite des Containers zu nutzen */
  padding: 0 10px 0 40px; /* Padding für das Lupensymbol */
  font-size: 15px;
  line-height: 44px;
  color: black;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  appearance: none;
  background-color: white;
  box-sizing: border-box;
}
#clothingapp .browserlocationtext {
  width: 90%; /* Breite auf 100%, um die volle Breite des Containers zu nutzen */
  padding: 0 10px 0 40px; /* Padding für das Lupensymbol */
  font-size: 16px;
  line-height: 44px;
  appearance: none;
  background-color: white;
  box-sizing: border-box;
}
/* Radio Buttons under input search */
#clothingapp .Eingabemaske {
  background: white;
  display:flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 400px;
  margin: -30px auto 20px auto;
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  user-select: none;
  letter-spacing: 0.02rem;
}
#clothingapp .appclaim {
  width: 90%;
  margin: 20px auto 20px auto;
}
#clothingapp .claimtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 1rem;
}
#clothingapp .claimdescription {
  margin:0;
  color: #4b5563;
}
#clothingapp .radiobuttons {
  display: grid;
  width:90%;
  min-height: 66px;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top:5px;
}
#clothingapp .select-wrapper select {
  width: 100%;
  padding: 0.5rem;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}
#clothingapp .select-wrapper label {
  display: block;
  font-weight: 600;
  letter-spacing: 0.03rem;
  font-size: 16px;
  color: #374151;
  margin-bottom: 0.25rem;
}
/* Fokus-Stil */
#clothingapp .select-wrapper select:focus {
  outline: none;
  border-color: #666;
  color:black;
}

#clothingapp .clothingcta-button {
  display: inline-block;
  width: 90%;
  margin-left: 10px;
  margin-right:10px;
  margin-bottom:15px;
  line-height:40px;
  min-height:40px;
  padding: 0;
  font-size: 18px; /* Optimale Schriftgröße */
  color: black; /* Schriftfarbe */
  background-color: #ffcd00; /* Hintergrundfarbe */
  border: none; /* Keine Rahmen */
  border-radius: 4px; /* Abgerundete Ecken */
  cursor: pointer; /* Zeiger-Cursor */
  text-align: center; /* Textzentrierung */
  text-decoration: none; /* Keine Unterstreichung */
}
#clothingapp .clothingcta-button:hover {
  background-color: #e6b800; /* Etwas dunklerer Hintergrund beim Hover */
}
#clothingapp .clothingcta-button:focus {
  outline: none;
  border: 2px solid #666; /* Fokus-Stil */
}
/*autocomplete menu under search box*/
#clothingapp .autocomplete-items {
  position: absolute;
  border: 2px solid #e4e4e4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 2px solid #e4e4e4; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/*when hovering an item:*/
#clothingapp .autocomplete-items div:hover {
  background-color: #74cbfb; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/*when navigating through the items using the arrow keys:*/
#clothingapp .autocomplete-active {
  background-color: #74cbfb !important; 
  color: #000000; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* output made responsive with flex*/
#clothingapp .outer_container{
  margin-left: auto;
  margin-right: auto;
  color: black;
  opacity: 0.95;
  width: 100%; 
  border-radius: 5px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .cardWeatherData{
  display: none;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:15px;
  margin-top:15px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .forecast {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  background:white;
  border-radius: 8px;
  width: 70%;
  position:relative;
  height: 100%;
  padding: 0 20px; /* Zusätzlicher Abstand vom Rand */
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
  border: 1px solid #e1e5e9;
  box-shadow: none;
  background-color: white;
  /* Margin um sicherzustellen dass Border sichtbar ist */
  margin: 1px 0;
  /* Canvas-Optimierungen hinzufügen */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Align child elements horizontally */
#clothingapp .forecast > * {
  align-self: center;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .time-group {
  flex-grow: 1; 
  display:flex;
  flex-direction: column;
  text-align: left;
  font-size: 18px;
  padding: 10px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tab {
  width: 100%;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .search-criteria-box {
  display: none;
  position: relative;
  flex-direction: column;
  line-height: normal;
  border: 5px solid #ffcd00;
  width: 400px;
  margin: 0 auto;
  max-width: 100%;
  background-color:white;
  border-radius: 0.75rem;
  letter-spacing: 0.02rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  cursor: pointer;
  font-weight:500;
  box-sizing: border-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .search-location {
  display:flex;
  align-items: center;
  line-height:16px;
  gap:5px;
  font-size: 16px;
  padding-top: 8px;
  padding-left: 8px;
}
#clothingapp .search-criteria-value {
  font-size: 14px;
  padding: 8px;
}
#clothingapp .search-image {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  background-color: #ffcd00; /* Schwarzer Hintergrund */
  border:1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px; /* Abgerundete Ecken für den Hintergrund */
}
#clothingapp .kleidungsvorschlagtitle {
  color: black;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  letter-spacing:0.02rem;
  margin-top:10px;
  margin-bottom: 15px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .cardManualInput h1, .cardManualInputinput{
  display: inline-block;
  vertical-align: middle;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* Grid Items */
#clothingapp .kleidungsvorschlag {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(150px, 0.5fr));
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 14px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .cardManualInput {
  position: relative;
  text-align: center;
  top: 0;
  width: 85%;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .minusButton,
.plusButton {
display: inline-block;
width: 44px;
height: 44px;
line-height: 44px;
font-size: 20px;
font-weight: bold;
cursor: pointer;
font-size: 32px;
color: black;
border: 1px solid #ededed;
user-select: none;
border-radius: 4px;
margin-left:60px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tempinput {
position:absolute;
top:0;
display:inline-block;
appearance: none;
border:none;
padding: 0;
width: 50px;
height: 44px;
line-height: 44px;
color: black;
text-align: center;
font-size: 18px;
border-radius: 4px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .Gridimage{
  height: 80px;
  padding-top: 5px;
  margin-bottom: 10px;
  margin-top:5px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .Gridimage img{
  max-height: 100%;
  width:auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {
  #clothingapp .Gridimage {
    height: 45px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#clothingapp .GridItem .caption{
  display: flex; /* Um Elemente nebeneinander auszurichten */
  width: 100%;
  line-height: 24px;
  border-radius: 12px;
  color:black;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .GridItem .caption a{
  position:relative;
  width: 90%;
  display:inline-block;
  font-weight:500;
  color: black;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  background: #ffcd00;
  border-radius: 8px;
  text-decoration:none;
  margin: 4px auto;
  margin-top: 0;
  padding: 4px 0;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
@media (max-width: 1023px) {
  #clothingapp .GridItem img{
    max-height: 100%;
    width:auto;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#clothingapp .additional-button {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 50%; /* wenn du Hover-Effekt willst */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
#clothingapp .additional-button:hover {
  background: #f3f3f3;
}
#clothingapp .additional-button:active {
  transform: scale(0.95);
}
/* Grid Items */
#clothingapp .GridItem {
  /* ... other styles ... */
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  background-color:white;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position:relative;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .slider-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .slider-navigation button {
  background-color:white; /* Dunklere Hintergrundfarbe */
  color: black;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  box-sizing: border-box; /* Überschreibe box-sizing für die Buttons */
  border-radius:50%;
  border: 1px solid #ededed;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Entfernt das Padding */
}
#clothingapp .slider-container {
  position: relative;
  max-width: 100%; 
  overflow: hidden; /* Hide the scrollbar and outer cards */
  display: flex; /* Add flex container properties */
  justify-content: center; /* Center the slides horizontally */
  align-items: stretch; /* Set the container to stretch vertically */
  color:black;
  margin-left: auto;
  margin-right: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
/* Padding für sichtbare Borders */
  padding: 2px 0; /* Oben/unten 2px für 1px Border + 1px Abstand */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#clothingapp .slider {
  touch-action: pan-y pan-x; /* Allows both vertical and horizontal gestures */
  display: flex;	
  width: 100%;	
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
  /* Canvas-Optimierungen hinzufügen */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.2s linear;
}

#clothingapp .slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0; /* Add this line to set the z-index to 0 */
  letter-spacing: 0.02rem;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
  /* Canvas-Optimierungen hinzufügen */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.2s linear;
}

@media (max-width: 1023px) {		
  #clothingapp .cardWeatherData{
    display: none;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:15px;
    margin-top:15px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
  #clothingapp .slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
    background-color: transparent;
    letter-spacing: 0.02rem;
    z-index: 0; /* Add this line to set the z-index to 0 */
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#clothingapp .temperature{
  flex-grow: 1; 
  font-weight: bold;
  font-size: 2.5rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #clothingapp .temperature{
    flex-grow: 1; 
    font-weight: bold;
    font-size: 2rem;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#clothingapp .weather-container {
  display: flex;
  flex-grow: 1; 
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Align items vertically in the center */
  height: 60px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .weather-icon img{
  height: 30px;
  width: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #clothingapp .weather-icon img{
    height: 30px;
    width: auto;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#clothingapp .precipitation {
  display: flex;
  align-items: center; /* Center items vertically */
  gap:5px;
  margin-left: 10px; /* Adjust the spacing between the weather icon and precipitation */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .niederschlag-logo {
  width: 16px;
  height: 16px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #clothingapp .niederschlag-logo {
    width: 16px;
    height: 16px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#clothingapp .niederschlag-value {
  font-size: 1rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .description {
  display:none;
  font-size: 1rem;
  line-height: normal;
  margin-bottom: 10px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #clothingapp .niederschlag-value  {
    font-size: 0.8rem;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
  #clothingapp .description {
    display:none;
    font-size: 0.8rem;
    line-height: normal;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#clothingapp .slide.highlighted {
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .tippcontainer {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  max-width:360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .openweathercredits {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 16px auto 16px auto;
  padding-bottom: 8px;
  max-width: 480px;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.3;
}

#clothingapp .openweathercredits a {
  color: #6b7280; /* neutral grau */
  text-decoration: underline; /* klarer Link */
}

#clothingapp .openweathercredits img {
  height: 18px;
  width: auto;
  opacity: 1;
}

#clothingapp .tippcontainer img {
  align-self: self-start; /* Align the image to the start of the text */
  margin-left: 10px;
  z-index:-2;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .sprechblase {
  position: relative;
  letter-spacing: 0.02rem;
  background: #ffffff;
  color: black;
  font-size: 1.2rem;
  text-align: center;
  max-width: 500px;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 5px;
  border: 1px solid black;
  border-bottom: 3px solid black;
  border-left: 3px solid black;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {
  #clothingapp .sprechblase {
  font-size: 1rem;
  max-width: 100%;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#clothingapp .sprechblase:before {
content: '';
position: absolute;
display: block;
width: 0;
z-index: -1;
border-style: solid;
border-color: #000000 transparent;
border-width: 25px 25px 0;
bottom: -20px;
left: 20%;
margin-left: -20px;
transform: rotate(10deg);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .sprechblase:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  z-index: 1;
  border-style: solid;
  border-color: #ffffff transparent;
  border-width: 19px 19px 0;
  bottom: -16px;
  left: 22.5%;
  margin-left: -20px;
  transform: rotate(10deg);
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#clothingapp .tabs {
  display: flex; /* Fallback: inline-block */
  justify-content: center;
  flex-wrap: wrap; /* Make sure it wraps */
  width: 400px;
  max-width: 100%;
  min-height: 120px;
  margin-left: auto;
  margin-right: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tabs label {
  order: 1; /* Put the labels first */
  width:30%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0px;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tabs .tab {
  order: 99; /* Put the tabs last */
  flex-grow: 1;
  height: 44px;
  width: 100%;
  display: none;
  padding: 20px 0 5px 0;
  text-align: center; /* Zentriere den Inhalt horizontal */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tabs input[type="radio"] {
	display: none;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tabs input[type="radio"]:checked + label {
  background: white;
  border:1px solid #ffcd00;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  z-index: 2;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .tabs input[type="radio"]:checked + label + .tab {
	display: block;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .browser-location-button {
	display: inline-block;
  height: 44px; /* Höhe der Buttons */
  line-height: 44px; /* Vertikales Zentrieren */
  padding: 0 15px; /* Padding für den Text */
  background-color: #ffcd00;
  color: black;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid black;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: normal;
  color: #666;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
#clothingapp .close-button:active,
#clothingapp .close-button:hover {
  background: rgba(0, 0, 0, 0.05); /* leichtes Feedback beim Tippen */
}
#clothingapp .main-header {
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}
#clothingapp .dropdown-header-text {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  color:#111;
  width: 90%;
  margin: 0 auto;
}
#clothingapp .option-remark {
  color: #444;  /* Etwas dunkler für bessere Lesbarkeit */
  font-size: 0.9rem;  /* Größer für bessere Lesbarkeit */
  line-height: 1.5;  /* Mehr Luft zwischen den Zeilen */
  margin-top: 8px;  /* Nur margin statt margin + padding */
  padding-left: 10px;
  padding-right: 10px;
}
#clothingapp .modal-content .alternative-option {
  position:relative;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 10px 4px 30px 4px;
  margin: 5px 0 20px 0;
  transition: background-color 0.2s;
  }
#clothingapp .alternative-option:hover {
  background: #f0f0f0;
}
#clothingapp.dropdown-active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* halbtransparent, wie dein anderes Overlay */
  backdrop-filter: blur(2px); /* weichzeichnen */
  z-index: 1001; 
}
#clothingapp .modal-content .alternative-header {
  font-weight: 500;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 6px;
  padding: 0 8px; /* Seitenabstand hinzufügen */
}
#clothingapp .alternative-header span {
  color:#222;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
#clothingapp .swap-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
#clothingapp .item {
  display: flex;
  align-items: center;
  text-align: center;
  background: white;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid #999;
  font-size: 0.9rem;
  color: #222;
}
#clothingapp .item-group {
  display: flex;
  gap: 4px;
}
#clothingapp .swap-arrow {
  display: flex;
  align-items: center;  /* Vertikal zentrieren */
  justify-content: center;  /* Falls nötig, horizontal zentrieren */
  height: 100%;  /* Falls das Eltern-Element eine feste Höhe hat */
}
#clothingapp .alternative-option:hover .swap-arrow {
  color: #333;
}
#clothingapp .swap-indicator {
  position: absolute;
  right: 15px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 2px; /* Reduzierter Abstand */
  color: #0066cc; /* Link-Blau */
  font-size: 14px; /* Kleinere Schriftgröße */
}
#clothingapp .swap-indicator-text {
  color: #0066cc; /* Explizit blaue Textfarbe */
}
#clothingapp .icon-arrow {
  font-weight: 600; /* Optional, um sicherzustellen, dass das Icon fett ist */
  font-size: 1rem; /* Größe des Icons */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .loadingIndicatorLocation {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -30%);
  flex-direction: column; /* Ändere die Ausrichtung auf eine vertikale Spaltenausrichtung */
  align-items: center;
  z-index: 9999; /* Stelle sicher, dass der Text und der Spinner über anderen Elementen liegen */
  display:none;
}

#clothingapp .loadingIndicatorLocation .spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3); /* heller und transparenter */
  border-top-color: #ffffff; /* weiß für besseren Kontrast */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#clothingapp .loading-text {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8); /* schwarzer Schatten */
}
#clothingapp .checkboxauto {
  display: flex;
  align-items: baseline; /* Vertikale Ausrichtung oben */
  margin-bottom: 5px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .checkboxauto::before {
  content: "✓"; /* Unicode-Code für das Häkchen-Symbol */
  color: white; /* Farbe des Häkchens */
  background: linear-gradient(135deg, #5ab6f8 0%, #74cbfb 100%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  line-height:normal;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .sprechblase img{
  width: 32px;
  height: 32px;
  padding-right: 10px;
  z-index:2;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#clothingapp .input_alter {
  color:black;
}
#clothingapp .input_transportation {
  color:black;
}
#clothingapp .dropdown-inside {
  padding-right: 5px;
}
#clothingapp .dropdown-inside select {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #000;
}
#clothingapp .sleepcontainer {
  width: 100%;
  max-width: 500px;
  padding: 16px;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  font-size: 1.2rem;
}
#clothingapp .sleepclothingtext {
  display: none;
  margin: 0 auto;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  justify-content: center;
  font-weight: 400;
  letter-spacing: 0.02rem;
  background-color: white;
  border-radius: 0.75rem;
  color:black;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 15px 0px;
  margin-bottom: 1rem;
  margin-top:15px;
  box-sizing: content-box;
}
#clothingapp .info-text-sleep {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #4b5563;
  padding: 0 20px;
  margin: 8px 0;
}
#clothingapp .row-inside-temp {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 20px;
}
#clothingapp .row-inside-temp label {
  text-align: left;
  padding-left: 5px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
#clothingapp .toggle-settings-inside {
  text-decoration: dotted;
  color:blue;
  cursor: pointer;
}
#clothingapp .hidden {
  display: none;
}
#clothingapp .affiliate-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  border-radius: 50%; /* wenn du Hover-Effekt willst */
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.1s ease;
}
#clothingapp .affiliate-icon:hover {
  background: #f3f3f3;
}
#clothingapp .affiliate-icon:active {
  transform: scale(0.95);
}
#clothingapp .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: calc(var(--vh, 1vh) * 100); /* statt 100vh */
  background-color: rgba(0, 0, 0, 0.4);
  display: none; /* wird per JS auf "flex" gesetzt */
  justify-content: center;
  align-items: flex-end; /* wichtig: von unten ausrichten */
  z-index: 999;
  backdrop-filter: blur(2px);
}
#clothingapp .modal-content {
  background: white;
  position:relative;
  width: 100%;
  max-width: none;
  max-height: 75vh;
  padding: 8px 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* wichtig für iOS */
  border-radius: 16px 16px 0 0;
  animation: slideUpSheet 0.3s ease-out;
  transform: translateY(0);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
#clothingapp .modal-closing {
  animation: slideDownSheet 0.25s ease-out forwards;
}
@keyframes slideDownSheet {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
#clothingapp .sheet-handle {
  width: 48px;
  height: 4px;
  background: #ccc;
  border-radius: 3px;
  margin: 4px auto 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#clothingapp .modal-header {
  display: flex;
  align-items: center;
}
#clothingapp .recommendation-badge {
  display: inline-block;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#clothingapp #affiliateImage {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px auto 0;
  padding: 0;
}

#clothingapp #affiliateTitle a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
}

#clothingapp .product-highlights {
  margin-bottom: 12px;
}

#clothingapp .feature-item {
  display: flex;
  font-size:14px;
  color:#555;
  margin-bottom: 6px;
  line-height: normal;
}

#clothingapp .checkmark {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

#clothingapp .affiliateActionRow {
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 12px;
  margin-top:10px;
  margin-bottom: 16px;
}

#clothingapp .affiliate-price {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.2; 
  white-space: nowrap;
}

#clothingapp .affiliate-button {
  background-color: #ffcd00;
  border: none;
  border-radius: 6px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(213, 217, 217, 0.5);
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#clothingapp .affiliate-button:hover {
  background-color: #F7CA00;
}

#clothingapp .affiliate-button:active {
  transform: scale(0.98);
}

#clothingapp .modal-hint {
  font-size: 11px;
  color: #555;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 0 2px 0;
  line-height: 1.2;
}
#clothingapp .modal-inner {
  max-width: 420px;
  margin:0 auto 0;
}
#clothingapp .amazon-logo {
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  position:relative;
  top:1px;
}

#clothingapp .icon-image {
  display: block;
  width: 24px;
  height: 24px;
}
@supports (--vh: 1vh) {
  #clothingapp .modal-overlay {
    height: calc(var(--vh) * 100);
  }
}
@media (min-width: 768px) and (min-height: 541px) {
  #clothingapp .modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px; /* Abstand zum Rand */
  }

  #clothingapp .modal-content {
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  }

  #clothingapp .close-button {
    top: 12px;      /* vorher: 0 – Abstand zu runden Ecken */
    right: 12px;    /* vorher: 0 – optisch zentrierter im Card-Stil */
  }

  #clothingapp .sheet-handle{
    display:none;
  }

  #clothingapp .recommendation-badge {
    margin-top:10px;
  }
}
@media (max-height: 540px) {
  #clothingapp .modal-main{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  #clothingapp .affiliateActionRow {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  #clothingapp .affiliate-price {
    flex: 1; /* Kein automatisches Strecken */
    font-size: 17px;
    white-space: nowrap;
    text-align:center;
  }

  #clothingapp .affiliate-button {
    flex: 2; /* Button nimmt restlichen Platz */
    padding: 10px;
    font-size: 14px;
  }
}

#clothingapp .share-actions {
  max-width: 280px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  margin-bottom: 12px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Haupt-CTA-Style */
#clothingapp .share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  gap: 0.45em;
  background-color: #ffcd00;
  color: #111827;
  border: none;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition:
  background-color 0.15s ease,
  box-shadow 0.15s ease,
  transform 0.05s ease;
}
#clothingapp .share-button:hover {
  background-color: #fbbf24;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
}

#clothingapp .share-button:active {
  background-color: #f59e0b;
  transform: scale(0.98);
}

#clothingapp .share-button:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

#clothingapp .share-button .share-icon {
  width: 22px;
  height: 22px;
  fill: #000;
}

#clothingapp .icon-wrapper {
  display: flex;
}

#clothingapp .share-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#clothingapp .share-loader-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 0.4em;
}

#clothingapp .share-label {
  position:relative;
  line-height: 1;
  top: -1px; 
}