/* Cookie Consent Popup Styles */
.cookie-consent-overlay {
  position: fixed;
  left: 0;
  bottom: 0;
  width: auto;
  height: auto;
  min-width: 340px;
  max-width: 100vw;
  max-height: 100vh;
  background: none;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  pointer-events: none;
}

.cookie-consent-popup {
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(99, 106, 99, 0.15);
  max-width: 580px;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  animation: cookieSlideIn 0.3s ease-out;
  pointer-events: auto;
}

@keyframes cookieSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-consent-icon {
  width: 32px;
  height: 32px;
  margin-right: 1rem;
  color: #8b857c;
}

.cookie-consent-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #8b857c;
  margin: 0;
}

.cookie-consent-content {
  margin-bottom: 1.5rem;
}

.cookie-consent-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.cookie-consent-text a {
  color: #a89c8e;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #8b857c;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.cookie-consent-btn {
  padding: 0.75rem 1rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  flex: 1;
  box-sizing: border-box;
}

.cookie-consent-btn.accept-all {
  background-color: #8b857c;
  color: white;
  border-color: #8b857c;
}

.cookie-consent-btn.accept-all:hover {
  background-color: #636A63;
  transform: translateY(-1px);
}

.cookie-consent-btn.accept-essential {
  background-color: transparent;
  color: #8b857c;
  border-color: #8b857c;
}

.cookie-consent-btn.accept-essential:hover {
  background-color: #8b857c;
  color: white;
}

.cookie-consent-btn.settings {
  background-color: transparent;
  color: #a89c8e;
  border-color: #e0e0e0;
}

.cookie-consent-btn.settings:hover {
  background-color: #f8f8f8;
  color: #8b857c;
}

.cookie-consent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #a89c8e;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cookie-consent-close:hover {
  color: #8b857c;
  background-color: #f8f8f8;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings-content {
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(99, 106, 99, 0.15);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8b857c;
  margin: 0;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #a89c8e;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cookie-settings-close:hover {
  color: #8b857c;
  background-color: #f8f8f8;
}

.cookie-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b857c;
  margin: 0;
}

.cookie-category-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 1rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #8b857c;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}

.cookie-settings-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-overlay {
    padding: 1rem;
    min-width: 0;
  }
  .cookie-consent-popup {
    max-width: 98vw;
    padding: 1.2rem;
  }
  .cookie-consent-buttons {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .cookie-consent-popup {
    max-width: 100vw;
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  .cookie-consent-title {
    font-size: 1.1rem;
  }
  .cookie-consent-buttons {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
} 