/* Базовый баннер */
.cs-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f1f1f;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.cs-cookie-hidden {
  display: none !important;
}

.cs-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
}

@media (min-width: 768px) {
  .cs-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cs-cookie-text a {
  color: #4da6ff;
  text-decoration: underline;
}

.cs-cookie-text a:hover {
  text-decoration: none;
}

.cs-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Кнопки */
.cs-btn {
  border: none;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cs-btn-settings {
  background: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.cs-btn-settings:hover {
  border-color: #888;
  color: #fff;
}

.cs-btn-accept {
  background: #4da6ff;
  color: #0d0d0d;
  font-weight: 600;
}

.cs-btn-accept:hover {
  background: #3a88cc;
}

.cs-btn-save {
  background: #4da6ff;
  color: #0d0d0d;
  font-weight: 600;
}

.cs-btn-save:hover {
  background: #3a88cc;
}

/* Панель настроек */
.cs-cookie-settings {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

.cs-settings-row {
  padding: 12px 0;
  border-top: 1px solid #333;
}

.cs-setting-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cs-setting-label {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.cs-setting-always {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.cs-setting-desc {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.cs-settings-actions {
  margin-top: 16px;
  text-align: right;
}

/* Переключатель (toggle switch) */
.cs-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.cs-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cs-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #444;
  border-radius: 24px;
  transition: 0.3s;
}

.cs-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #e0e0e0;
  border-radius: 50%;
  transition: 0.3s;
}

.cs-toggle:checked + .cs-slider {
  background: #4da6ff;
}

.cs-toggle:checked + .cs-slider::before {
  transform: translateX(20px);
}
