/* Sawa Up web harness: desktop preview frame around the mobile app. */
html,
body {
  background: #04161b;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, 'Noto Naskh Arabic', sans-serif;
  background:
    radial-gradient(1100px 620px at 14% 8%, rgba(46, 210, 197, 0.2), transparent 62%),
    radial-gradient(900px 520px at 88% 92%, rgba(255, 182, 128, 0.16), transparent 62%),
    #04161b;
}

#root {
  direction: rtl;
}

@media (min-width: 700px) {
  #root {
    width: 412px;
    height: min(880px, calc(100vh - 48px));
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62), 0 0 0 9px rgba(255, 255, 255, 0.04);
  }
}

.sawaup-web-badge {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 18px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(232, 243, 243, 0.74);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 15px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.sawaup-web-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ed2c5;
  box-shadow: 0 0 10px rgba(46, 210, 197, 0.9);
}

@media (max-width: 699px) {
  body {
    padding: 0;
  }

  #root {
    width: 100%;
    height: 100%;
  }

  .sawaup-web-badge {
    display: none;
  }
}
