:root {
  --card-radius: 24px;
  --button-radius: 24px;
  --input-radius: 14px;
}

body {
  margin: auto;
  min-height: 100vh;
  min-width: 100%;

  display: flex;
  flex-direction: column;
  font-weight: 400 !important;
  transition: background-color 0.4s;
}
body.dark {
  background-color: #12151A;
}
body.light {
  background-color: #F2F4F7;
}
body.dark.login {
  background-color: #12151A;
}
body.light.login {
  background-color: #F2F4F7;
}
body.dark.registration,
body.dark.recovery,
body.dark.verification {
  background-color: #3638CD;
}
body.light.registration,
body.light.recovery,
body.light.verification {
  background-color: #3638CD;
}
.cross-btn {
  cursor: pointer;
}
.dark .cross-btn path {
  stroke: #FFFFFF;
}
.light .cross-btn path {
  stroke: #101828;
}
body.dark:not(.login) .cross-btn path {
  stroke: #FFFFFF;
}
body.light:not(.login) .cross-btn path {
  stroke: #FFFFFF;
}
/* the browser adds margins to these elements by default */
ul,
ol,
p,
h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0;
}

/* main contains all of our page elements - excluding the footer */
main {
  /* fill the page */
  flex: 1;
}

.divider {
  width: 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.spacing-32 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spacing-32-horizontal {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.spacing-16 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spacing-16-horizontal {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.spacing-8 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.divider-left {
  margin: 0;
}

.ory-branding {
  display: flex;
  flex-direction: row;
  gap: 0.375rem;
  align-items: center;
  padding-bottom: 2rem;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

/* pushes the menu links to either side of the footer bar */
.footer-container {
  padding: 1rem 1.5rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75rem;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ory-theme-foreground-muted);
  background-color: var(--ory-theme-background-surface);
}

.footer-divider {
  height: 0;
  border-top: 1px !important;
}
.auth-container {
}
.card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  width: 486px;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  height: fit-content;
  margin: auto;

  /* /Level 3 */
  box-shadow: 0px 4px 30px 0px #00000026;
  background: #1D2024;

  border-radius: var(--card-radius);
  border: none;
  transition: background-color 0.4s, box-shadow 0.4s;
}
.dark .card {
  box-shadow: 0px 4px 30px 0px #00000026;
  background: #1D2024;
}
.light .card {
  box-shadow: 8px 10px 16px 0px #0000000D;
  background: #FFFFFF;
}

.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 18px 10px 18px;
  gap: 10px;
  height: 42px;
  background-color: #454CE7;
  /* border: 2px solid #454CE7; */
  border: none;
  border-radius: var(--button-radius);
  margin-top: 24px;

  cursor: pointer;

  flex: none;
  order: 0;
  flex-grow: 5;

  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  
  color: #fff;
}

a.button {
  text-decoration: none;
  height: 18px !important;
}

.button:hover {
  filter: brightness(70%);
}
.dark .button:hover {

}
.light .button:hover {
  
}
.field-label {
  font-family: Poppins, sans-serif;
}
.message {
  color: #F55C45;
  margin-top: 8px;
  font-family: Inter;
}

.dark .message-info {
  color: rgb(204, 204, 204) !important;
}

.light .message-info {
  color: #334054 !important;
}

.message-success {
  color: #18A957 !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
}
.dark .message-success {
  color: #D0D5DD !important;
}
.light .message-success {
  color: #1C2939 !important;
}
.button-secondary {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  cursor: pointer;
  height: 42px;
  
  border-radius: var(--button-radius);
  border: none;
  flex: none;
  order: 2;
  flex-grow: 0;
  transition: color 0.4s, background-color 0.4;
}
.light .button-secondary {
  background-color: rgba(0, 0, 0, 0.1);
  color: #334054;
}
.dark .button-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.light .button-secondary:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.dark .button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.input-container {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  width: 100%;
}

.input-container .field-label {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #D0D5DD;
  padding-bottom: 6px;
}
.dark .field-label {
  color: #D0D5DD;
}
.light .field-label {
  color: #334054;
}
.text-input {
  /* background: rgba(255, 255, 255, 0.05); */
/* White & Opacity/White 5% */

  /* border: none;
  border-radius: 4px;
  width: 100%;
  height: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 8px;
  color: #FFFFFF; */
  /* color: #667085; */
  color: #FFFFFF;

  background: transparent;
  box-shadow: 0px 1px 2px 0px #1018280D;

  padding: 10px 14px 10px 14px;
  height: 44px;
  width: 100%;
  gap: 8px;
  border: 1px solid #3F4246;
  border-radius: var(--input-radius);
  opacity: 0px;
  transition: color 0.4s;
}
.light .text-input {
  color: #101828;
}

.text-input:hover {
  border: 2px solid #CCCCCC;
}
.text-input:hover::placeholder {
  color: #A3A3A3;
}
.text-input:focus-visible {
  /* border: 2px solid #FFFFFF; */
  outline-style: none;
}
.text-input:focus {
  /* border: 2px solid #FFFFFF; */
}
.text-input:focus-visible::placeholder {
  color: #FFFFFF;
}
.logo-container {
  /* position: absolute; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* width: 100%; */
  padding: 20px 40px;
  /* top: 24px;
  left: 40px; */
}
.card-title-container {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-family: Inter;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  text-align: center;
  color: #FFFFFF;
  transition: color 0.4s;
}
.card-subtitle {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: #D0D5DD;
  transition: color 0.4s;
}
.light .card-subtitle {
  color: #334054;
}
.dark .card-subtitle {
  color: #D0D5DD;
}
.light .card-title {
  color: #101828;
}
.dark .card-title {
  color: #fff;
}

.input-button {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
}

.description {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.dark .description {
  color: #D0D5DD;
}
.light .description {
  color: #334054;
}

.input-social-button {
  display: flex;
  flex-direction: row;
}

.input-social-button .button-secondary {
  width: 100%;
  height: 48px;
}

.forgot-container {
  display: flex;
  justify-content: end;
}
.bottom-text-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.bottom-text-container span {
  margin-top: 8px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #E0EAFF;

}
.dark .bottom-text-container span {
  color: #E0EAFF;
}

.light .bottom-text-container span {
  color: #334054;
}
.ling {
  margin-top: 8px;
  font-style: normal;
  /* color: #A3A3A3; */
  text-decoration: none;

  color: #6172F3;

  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;

}
.iti__selected-dial-code {
  color: #FFFFFF;
}
.iti__flag-container {
  width: 95px;
}
/* .logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
} */
.iti__country-list {
  background-color: #333333;
  border: 2px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}
.iti__country {
  font-family: Inter;
}
.recistration-input-container1 {
  width: 238px;
}
.recistration-input-container2 {
  width: 238px;
  margin-right: 10px;
}
.recistration-input-container3 {
  width: 100%;
}
.iti {
  width: 100%;
}

.policy-container {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.policy-container a {
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.144);
  border-radius: 4px;
}

.dark::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.144);
}

.light::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.144);
}
.dark .logo-container svg .logo-text {
  fill: #FFFFFF;
}
.light .logo-container svg .logo-text {
  fill: #101828;
}

.field-container {
  position: relative;
  display: inline-block;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 7px;
  cursor: pointer;
  fill: rgb(122, 122, 122);
  font-size: 25px;
}
.iti__country.iti__highlight {
  background-color: rgba(0, 0, 0, .15);
}
.dark .iti__selected-dial-code {
  color: #FFFFFF;
}
.light .iti__selected-dial-code {
  color: #101828;
}
.dark .iti__country-list {
  background-color: #333333;
  color: #FFFFFF;
}
.light .iti__country-list {
  background-color: #fff;
  color: #101828;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-window {
  max-width: 800px;
  width: 100%;
  max-height: 80%;
  background: #fff;
  padding: 32px;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  font-family: Inter;

}

.light .modal-window {
  background: #fff;
  box-shadow: 0px 4px 15px 0px #0000000D;
}

.dark .modal-window {
  background: #1D2024;
  box-shadow: 0px 4px 15px 0px #0000000D;
}

.modal-window .text-center {
  text-align: center !important;
}
.light .modal-window .text-center {
  color: #101828;
}
.dark .modal-window .text-center {
  color: #fff;
}
.light .modal-window .text-center {
  color: #101828;
}
.dark .modal-window .text-center {
  color: #fff;
}
.modal-window h4 {
  font-size: 30px;
  font-family: Inter;
  font-weight: 500;
}
.modal-window {
  display: block;
}
.modal-window ol {
  margin-bottom: 1rem;
  list-style: decimal;
  padding-left: 20px;
}
.modal-window .table ol {
  padding-left: 32px;
}
.modal-window ol li {
  display: list-item;
}
.modal-window ol li::marker {
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  text-indent: 0px !important;
  text-align: start !important;
  text-align-last: auto !important;
}
.modal-window li {
  display: block;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;

}

.light .modal-window p {
  color: #101828;
}
.dark .modal-window p {
  color: #D0D5DD;
}

.light .modal-window li {
  color: #101828;
}
.dark .modal-window li {
  color: #D0D5DD;
}
.modal-window a {
  color: #454CE7;
  font-family: Inter;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
.modal-window a:hover {
  color: #454CE7;
}
/* .modal-window :not(table) ul li:before {
  content: counters(item, ".") " ";
  counter-increment: item;
  font-weight: 700;
} */
.modal-window {
  margin-top: 0;
  margin-bottom: 1rem;
}
.modal-window .modal-header {
  display: flex;
  flex-direction: row-reverse;
  padding-bottom: 16px;
}
.modal-window .close-modal {
  cursor: pointer;
}
.modal-window .modal-content {
  overflow-y: scroll;
  max-height: calc(80% - 100px);
}
.modal-content table {
  border-collapse: collapse;
  width: 100%;
}

.modal-content table tbody td {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.modal-content table tbody td[colspan="2"] {
  padding: 10px;
  border: 1px solid rgb(208, 213, 221);
  font-weight: 300;
}
.modal-content table tbody tr th[scope="row"]:not([colspan]) {
  padding: 10px;
  border: 1px solid rgb(208, 213, 221);
  vertical-align: top;
}

.light .modal-window table {
  color: #101828;
}
.dark .modal-window table {
  color: #D0D5DD;
}
.modal-window table .text-center {
  padding: 16px;
}
.accordion {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.accordion-item {
  border-radius: var(--card-radius);
}
.light .accordion-item {
  background-color: #F9FAFB;
}
.dark .accordion-item {
  background-color: #191C1F;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 16px;
  cursor: pointer;
  user-select: none;
  font-family: Inter;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
}
.accordion-item .accordion-icon {
  width: 20px;
  height: 20px;
}
.light .accordion-header {
  color: #1C2939;
}
.dark .accordion-header {
  color: #D0D5DD;
}
.light .accordion-header .accordion-icon svg path {
  stroke: #667085;
}
.dark .accordion-header .accordion-icon svg path {
  stroke: #667085;
}
.accordion-header svg {

}

.accordion-item:hover {
  /* backdrop-filter: brightness(0.5); */
}

.accordion-content {
  padding: 10px 15px;
  display: none;

  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.light .accordion-content p {
  color: #667085;
}
.dark .accordion-content p {
  color: #667085;
}
.logo-about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 16px;

  background-color: #454CE7;
  border-radius: var(--card-radius);
}
.full-company-name {
  font-family: Inter;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #FFFFFF;
}
.paragraph-title {
  font-family: Inter;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
}
.light .modal-window .paragraph-title {
  color: #101828;
}
.dark .modal-window .paragraph-title {
  color: #fff;
}
.paragraph {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.light .modal-window .paragraph {
  color: #101828;
}
.dark .modal-window .paragraph {
  color: #D0D5DD;
}
.paragraph-list {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}
.paragraph-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.paragraph-container ul {
  list-style-type: square;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.paragraph-list li,
.table li {
  position: relative;
  padding-left: 20px;
}
.table ol li {
  padding-left: 0px;
}
.paragraph-list li::before,
.table li::before  {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 7px;
  top: 9px;
}
.table ol li::before {
  content: none;
}
.light .table li::before,
.light .paragraph-list li::before {
  background-color: rgb(16, 24, 40);
}
.dark .table li::before,
.dark .paragraph-list li::before {
  background-color: #D0D5DD;
}
.messages:not(.field-error) .message-error {
  border: 1px solid #EA4335;
  border-radius: var(--card-radius);
  padding: 16px;
  font-size: 14px;
  background-color: #EA43350D;
}
.dark .messages:not(.field-error) .message-error {
  color: #D0D5DD;
}
.light .messages:not(.field-error) .message-error {
  color: #1C2939;
}
.text-input.error {
  background-color: #EA43350D;
  border: 1px solid #EA4335;
}
.text-input.error:focus-visible::placeholder {
  color: #EA43350D;
}
.message-info {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
}
.verify-info {
  gap: 32px;
  border-radius: var(--card-radius);
  border-width: 1px;
  padding: 16px;
  border: 1px solid  #282C32;
  color: #667085;
  font-size: 14px;
  font-family: Inter;
}
.auth-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;

  position:absolute;

  right: 40px;
  bottom: 20px;
}
.dark.login .auth-footer-link {
  color: #fff;
}
.light.login .auth-footer-link {
  color: #101828;
}
.auth-footer-link {
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  
  text-decoration: none;
}
@media screen and (max-width: 24.375em) {
  .footer-container > div:last-child {
    display: none;
  }
}

@media screen and (max-width: 40em) {
  .card {
    box-shadow: 0px 10px 40px rgba(27, 32, 50, 0.08);
    border-radius: 16px;
    padding: 24px 16px 16px;
    width: 311px;
    top: 48px;
    bottom: 48px;
  }
  .policy-container {
    bottom: -45px;
  }
  .recistration-input-container1 {
    width: 100%;
  }
  .recistration-input-container2 {
    width: 100%;
    margin: 0;
  }
  .recistration-input-container3 {
    width: 100%;
  }
  .auth-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: visible;
    z-index: 99;
    clear: both;
    min-height: 28px;
  }
  .auth-footer-link {
    font-size: 12px;
  }
}
@media screen and (max-width: 450px) {
  .card {
    box-shadow: 0px 10px 40px rgba(27, 32, 50, 0.08);
    border-radius: 16px;
    padding: 24px 16px 16px;
    width: auto;
    top: 0;
    bottom: 0;
    position: relative;
  }
  .auth-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .registration .auth-container {
    padding-top: 0 !important;
    padding-bottom: 60px !important;
  }
  .auth-footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: visible;
    z-index: 99;
    clear: both;
    min-height: 28px;
  }
  .auth-footer-link {
    font-size: 12px;
  }
}