/* Cookie Consent Banner Styles */
#cookie-consent-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  z-index: 99999;
  transition: bottom 0.3s ease-in-out;
}

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

.cookie-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.cookie-banner-content {
  background: white;
  padding: 25px 30px;
  border-top: 3px solid #6C63FF;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin: 0 auto;
  max-height: 90vh;
  overflow-y: auto;
}

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

.cookie-banner-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #1a1a2e;
}

.cookie-banner-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.cookie-banner-close:hover {
  color: #333;
}

.cookie-banner-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.cookie-btn-secondary {
  background: #f1f1f1;
  color: #333;
}

.cookie-btn-secondary:hover {
  background: #e0e0e0;
}

.cookie-btn-tertiary {
  background: transparent;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.cookie-btn-tertiary:hover {
  background: #6366f1;
  color: white;
}

.cookie-settings {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.cookie-option {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #6366f1;
}

.cookie-option-header {
  margin-bottom: 8px;
}

.cookie-option-header label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.cookie-option-header input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #6366f1;
}

.cookie-option-header input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-option-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  padding-left: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    padding: 20px;
  }
  
  .cookie-banner-header h3 {
    font-size: 1.2rem;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-option-desc {
    padding-left: 0;
    margin-top: 5px;
  }
}

/* Cookie settings link in footer */
.cookie-settings-link {
  cursor: pointer;
  text-decoration: underline;
  color: inherit;
}

.cookie-settings-link:hover {
  opacity: 0.8;
}
