/* 
  Cookie-consent.css
  Styles for the cookie consent system
  vesennyaya-kolbasa.com
*/

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem;
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.cookie-content p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  max-width: 800px;
}

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

.cookie-settings-panel {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid #eee;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.cookie-settings-panel.active {
  display: block;
  max-height: 500px;
}

.cookie-settings-content h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cookie-option {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.cookie-option input[type="checkbox"] {
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.cookie-option label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.cookie-option p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-medium);
}

.cookie-settings-buttons {
  margin-top: 1.5rem;
}

/* Responsive styles for cookie consent */
@media (max-width: 768px) {
  .cookie-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  .cookie-content h3 {
    font-size: 1.1rem;
  }
  
  .cookie-content p {
    font-size: 0.9rem;
  }
}
