/* cookie */
#cookieSettings-modalFooter {
  width: 100%;
}

.dpsg-cookieBanner .button-section {
  display: -moz-box;
  display: flex;
  flex-wrap: wrap;
}

.dpsg-cookieBanner .button-section > button {
  font-size: 0.875rem;
  height: 36px;
  line-height: 1.125rem;
  padding: 8px 16px;
}

@media (max-width: 767px) {
  .dpsg-cookieBanner .button-section > button {
    width: 100%;
  }
  #cookie-acceptAll-button,
  #cookieSettings-acceptAll-button {
    margin-left: 0 !important;
  }
}

@-webkit-keyframes slide-in-from-bottom-mobile {
  0% {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@-moz-keyframes slide-in-from-bottom-mobile {
  0% {
    -moz-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slide-in-from-bottom-mobile {
  0% {
    -moz-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes slide-in-from-bottom-tablet {
  0% {
    transform: translate(-50%, 100%);
  }

  to {
    transform: translate(-50%);
  }
}

@-moz-keyframes slide-in-from-bottom-tablet {
  0% {
    -moz-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
  }

  to {
    -moz-transform: translate(-50%);
    transform: translate(-50%);
  }
}

@keyframes slide-in-from-bottom-tablet {
  0% {
    -moz-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
  }

  to {
    -moz-transform: translate(-50%);
    transform: translate(-50%);
  }
}

.cookie-popup {
  display: none;
  -webkit-animation: slide-in-from-bottom-mobile 0.2s;
  -moz-animation: slide-in-from-bottom-mobile 0.2s;
  animation: slide-in-from-bottom-mobile 0.2s;
  color: #fff;

  box-shadow: 0 -2px 4px rgba(78, 89, 105, 0.08), 0 2px 4px rgba(78, 89, 105, 0.2);
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  padding: 24px 16px;
  position: fixed;
  z-index: 10001;
  box-shadow: 0 2px 10px 2px rgba(57, 62, 73, 0.5);
  background-color: #006355;
}

@media (min-width: 768px) {
  .cookie-popup {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: auto;
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .cookie-popup {
    -webkit-animation: slide-in-from-bottom-tablet 0.2s;
    -moz-animation: slide-in-from-bottom-tablet 0.2s;
    animation: slide-in-from-bottom-tablet 0.2s;
    inset: auto;
    bottom: 0;
    left: 50%;
    padding: 32px;
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
  }
}

.cookie-popup a {
  color: #0066fc;
  cursor: pointer;
  text-decoration: none;
}

.cookie-popup > .title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

@media (min-width: 1024px) {
  .cookie-popup > .title {
    font-size: 1.375rem;
    line-height: 1.75rem;
    margin-bottom: 16px;
  }
}

.cookie-popup > .desc {
  color: #d5d5d5;
  font-size: 0.75rem;
  line-height: 1.1rem;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .cookie-popup > .desc {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .cookie-popup > .desc {
    margin-bottom: 40px;
  }
}

.cookie-popup > .button-section {
  -moz-box-pack: center;
  justify-content: center;
  row-gap: 8px;
}

@media (min-width: 768px) {
  .cookie-popup > .button-section {
    -moz-box-orient: horizontal;
    -moz-box-direction: reverse;
    flex-direction: row-reverse;
  }
}

.cookie-setting-modal {
  background: #fff;
  display: grid;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: fixed;
  z-index: 99999;
}

@media (min-width: 768px) {
  .cookie-setting-modal {
    border-radius: 8px;
    box-shadow: 0 -2px 4px rgba(78, 89, 105, 0.08), 0 2px 4px rgba(78, 89, 105, 0.2);
    height: 90vh;
    top: 50%;
    left: 50%;
    max-height: 730px;
    overflow: hidden;
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 620px;
  }
}

.cookie-setting-modal a {
  color: #0066fc;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-setting-modal h2,
.cookie-setting-modal h3 {
  color: #1d2129;
  font-weight: 700;
  letter-spacing: 0.32px;
}

.cookie-setting-modal h3 {
  font-size: 1rem;
  line-height: 1.444rem;
}

.cookie-setting-modal > .text-section {
  display: grid;
  height: 100%;
  overflow-y: auto;
  padding: 16px 16px 24px;
  row-gap: 12px;
}

@media (min-width: 768px) {
  .cookie-setting-modal > .text-section {
    padding: 32px;
  }
}

.cookie-setting-modal > .text-section .paragraph {
  color: #888888;
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .cookie-setting-modal > .text-section .paragraph {
    line-height: 1.25rem;
  }
}

.cookie-setting-modal > .text-section > section {
  display: grid;
  row-gap: 20px;
}

.cookie-setting-modal > .text-section > .cookie-desc h2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .cookie-setting-modal > .text-section > .cookie-desc h2 {
    font-size: 1.5rem;
    line-height: 2.125rem;
  }
}

.cookie-setting-modal > .text-section > .cookie-desc p ~ p {
  margin-top: 16px;
}

.cookie-setting-modal > .text-section > .cookie-consent .analytics-header-ctn {
  -moz-box-pack: justify;
  -moz-box-align: center;
  align-items: center;
  display: -moz-box;
  display: flex;
  justify-content: space-between;
  padding-right: 8px;
}

.cookie-setting-modal > .text-section > .divider {
  background-color: #e5e6e8;
  height: 1px;
}

.cookie-setting-modal > .button-section {
  -moz-box-pack: end;
  border-top: 1px solid #e5e6e8;
  box-shadow: 0 -2px 4px rgba(78, 89, 105, 0.08), 0 2px 4px rgba(78, 89, 105, 0.2);
  justify-content: flex-end;
  padding: 16px;
}

@media (max-width: 767px) {
  .cookie-setting-modal > .button-section > button:not(:first-of-type) {
    display: none;
  }
}

@media (min-width: 768px) {
  .cookie-setting-modal > .button-section {
    padding: 24px 32px;
  }

  .cookie-setting-modal > .button-section > button:first-of-type {
    display: none;
  }
}

.cookie-setting-mask {
  background: rgba(29, 33, 41, 0.4); /* 使用 rgba 定义透明背景色 */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: fixed;
  z-index: 9999;
}

.toggle-wrapper {
  cursor: pointer;
  padding: 8px;
}

.toggle-wrapper .toggle-bar {
  background-color: #c9cdd4;
  border-radius: 9999px;
  height: 6px;
  position: relative;
  -moz-transition: background-color 0.25s;
  transition: background-color 0.25s;
  width: 28px;
}

.toggle-wrapper .toggle-bar.enabled {
  background-color: #31a191;
}
button {
  outline: none !important;
}
.toggle-wrapper .toggle-bar.enabled > .toggle-switch {
  left: 16px;
}

.toggle-wrapper .toggle-bar > .toggle-switch {
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 3px #86909c;
  cursor: pointer;
  height: 20px;
  left: -8px;
  position: absolute;
  top: -7px;
  -moz-transition: left 0.25s, box-shadow 0.25s;
  transition: left 0.25s, box-shadow 0.25s;
  width: 20px;
}

.toggle-wrapper .toggle-bar > .toggle-switch:active,
.toggle-wrapper .toggle-bar > .toggle-switch:focus-visible {
  box-shadow: 0 0 1px 6px rgba(0, 0, 0, 0.2);
  outline: none;
}

.all-jie {
  background-color: #31a191 !important;
  border: 1px solid #31a191 !important;
  color: #fff !important;
}
.all-jie2 {
  background-color: #006355 !important;
  border: 1px solid #006355 !important;
  color: #fff !important;
}
.all-jie:hover {
  background-color: #248475 !important;
  border: 1px solid #248475 !important;
}
.all-jie2:hover {
  background-color: #027e6d !important;
  border: 1px solid #027e6d !important;
}
.arco-btn {
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #fff;
  color: #00a089;
  border-radius: 4px;
  background-color: #fff;
}
.arco-btn2 {
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #31a191;
  color: #31a191;
  border-radius: 4px;
}

.cookie-setting-modal,
.cookie-setting-mask {
  display: none;
}

.footer-save {
  background: #fff;
  position: absolute;
  width: 100%;
  bottom: 0;
}
