body {
  overflow-x: hidden;
}

.ocm-banner {
  position: fixed !important;
  z-index: 999999 !important;
  max-width: 400px !important;
  min-width: 320px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #333333 !important;
  transform: translateY(100px) !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid #e5e5e5 !important;
  overflow: hidden !important;
}

.ocm-banner.ocm-show {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* ===== ПОЗИЦИОНИРОВАНИЕ ===== */
.ocm-position-bottom-right {
  bottom: 20px !important;
  right: 20px !important;
}

.ocm-position-bottom-left {
  bottom: 20px !important;
  left: 20px !important;
}

.ocm-position-bottom-center {
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100px) !important;
}

.ocm-position-bottom-center.ocm-show {
  transform: translateX(-50%) translateY(0) !important;
}

.ocm-position-top-right {
  top: 20px !important;
  right: 20px !important;
  transform: translateY(-100px) !important;
}

.ocm-position-top-right.ocm-show {
  transform: translateY(0) !important;
}

/* ===== СОДЕРЖИМОЕ БАННЕРА ===== */
.ocm-banner-content,
.ocm-settings {
  padding: 24px !important;
}

.ocm-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
}

.ocm-title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.ocm-close {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: #666666 !important;
  cursor: pointer !important;
  padding: 0 !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.ocm-close:hover {
  background: #f5f5f5 !important;
  color: #333333 !important;
}

.ocm-description {
  margin: 0 0 20px 0 !important;
  color: #333333 !important;
  line-height: 1.6 !important;
}

.ocm-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.ocm-btn {
  padding: 12px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-family: inherit !important;
}

.ocm-btn-accept {
  background: #007bff !important;
  color: #ffffff !important;
}

.ocm-btn-accept:hover {
  background: #0056b3 !important;
  transform: translateY(-1px) !important;
}

.ocm-btn-reject {
  background: #6c757d !important;
  color: #ffffff !important;
}

.ocm-btn-reject:hover {
  background: #545b62 !important;
  transform: translateY(-1px) !important;
}

.ocm-btn-customize {
  background: transparent !important;
  color: #007bff !important;
  border: 2px solid #007bff !important;
}

.ocm-btn-customize:hover {
  background: #007bff !important;
  color: #ffffff !important;
}

.ocm-btn-save {
  background: #28a745 !important;
  color: #ffffff !important;
}

.ocm-btn-save:hover {
  background: #1e7e34 !important;
  transform: translateY(-1px) !important;
}

.ocm-back {
  background: none !important;
  border: none !important;
  color: #007bff !important;
  cursor: pointer !important;
  font-size: 14px !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.ocm-back:hover {
  background: #f8f9fa !important;
}

/* ===== НАСТРОЙКИ COOKIE ===== */
.ocm-category {
  margin-bottom: 20px !important;
  padding: 16px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border: 1px solid #e9ecef !important;
}

.ocm-category-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

.ocm-category-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 !important;
}

.ocm-category-title {
  font-weight: 500 !important;
  color: #1a1a1a !important;
  font-size: 15px !important;
}

.ocm-always-active-badge {
  display: inline-block !important;
  padding: 2px 8px !important;
  background: #e3f2fd !important;
  color: #1976d2 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  width: fit-content !important;
}

.ocm-category-desc {
  margin: 0 !important;
  color: #333333 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.ocm-essential-note {
  margin: 8px 0 0 0 !important;
  padding: 8px 12px !important;
  background: #fff3cd !important;
  border-left: 3px solid #ffc107 !important;
  color: #856404 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  border-radius: 4px !important;
}

/* ===== ПЕРЕКЛЮЧАТЕЛИ ===== */
.ocm-switch {
  position: relative !important;
  display: inline-block !important;
  width: 50px !important;
  height: 24px !important;
}

.ocm-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.ocm-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #ccc !important;
  border-radius: 24px !important;
  transition: all 0.3s ease !important;
}

.ocm-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 18px !important;
  width: 18px !important;
  left: 3px !important;
  bottom: 3px !important;
  background-color: white !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

input:checked + .ocm-slider {
  background-color: #007bff !important;
}

input:checked + .ocm-slider:before {
  transform: translateX(26px) !important;
}

input:disabled + .ocm-slider {
  background-color: #28a745 !important;
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}

/* ===== КНОПКА ПЕРЕКЛЮЧЕНИЯ - БАЗОВЫЕ СТИЛИ ===== */
.ocm-toggle {
  position: fixed !important;
  width: 50px !important;
  height: 50px !important;
  border: none !important;
  color: white !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 999998 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
}

/* ===== ПОЗИЦИОНИРОВАНИЕ TOGGLE КНОПКИ ===== */
.ocm-toggle.ocm-toggle-position-bottom-right {
  bottom: 20px !important;
  right: 20px !important;
}

.ocm-toggle.ocm-toggle-position-bottom-left {
  bottom: 20px !important;
  left: 20px !important;
}

.ocm-toggle.ocm-toggle-position-top-right {
  top: 20px !important;
  right: 20px !important;
}

.ocm-toggle.ocm-toggle-position-top-left {
  top: 20px !important;
  left: 20px !important;
}

.ocm-toggle.ocm-toggle-position-center-left {
  top: 50% !important;
  left: 20px !important;
  transform: translateY(-50%) !important;
}

.ocm-toggle.ocm-toggle-position-center-right {
  top: 50% !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
}

/* === THEME: minimal === */
.ocm-theme-minimal {
  border-radius: 4px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e0e0e0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #333333 !important;
}

.ocm-theme-minimal .ocm-banner-content,
.ocm-theme-minimal .ocm-settings {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #333333 !important;
}

.ocm-theme-minimal .ocm-title {
  color: #1a1a1a !important;
}

.ocm-theme-minimal .ocm-description {
  color: #333333 !important;
}

.ocm-theme-minimal .ocm-category-title {
  color: #1a1a1a !important;
}

.ocm-theme-minimal .ocm-category-desc {
  color: #333333 !important;
}

.ocm-theme-minimal .ocm-btn {
  border-radius: 4px !important;
  font-weight: 400 !important;
}

.ocm-theme-minimal .ocm-btn-accept {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

.ocm-theme-minimal .ocm-btn-accept:hover {
  background: #333333 !important;
  background-color: #333333 !important;
  color: #ffffff !important;
}

.ocm-theme-minimal .ocm-btn-reject {
  background: #6c757d !important;
  background-color: #6c757d !important;
  color: #ffffff !important;
}

.ocm-theme-minimal .ocm-btn-customize {
  border-color: #000000 !important;
  color: #000000 !important;
  background: transparent !important;
  background-color: transparent !important;
}

.ocm-theme-minimal .ocm-btn-customize:hover {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

.ocm-theme-minimal .ocm-category {
  background: #f8f9fa !important;
  background-color: #f8f9fa !important;
}

.ocm-theme-minimal .ocm-always-active-badge {
  background: #f5f5f5 !important;
  background-color: #f5f5f5 !important;
  color: #666666 !important;
}

/* === TOGGLE STYLE 16 === */
.ocm-toggle.ocm-toggle-style-16 {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: linear-gradient(
    45deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4
  ) !important;
  background-size: 300% 300% !important;
  animation: ocm-gradient-shift 6s ease infinite !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3) !important;
}

/* Fix positioning conflicts for center positions */
.ocm-toggle.ocm-toggle-style-16.ocm-toggle-position-center-left,
.ocm-toggle.ocm-toggle-style-16.ocm-toggle-position-center-right {
  transform: translateY(-50%) !important;
}

.ocm-toggle.ocm-toggle-style-16:hover {
  animation-duration: 3s !important;
  transform: scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4) !important;
}

.ocm-toggle.ocm-toggle-style-16.ocm-toggle-position-center-left:hover,
.ocm-toggle.ocm-toggle-style-16.ocm-toggle-position-center-right:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

@keyframes ocm-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
