 /* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY */
body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  min-height: 100vh;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

header h1 {
  cursor: pointer;
}

/* TITLAR */
h2, h3 {
  text-align: center;
  margin: 15px 0;
}

/* HERO (STARTSIDA) */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
}

.hero button {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* KALENDER */
.calendar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  padding: 15px;
}

/* DAG BOX */
.day-box {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 10px;
  min-height: 300px;
}

/* DAG TITEL */
.day-box div:first-child {
  text-align: center;
  margin-bottom: 10px;
}

/* TIDER */
.time-block {
  margin: 5px 0;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

/* LEDIG */
.available {
  background: linear-gradient(135deg, #00ff99, #00c851);
  cursor: pointer;
}

/* BOKAD / EJ BOKNINGSBAR */
.booked {
  background: #555;
  cursor: not-allowed;
}

/* WEEK NAV */
.week-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px;
}

.week-nav button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.week-nav button:hover {
  transform: scale(1.05);
}

.week-nav button.active {
  background: linear-gradient(135deg, #ff7b00, #ff3c00);
}

/* BOKNINGAR */
.mybookings {
  max-width: 600px;
  margin: auto;
  padding: 10px;
}

/* BOKNING KORT */
.booking-info {
  background: #1e1e1e;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
}

/* KNAPPAR */
button {
  margin-top: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* AVBOKA */
button {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
}

/* ADMIN PANEL */
#adminPanel {
  max-width: 600px;
  margin: auto;
}

/* RESPONSIVE (MOBIL) */
@media (max-width: 768px) {

  .calendar-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 28px;
  }

  .day-box {
    min-height: auto;
  }

}