/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: white;
  padding: 1.5rem 5vw;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid rgba(0,86,214,0.2);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

.cookie-text strong {
  color: white;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cookie-btn-accept {
  background: var(--blue);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.cookie-btn-settings:hover {
  background: var(--blue);
  color: white;
}

/* Privacy Settings Modal */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.privacy-modal.show {
  display: flex;
}

.privacy-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.privacy-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.privacy-close:hover {
  background: var(--off-white);
}

.privacy-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.privacy-section p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--off-white);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.cookie-option-desc {
  font-size: 0.85rem;
  color: var(--gray);
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  margin-left: 1rem;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
  background: var(--blue);
}

.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle.disabled .cookie-slider {
  cursor: not-allowed;
}

.privacy-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    min-width: auto;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .privacy-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .privacy-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    flex: 1;
  }
}
