/*
 * Krásná Česká republika - Cookie Consent Stylesheet
 */

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(29, 53, 87, 0.95);
  color: white;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  border-top: 3px solid var(--primary-color);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-content {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner h3 {
  margin-bottom: 0.75rem;
  color: white;
}

.cookie-banner p {
  margin-bottom: 1rem;
  line-height: 1.5;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  border: 2px solid transparent;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 black;
}

.cookie-btn.primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.cookie-btn.primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.cookie-btn.secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.cookie-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  border: 2px solid var(--dark-color);
  box-shadow: 6px 6px 0 var(--dark-color);
}

.cookie-modal.visible .cookie-modal-content {
  transform: translateY(0);
}

.cookie-modal h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.cookie-modal p {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--gray-light-color);
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.cookie-option:hover {
  background-color: var(--gray-light-color);
}

.cookie-option label {
  font-weight: bold;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cookie-option input {
  margin-right: 0.75rem;
  cursor: pointer;
}

.cookie-description {
  margin-top: 0.5rem;
  margin-bottom: 0;
  margin-left: 1.75rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-modal-buttons {
    flex-direction: column;
  }
  
  .cookie-modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}
