/* Cookie Consent Widget */
.cookie-widget-btn {
  position: fixed;
  bottom: 20px;
  left: 90px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.cookie-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.6);
}

.cookie-widget-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-widget-modal.show {
  display: flex;
}

.cookie-widget-content {
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
}

.cookie-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  transition: all 0.3s ease;
}

.cookie-close:hover {
  color: #ef4444;
  transform: scale(1.2);
}

.cookie-header {
  text-align: center;
  margin-bottom: 25px;
}

.cookie-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #7c3aed;
  margin-bottom: 8px;
}

.cookie-header p {
  color: #64748b;
  font-weight: 500;
  line-height: 1.5;
}

.cookie-option {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  border: 2px solid rgba(124, 58, 237, 0.1);
  transition: all 0.3s ease;
}

.cookie-option:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.1);
}

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

.cookie-option-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7c3aed;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: #e5e7eb;
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-toggle.active {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cookie-toggle.active::after {
  transform: translateX(24px);
}

.cookie-option-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid rgba(124, 58, 237, 0.1);
}

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.cookie-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.cookie-btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.cookie-status {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cookie-widget-content {
    padding: 20px;
    margin: 10px;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-widget-btn {
    left: 90px;
    bottom: 20px;
  }
}