/* ==================== INFO BUTTON ==================== */
.info-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #C4A000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  z-index: 1300;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.18s, transform 0.1s;
}

.info-button:hover {
  background: #a87d00;
  transform: translateY(-1px);
}

.info-button:active {
  transform: translateY(0);
}

/* ==================== INFO OVERLAY ==================== */
.info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.info-overlay.active {
  display: flex;
}

.info-panel {
  background: #fff;
  border: 3px solid #C4A000;
  border-radius: 12px;
  padding: 30px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-panel h2 {
  color: #a80000;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2em;
}

.info-panel h3 {
  color: #C4A000;
  margin-top: 0;
  margin-bottom: 15px;
}

.close-info {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #d00;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1.5em;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
}

.close-info:hover {
  background: #a00;
  transform: rotate(90deg);
}

/* ==================== INFO TABS ==================== */
.info-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #C4A000;
  flex-wrap: wrap;
}

.info-tab {
  background: #f5f5f5;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  transition: background 0.18s;
  color: #333;
}

.info-tab.active {
  background: #C4A000;
  color: #fff;
}

.info-tab:hover:not(.active) {
  background: #e0c060;
}

/* ==================== INFO CONTENT ==================== */
.info-content {
  display: none;
}

.info-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.info-content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.info-content strong {
  color: #a80000;
}

/* ==================== PUTZ-FORMULAR OVERLAY ==================== */
.cleaning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-in;
}

.cleaning-form {
  background: #fff;
  border: 3px solid #C4A000;
  border-radius: 12px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
}

.cleaning-form h3 {
  color: #a80000;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.cleaning-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.cleaning-form input[type="date"],
.cleaning-form textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #C4A000;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.cleaning-form input[type="date"]:focus,
.cleaning-form textarea:focus {
  outline: none;
  border-color: #a87d00;
  box-shadow: 0 0 0 2px rgba(196, 160, 0, 0.1);
}

.cleaning-form textarea {
  resize: vertical;
  min-height: 80px;
}

.cleaning-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-save,
.btn-cancel {
  flex: 1;
  padding: 12px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
}

.btn-save {
  background: #0a0;
  color: #fff;
}

.btn-save:hover:not(:disabled) {
  background: #080;
}

.btn-save:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-cancel {
  background: #999;
  color: #fff;
}

.btn-cancel:hover {
  background: #777;
}

.btn-save:active:not(:disabled),
.btn-cancel:active {
  transform: scale(0.98);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
  .info-panel {
    width: 95%;
    padding: 20px;
    max-height: 90vh;
  }
  
  .info-panel h2 {
    font-size: 1.5em;
  }
  
  .info-tabs {
    gap: 5px;
  }
  
  .info-tab {
    padding: 8px 12px;
    font-size: 0.9em;
  }
  
  .cleaning-form {
    width: 95%;
    padding: 20px;
  }
  
  .info-button {
    padding: 10px 18px;
    font-size: 1em;
  }
}