@charset "utf-8";
@viewport {
  width: device-width;
}

html {
  font-size: 100%;
  font-family: var(--sans);
  color: var(--black-20);
  background-color: var(--black);
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 137.5%;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 125%;
  }
}

body {
  max-width: 100%;
  min-height: 100%;
  --paddingY: 2rem;
  --paddingX: 2rem;
  padding: var(--paddingY) var(--paddingX);

  font-family: var(--sans);
  color: var(--black-20);
  background-color: var(--black);
}

/* Max-width constraints for body text readability (Section 5.2: Typography Governance) */
/* 45-85 Characters Per Line (CPL) on desktop, 30-50 CPL on mobile */
.prose {
  max-width: var(--max-width-prose, 65ch);
}

.prose p,
.prose li,
.prose td {
  max-width: var(--max-width-prose, 65ch);
}

@media (max-width: 768px) {
  .prose,
  .prose p,
  .prose li,
  .prose td {
    max-width: var(--max-width-prose-mobile, 35ch);
  }
}

@media (max-width: 45em) {
  body {
    --paddingY: 1rem;
    --paddingX: 0.5rem;
  }

  .page-header {
    margin-right: 2.5rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
}

a,
button {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus,
button:hover,
button:focus {
  text-decoration: underline;
}

nav a {
  color: var(--white);
}
nav a:hover,
nav a:focus {
  color: var(--blue);
  text-decoration: none;
}

a:active,
button:active {
  color: var(--grey);
}

code {
  font-family: Menlo, Consolas, monospace, monospace;
}

.icon {
  --size: 1em;
  width: var(--size);
  height: var(--size);
  line-height: var(--size);
  display: inline-block;
  vertical-align: middle;
}

.avatar {
  --size: 2rem;
  border-radius: 50%;
  background-image: var(--gradient);
  overflow: hidden;
  width: var(--size);
  height: var(--size);
  min-width: var(--size);
  line-height: var(--size);
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  font-size: calc(var(--size) / 2);
  font-weight: 500;
  user-select: none;
  cursor: default;
  background-size: contain;
  background-position: center center;
  max-width: 21px;
}

.avatar-icon {
  position: absolute;
  right: 0;
  bottom: 5%;
  --size: 1rem;
}

/* Flash Messages / Alerts - Design Principles Compliant (Section 3.1, 5.1, 5.2, 7.0, 4.0) */
/* Matches project card styling pattern with proper state taxonomy */

.flash-messages-container {
  margin-bottom: 1.5rem;
}

.alert {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0px 0px 2px 0px rgba(0, 0, 0, 0.12),
    0px 8px 24px -8px rgba(63, 0, 92, 0.04);
  border: 1px solid;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  width: 100%;
  box-sizing: border-box;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.alert-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  max-width: 1.25rem;
  min-height: 1.25rem;
  max-height: 1.25rem;
  display: block;
}

.alert-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.alert-message {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Success state (Section 7.0: State Taxonomy) */
.alert-success {
  border-color: var(--success);
  background-color: var(--green-200);
}

.alert-success .alert-icon {
  color: var(--success);
}

.alert-success .alert-message {
  color: var(--success);
}

/* Warning state */
.alert-warning {
  border-color: var(--warning);
  background-color: var(--yellow-200);
}

.alert-warning .alert-icon {
  color: var(--yellow-600);
}

.alert-warning .alert-message {
  color: var(--yellow-600);
}

/* Error/Danger state */
.alert-error,
.alert-danger {
  border-color: var(--error);
  background-color: rgba(202, 63, 92, 0.1);
}

.alert-error .alert-icon,
.alert-danger .alert-icon {
  color: var(--error);
}

.alert-error .alert-message,
.alert-danger .alert-message {
  color: var(--error);
}

/* Info state */
.alert-info {
  border-color: var(--info);
  background-color: rgba(2, 169, 234, 0.1);
}

.alert-info .alert-icon {
  color: var(--info);
}

.alert-info .alert-message {
  color: var(--info);
}

/* Legacy support - map to new system */
.notice {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  background: var(--green-200);
  box-shadow:
    0px 0px 2px 0px rgba(0, 0, 0, 0.12),
    0px 8px 24px -8px rgba(63, 0, 92, 0.04);
  border: 1px solid var(--success);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  width: 100%;
  box-sizing: border-box;
  color: var(--success);
}

/* Responsive adjustments (Section 5.2: Typography Governance) */
@media (max-width: 768px) {
  .alert {
    padding: 10px 14px;
    font-size: var(--font-size-xs);
  }

  .alert-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    max-width: 1rem;
    min-height: 1rem;
    max-height: 1rem;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.help-block {
  color: var(--error);
  padding-left: 0.5rem;
}

.center-table {
  height: 100vh;
  width: auto;
  max-width: 800px;
  margin: auto;
  padding: 60px;
}
.top {
  height: 300px;
  vertical-align: top;
  align-items: center;
  text-align: center;
}
.center {
  height: auto;
  vertical-align: center;
  align-items: center;
  text-align: center;
}
.short-input {
  text-align: left;
}

//end of the table formating

.container {
  max-width: 54rem;
  width: auto;
}
.container-narrow {
  max-width: 36rem;
  width: auto;
}
.container-very-narrow {
  max-width: 24rem;
  width: auto;
}

.centered-full-screen {
  margin: auto;
  --shift-top: 0rem;
  min-height: calc(100vh - var(--paddingY) * 2);
  padding-bottom: var(--shift-top);
  display: grid;
  place-content: center;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.card:nth-of-type(2n) {
  background-color: rgba(255, 255, 255, 0.075);
}
.card:nth-of-type(3n) {
  background-color: rgba(255, 255, 255, 0.05);
}

.card-group {
  border-radius: 1rem;
  overflow: hidden;
  margin-right: -1px;
  margin-bottom: -1px;
  position: relative;

  .card {
    border-radius: 0;
    margin-right: 1px;
    margin-bottom: 1px;
  }

  .card:last-of-type {
    border-radius: 0 0 1rem 0;
  }
}

.badge {
  color: var(--orange);
  background: transparentize(var(--white), 0.854);
  text-shadow: 0 0 1px --black;
  border-radius: 0.5rem;
  min-width: 1rem;
  text-align: center;
  padding: 0 0.275rem;
  white-space: nowrap;
  --paddingY: 1rem;
  --paddingX: 0.5rem;

  .active & {
    background: transparentize(var(--black), 0.382);
  }
}

.login-logo {
  width: 3.3333rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.logo-galaxy {
  margin: auto;
  max-width: 350px;
  width: 100%;
}

.translation_missing {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: transparentize(var(--error), 0.618);
  text-underline-offset: 0.2em;
}

.swipeable-panel {
  display: flex;

  overflow: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.5rem;
  padding: 1rem;

  & > * {
    scroll-snap-align: start;
    min-width: max-content;
  }

  & > * + * {
    margin-left: 1rem;
  }

  & > *:last-child {
    padding-right: 1rem;
  }
}

.lottie-animation {
  --size: 100%;
  width: var(--size);
  max-width: 100%;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.lottie-animation::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 100%;
}

.lottie-animation svg,
.lottie-animation canvas {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.chart-wrapper {
  svg {
    overflow: visible;
  }
}
