body.accept-terms-route {
  background-color: #0f3260 !important;
}

body.accept-terms-route #header,
body.accept-terms-route .top-bar-section-mobile {
  display: none !important;
}

body.accept-terms-route .section-footer {
  display: none !important;
}

body.accept-terms-route .accept-terms-content-section {
  top: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.accept-terms-route #container-back-top-btn {
  display: none !important;
}

.accept-terms-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 48px;
  background-color: #0f3260;
  box-sizing: border-box;
}

.accept-terms-wrapper *,
.accept-terms-wrapper *::before,
.accept-terms-wrapper *::after {
  box-sizing: border-box;
}

.accept-terms-card {
  width: 100%;
  max-width: 720px;
  margin-top: 24px;
}

.accept-terms-inner {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #007bff;
  box-shadow: 0 0 16px #007bff;
  background-color: #131635;
  overflow: hidden;
}

.accept-terms-logo {
  text-align: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 60%;
  border-bottom-left-radius: 60%;
  border: 1px solid #007bff;
  box-shadow: 0 0 16px #007bff;
  background-color: #2b3276;
}

.accept-terms-logo img {
  display: block;
  max-width: 336px;
  width: 100%;
  height: auto;
  margin: 20px auto;
}

.accept-terms-content {
  width: 100%;
  padding: 32px 40px 40px;
}

.accept-terms-header {
  margin-bottom: 30px;
  text-align: center;
}

.accept-terms-header h3 {
  margin: 0;
  color: #fff;
  font-family: "Montserrat SemiBold", "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

.accept-terms-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 28px !important;
  text-align: center;
}

.accept-terms-checkbox-row {
  margin-top: 8px;
}

.accept-terms-checkbox-label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 23px;
  margin: 5px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.accept-terms-checkbox-row a {
  color: #ffb11b;
  text-decoration: underline;
}

.accept-terms-checkbox-row a:hover {
  color: #ffe57b;
}

.accept-terms-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.accept-terms-checkbox .checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 13px;
  width: 13px;
  border: 1px solid #999;
  border-radius: 50%;
}

.accept-terms-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.accept-terms-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.accept-terms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.accept-terms-status {
  flex-basis: 100%;
  color: #ccc;
  font-size: 13px;
  margin: 0;
  text-align: center;
  word-break: break-word;
}

.accept-terms-status--ok {
  color: #8fd694;
}

.accept-terms-status--error {
  color: #ff8a8a;
}

.accept-terms-btn {
  border: 1px solid #ffb11b;
  box-shadow: 0 0 16px #ffb11b;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: "Montserrat SemiBold", "Montserrat", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.accept-terms-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.accept-terms-btn--logout {
  background: #09285c;
  color: #fff;
  min-width: 144px;
}

.accept-terms-btn--logout:hover:not(:disabled) {
  background: #0a316f;
}

.accept-terms-btn--accept {
  background: linear-gradient(86.08deg, #f8c203 3.38%, #ffe57b 99.6%);
  color: #0c194f;
  min-width: 280px;
}

.accept-terms-btn--accept:hover:not(:disabled) {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .accept-terms-content {
    padding: 24px 20px 32px;
  }

  .accept-terms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .accept-terms-btn {
    width: 100%;
  }
}
