body {
  margin: 0;
  font-family: Arial;
  background: #0b0f14;
  color: white;
}

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: #111823;
  font-size: 20px;
}

/* WIDGETS */
.widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.widget {
  background: #161d2a;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.large {
  height: 200px;
}

.label {
  font-size: 14px;
  opacity: 0.6;
}

.big {
  font-size: 50px;
  margin-top: 10px;
}

.small {
  opacity: 0.7;
}

/* NOTES */
textarea {
  width: 100%;
  height: 120px;
  margin-top: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  outline: none;
  resize: none;
}

/* APPS */
.apps {
  display: flex;
  gap: 15px;
  padding: 20px;
}

.app {
  flex: 1;
  padding: 25px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.app:hover {
  transform: scale(1.05);
}

/* STYLE APPS */
.timetable {
  background: #1d2636;
}

.domoticz {
  background: linear-gradient(135deg, #2c3e50, #3498db);
}

.sub {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 5px;
}

.daynav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px;
  background: #111823;
}

.daynav button {
  background: #1d2636;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
}

.agenda {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* style vertical agenda */
.agendaItem {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #161d2a;
  border-radius: 15px;
  align-items: center;
}

.time {
  font-size: 18px;
  width: 70px;
  opacity: 0.8;
}

.course {
  font-size: 18px;
}

.card {
  padding: 20px;
  background: #161d2a;
  border-radius: 15px;
}

#sportWidget {
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  color: black;
}

#forecast {
  padding: 20px;
}

.forecastItem {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 10px;
  background: #161d2a;
  border-radius: 15px;
}