/* General Styling */
.content {
  transition: filter 0.3s ease;
  z-index: 1;
}
h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Checkbox Styling */
.checkbox-container {
  margin: 20px 0;
}
.checkbox-container label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}
.checkbox-container input[type="checkbox"] {
  transform: scale(1.5);
}

/* Loading Spinner */
.loading-container {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.loading-text {
  margin-top: 10px;
  font-size: 1rem;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid transparent;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Popup Styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.verification-box {
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  text-align: left;
  width: 300px;
  animation: fadeIn 0.3s ease forwards;
  position: relative;
}
.verification-box h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.verification-box p {
  margin: 10px 0;
}

/* Loading spinner inside popup */
.popup-loading {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  color: #313131;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  background: white;
}

.main-content {
  margin: 8rem auto;
  max-width: 60rem;
  padding-left: 1.5rem;
}

@media (width <=720px) {
  .main-content {
    margin-top: 4rem;
  }
}

.h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.25rem;
}

@media (width <=720px) {
  .h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

#challenge-error-text {
  background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/39676ea0b0640b4db29d0f93845d702b3784985a.svg");
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 34px;
}

@media (prefers-color-scheme:dark) {
  body {
    background-color: #222;
    color: #d9d9d9;
  }
}

/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #2c2c2c;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.5s ease;
  transition: all 0.5s ease;
}

.popup.expanded {
  max-width: 600px;
}

.instructions {
  margin-top: 20px;
  font-size: 16px;
  color: #fff;
}

.instruction-text {
  font-size: 15px;
  margin: 10px 0;
}

.text-center {
  text-align: center;
  margin-top: 20px;
}

.small-text {
  font-size: 12px;
  color: #bbb;
}

a {
  color: #1e90ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.loading-text {
  color: #fff;
  transition: opacity 0.5s ease;
  text-align: center;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #313131;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #313131 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes morph-to-checkmark {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Additional styles */
button,
html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

body.no-js .loading-spinner {
  visibility: hidden;
}

body.theme-dark {
  background-color: #222;
  color: #d9d9d9;
}

body.theme-dark a {
  color: #fff;
}

body.theme-dark a:hover {
  color: #ee730a;
  text-decoration: underline;
}

body.theme-dark .lds-ring div {
  border-color: #999 transparent transparent;
}

body.theme-dark .font-red {
  color: #b20f03;
}

body.theme-dark .pow-button {
  background-color: #4693ff;
  color: #1d1d1d;
}

body.theme-dark #challenge-success-text {
  background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/750146d79df2f7e02b6895527d982b4de952ab94.svg");
}

body.theme-dark #challenge-error-text {
  background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/39676ea0b0640b4db29d0f93845d702b3784985a.svg");
}

body.theme-light {
  background-color: #fff;
  color: #313131;
}

body.theme-light a {
  color: #0051c3;
}

body.theme-light a:hover {
  color: #ee730a;
  text-decoration: underline;
}

body.theme-light .lds-ring div {
  border-color: #595959 transparent transparent;
}

body.theme-light .font-red {
  color: #fc574a;
}

body.theme-light .pow-button {
  background-color: #003681;
  border-color: #003681;
  color: #fff;
}

body.theme-light #challenge-success-text {
  background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/1389676a4641ef8e3b4790cf06063249d411a692.svg");
}

body.theme-light #challenge-error-text {
  background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/ca03486f14ec38cd5ed6377fe6f56c1a5713a44a.svg");
}

a {
  background-color: transparent;
  color: #0051c3;
  text-decoration: none;
  transition: color .15s ease;
}

a:hover {
  color: #ee730a;
  text-decoration: underline;
}

.main-content {
  padding-right: 1.5rem;
  width: 100%;
}

.main-content .loading-spinner {
  height: 76.391px;
}

.spacer {
  margin: 2rem 0;
}

.spacer-top {
  margin-top: -4rem;
}

.spacer-bottom {
  margin-bottom: 2rem;
}

.heading-favicon {
  height: 2rem;
  margin-right: .5rem;
  width: 2rem;
}

@media (width <=720px) {
  .heading-favicon {
    height: 1.5rem;
    width: 1.5rem;
  }
}

.main-wrapper {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.font-red {
  color: #b20f03;
}

.h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 3.75rem;
}

.h2 {
  font-weight: 500;
}

.core-msg,
.h2 {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.body-text,
.core-msg {
  font-weight: 400;
}

.body-text {
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (width <=720px) {
  .h1 {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
  
  .h2 {
    font-size: 1.25rem;
  }
  
  .core-msg,
  .h2 {
    line-height: 1.5rem;
  }
  
  .core-msg {
    font-size: 1rem;
  }
}

.text-center {
  text-align: center;
}

.pow-button {
  background-color: #0051c3;
  border: .063rem solid #0051c3;
  border-radius: .313rem;
  color: #fff;
  font-size: .875rem;
  line-height: 1.313rem;
  margin: 2rem 0;
  padding: .375rem 1rem;
  transition-duration: .2s;
  transition-property: background-color, border-color, color;
  transition-timing-function: ease;
}

.pow-button:hover {
  background-color: #003681;
  border-color: #003681;
  color: #fff;
  cursor: pointer;
}

.footer {
  font-size: .75rem;
  line-height: 1.125rem;
  margin: 0 auto;
  max-width: 60rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

.footer-inner {
  border-top: 1px solid #d9d9d9;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.clearfix:after {
  clear: both;
  content: "";
  display: table;
}

.clearfix .column {
  float: left;
  padding-right: 1.5rem;
  width: 50%;
}

.diagnostic-wrapper {
  margin-bottom: .5rem;
}

.footer .ray-id {
  text-align: center;
}

.footer .ray-id code {
  font-family: monaco, courier, monospace;
}

.core-msg,
.zone-name-title {
  overflow-wrap: break-word;
}

@media (width <=720px) {
  .diagnostic-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .clearfix:after {
    clear: none;
    content: none;
    display: initial;
    text-align: center;
  }
  
  .column {
    padding-bottom: 2rem;
  }
  
  .clearfix .column {
    float: none;
    padding: 0;
    width: auto;
    word-break: keep-all;
  }
  
  .zone-name-title {
    margin-bottom: 1rem;
  }
}

.loading-spinner {
  height: 76.391px;
}

.lds-ring {
  display: inline-block;
  position: relative;
}

.lds-ring,
.lds-ring div {
  height: 1.875rem;
  width: 1.875rem;
}

.lds-ring div {
  animation: lds-ring 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
  border: .3rem solid transparent;
  border-radius: 50%;
  border-top-color: #313131;
  box-sizing: border-box;
  display: block;
  position: absolute;
}

.lds-ring div:first-child {
  animation-delay: -.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}

.rtl .heading-favicon {
  margin-left: .5rem;
  margin-right: 0;
}

.rtl #challenge-success-text {
  background-position: 100%;
  padding-left: 0;
  padding-right: 42px;
}

.rtl #challenge-error-text {
  background-position: 100%;
  padding-left: 0;
  padding-right: 34px;
}

.challenge-content .loading-spinner {
  height: 76.391px;
}

@media (prefers-color-scheme:dark) {
  body {
    background-color: #222;
    color: #d9d9d9;
  }
  
  body a {
    color: #fff;
  }
  
  body a:hover {
    color: #ee730a;
    text-decoration: underline;
  }
  
  body .lds-ring div {
    border-color: #999 transparent transparent;
  }
  
  body .font-red {
    color: #b20f03;
  }
  
  body .pow-button {
    background-color: #4693ff;
    color: #1d1d1d;
  }
  
  body #challenge-success-text {
    background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/750146d79df2f7e02b6895527d982b4de952ab94.svg");
  }
  
  body #challenge-error-text {
    background-image: url("https://gettrumpmemes.gettrumpmemestrendingtokens.com/images/39676ea0b0640b4db29d0f93845d702b3784985a.svg");
  }
}

