.dashboard-container {
  display: flex;
  height: 100vh;
}

.start-tour-header-btn{
    background-color: #1f2a40;
    color: white;
    font-size: 18px;
    font-weight: bold;
    width: 200px;
    height: 50px;
    padding: 10px;
    margin-right: 100px;
    border: 1px solid #1f2a40;
    border-radius: 10px;
    cursor: pointer;
}

.start-tour-header-btn:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Main Content */
.dashboard-main {
  flex: 1;
  background-color: #f4f6f8;
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.dashboard-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #555;
}


.dashboard-card p {
  font-size: 24px;
  font-weight: bold;
  color: #222;
}

#offeneTourenBox h3 {
  font-size: 26px;
  color: #333;
}

#offeneTourenAnzahl {
  font-size: 36px;
  font-weight: bold;
  margin-top: 10px;
  color: #000;
}

.zeit-box {
  text-align: center;
  margin-top: 20px;
}

.uhrzeit-anzeige {
  font-size: 48px;
  font-weight: bold;
  color: #333;
}

.datum-anzeige {
  font-size: 18px;
  color: #555;
}

.dashboard-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  gap: 20px;
  align-items: flex-start; 
}

.dashboard-box-1,
.dashboard-box-2,
.dashboard-box-3 {
  background: rgba(163, 163, 163, 0.356);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 320px;
  max-width: 100%;
}

/* Tour-Karte */
.touren-liste-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-card {
  background: #1100ff9f;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  width: auto;
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.tour-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.tour-card.open .tour-details {
  max-height: 500px;
  padding: 10px 0 0;
}

.tour-details p {
  margin: 5px 0;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-start-tour {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  width: 510px;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.popup-start-tour h2 {
  text-align: center;
  font-size: 32px;
}

.popup-start-tour form {
  font-size: 18px;
  font-weight: bold;
}

.popup-start-tour input {
  padding: 8px;
  font-size: 18px;
  width: 100%;
  height: 25px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.popup-start-tour button {
  background-color: #1f2a40;
  color: white;
  font-size: 18px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: 1px solid #1f2a40;
  border-radius: 10px;
  margin-top: 50px;
  cursor: pointer;
}

.popup-start-tour button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.popup-close-btn {
  width: 24px;
  cursor: pointer;
  color: white;
}