/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: white;
  padding: 15px 0;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  transition: bottom 0.4s ease-in-out;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  line-height: 1.4;
}

.cookie-text p:first-child {
  margin-bottom: 5px;
}

.cookie-title {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
}

.cookie-description {
  font-size: 0.9em;
  color: #ffffff;
  margin: 0;
}

.cookie-policy-link {
  color: #74b9ff;
  text-decoration: underline;
}

.cookie-policy-link:hover {
  color: #0984e3;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.9em;
  white-space: nowrap;
}

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

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

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.cookie-modal-header h3 {
  margin: 0;
  color: #2c3e50;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-body {
  padding: 0 24px;
}

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

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

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

.cookie-category-header h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 1em;
}

.cookie-required {
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
}

.cookie-optional {
  background: #3498db;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
}

.cookie-category p {
  margin: 0 0 12px 0;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-toggle.disabled {
  opacity: 0.6;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-toggle label {
  cursor: pointer;
  font-weight: 500;
  color: #2c3e50;
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-modal-footer .btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Privacy Policy Page Styles */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.privacy-section p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.privacy-section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.privacy-section li {
  line-height: 1.6;
  margin-bottom: 8px;
  color: #555;
}

.contact-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.contact-info p {
  margin-bottom: 5px;
}

/* CCPA Compliance Notice */
.cookie-category .cookie-required {
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
}

.cookie-category p strong {
  color: #e74c3c;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    min-width: auto;
  }
  
  .cookie-actions {
    justify-content: center;
  }
  
  .cookie-modal {
    padding: 10px;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .btn {
    width: 100%;
  }
  
  .privacy-content {
    padding: 20px 10px;
  }
  
  .privacy-section h2 {
    font-size: 1.3em;
  }
}
