@import url('./tailwind.css');
@import url('https://fonts.googleapis.com/css2?family=Anek+Odia:wght@100..800&display=swap');

* {
  font-family: 'Anek Odia', sans-serif;
  font-optical-sizing: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a:hover {
  color: #ff4458 !important;
  text-decoration: underline !important;
}

::selection {
  background: #afcbfa;
  color: #fff;
}
p {
  margin-bottom: 10px;
  margin-top: 10px;
}
ul > li {
  margin-left: 1em;
  list-style: disc;
  list-style: inside;
}

.text-container h1 {
  margin: 10px 0;
  font-weight: 600;
  font-size: 24px;
}

.text-container h4,
.text-container h2 {
  margin: 8px 0;
  font-weight: 500;
  font-size: 20px;
}

.text-container p {
  margin: 8px 0;
}

.text-container a {
  color: #6a9daf;
  text-decoration: underline;
}

.app-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(17, 24, 39, 0.32);
}

.app-dialog {
  width: 100%;
  max-width: 28rem;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  color: #18202f;
  background: #ffffff;
  border: 1px solid rgba(24, 32, 47, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(24, 32, 47, 0.2);
}

.app-dialog--centered {
  text-align: center;
}

.app-dialog__title {
  margin: 0;
  color: #18202f;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.app-dialog__message {
  margin: 18px 0 0;
  color: #3e4859;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.app-dialog--centered .app-dialog__message {
  margin-top: 0;
}

.app-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.app-dialog--centered .app-dialog__actions {
  width: 100%;
}

.app-dialog__button {
  min-width: 7.5rem;
  min-height: 44px;
  padding: 10px 20px;
  color: #303a4b;
  font: inherit;
  font-weight: 500;
  line-height: 1.25;
  background: #e5e8ed;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.app-dialog__button:hover {
  background: #d9dde4;
}

.app-dialog__button--primary {
  color: #ffffff;
  background: #18202f;
}

.app-dialog__button--primary:hover {
  background: #303a4b;
}

.app-dialog__button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.app-dialog--centered .app-dialog__button {
  width: 100%;
}

@media (max-width: 480px) {
  .app-dialog-overlay {
    padding: 16px;
  }

  .app-dialog {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 24px;
  }

  .app-dialog__actions {
    gap: 10px;
  }

  .app-dialog__button {
    min-width: 0;
    flex: 1;
  }
}
