.sc-widget,
.sc-widget * {
  box-sizing: border-box;
}

.sc-widget {
  position: fixed;
  z-index: 10001;
  left: 24px;
  bottom: 24px;
  width: calc(100% - 48px);
  max-width: 480px;
  padding: 24px;
  overflow: hidden;
  color: #f7fafc;
  font-family: "Open Sans", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(52, 152, 219, 0.28), transparent 44%),
    rgba(47, 67, 86, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 22px 55px rgba(29, 44, 58, 0.34);
  animation: sc-widget-show 0.45s ease both;
}

.sc-widget::before {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 0 0 16px;
  background: #72b6e3;
}

.sc-widget__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.55;
}

.sc-widget__text a,
.sc-widget__text a:visited {
  color: #ffffff;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.sc-widget__text a:hover {
  color: #ffffff;
  border-color: #ffffff;
  opacity: 0.82;
}

.sc-widget__actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.sc-widget__button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 11px 16px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: #f7fafc;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sc-widget__button:hover {
  transform: translateY(-1px);
}

.sc-widget__button:focus-visible,
.sc-widget__text a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.sc-widget__button--accept {
  color: #324c80;
  background: #ffffff;
  border-color: #ffffff;
}

.sc-widget__button--accept:hover {
  color: #2a426f;
  background: #edf6fc;
  border-color: #edf6fc;
}

.sc-widget__button--reject {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
}

.sc-widget__button--reject:hover {
  color: #324c80;
  background: #b9d9ee;
  border-color: #b9d9ee;
}

@keyframes sc-widget-show {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .sc-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 18px;
  }

  .sc-widget__text {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .sc-widget__actions {
    gap: 8px;
  }

  .sc-widget__button {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
}
