/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2e3133;
  color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  padding: 20px;
  border-top: 2px solid #f8bc01; /* Kochbullen yellow */
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cookie-banner p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: white;
}

.cookie-banner a {
  color: #f8bc01; /* Kochbullen yellow */
  text-decoration: underline;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: #f8bc01; /* Kochbullen yellow */
  color: #2e3133; /* Kochbullen dark gray */
}

.btn-primary:hover {
  background-color: #d4a000; /* Darker yellow on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cookie Modal Styles */
.cookie-modal {
  display: block;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.cookie-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 25px;
  border: none;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8bc01; /* Kochbullen yellow */
  color: #2e3133;
  font-size: 1.5rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  z-index: 10002;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover,
.close:focus {
  color: #f8bc01; /* Kochbullen yellow */
  text-decoration: none;
}

.cookie-list {
  margin-bottom: 20px;
}

.cookie-category {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cookie-category h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #f8bc01; /* Kochbullen yellow */
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-category p {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.cookie-category ul {
  margin: 10px 0;
  padding-left: 20px;
}

.cookie-category li {
  margin-bottom: 8px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
}

.cookie-category li strong {
  font-weight: 600;
  margin-right: 5px;
  min-width: 150px;
  display: inline-block;
}

/* Cookie toggle switches */
.cookie-toggle {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9;
}

.cookie-toggle.necessary {
  background-color: #e8f4f8;
  border-color: #4CAF50;
}

.cookie-toggle input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
}

.cookie-toggle label {
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  flex-grow: 1;
}

.cookie-description {
  margin-left: 30px;
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
  }
  
  .cookie-banner-content {
    gap: 12px;
  }
  
  .cookie-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .cookie-modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
  }
  
  .cookie-toggle label {
    font-size: 14px;
  }
  
  .cookie-description {
    margin-left: 30px;
  }
}