* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 20px;
}

#ALL {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;       /* Πιάνει όλο το διαθέσιμο πλάτος */
  max-width: 600px;  /* Αλλά δεν ξεπερνάει τα 600px */
}


#koumpia {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

#koumpia button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: white;
  cursor: pointer;
  transition: 0.3s;
}

#koumpia button:hover {
  background-color: lightgreen;
}


#stoixeia {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

#protieikona {
  width: 100px;
  height: 80px;
}


#hourly-forecast {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0;
}

.hour-box {
  min-width: 80px;
  text-align: center;
  background: white;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hour-box img {
  width: 40px;
  height: 40px;
}


#Times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 30px;
}

#Times > div {
  flex: 1 1 calc(50% - 10px);
  min-width: 45%;
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
#koumpia button.active-day {
  background-color: lightgreen !important;
  color: black; 
}

@media (max-width: 600px) {
  body {
    padding: 10px; 
  }

  #koumpia {
    display: flex;                
    flex-wrap: nowrap !important;
    justify-content: flex-start; 
    overflow-x: auto;            
    white-space: nowrap;         
    padding: 10px 5px;
    -webkit-overflow-scrolling: touch; 
  }

  #koumpia button {
    flex: 0 0 auto;              
  }

  #Times > div {
    flex: 1 1 100%; 
  }

  #stoixeia {
    flex-direction: column; 
    text-align: center;
  }
}
