@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
@charset "UTF-8";
/*!
 * Bootstrap v4.6.2 (https://getbootstrap.com/)
 * Copyright 2011-2022 The Bootstrap Authors
 * Copyright 2011-2022 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}
a:hover {
  color: rgb(0, 86.1, 178.5);
  text-decoration: underline;
}

a:not([href]):not([class]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[role=button] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
  cursor: pointer;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-3 {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

small,
.small {
  font-size: 0.875em;
  font-weight: 400;
}

mark,
.mark {
  padding: 0.2em;
  background-color: #fcf8e3;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}
.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

.blockquote {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.blockquote-footer {
  display: block;
  font-size: 0.875em;
  color: #6c757d;
}
.blockquote-footer::before {
  content: "— ";
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

.figure {
  display: inline-block;
}

.figure-img {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.figure-caption {
  font-size: 90%;
  color: #6c757d;
}

code {
  font-size: 87.5%;
  color: #e83e8c;
  word-wrap: break-word;
}
a > code {
  color: inherit;
}

kbd {
  padding: 0.2rem 0.4rem;
  font-size: 87.5%;
  color: #fff;
  background-color: #212529;
  border-radius: 0.2rem;
}
kbd kbd {
  padding: 0;
  font-size: 100%;
  font-weight: 700;
}

pre {
  display: block;
  font-size: 87.5%;
  color: #212529;
}
pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

.container,
.container-fluid,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1140px;
  }
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*=col-] {
  padding-right: 0;
  padding-left: 0;
}

.col-xl,
.col-xl-auto, .col-xl-12, .col-xl-11, .col-xl-10, .col-xl-9, .col-xl-8, .col-xl-7, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-xl-2, .col-xl-1, .col-lg,
.col-lg-auto, .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1, .col-md,
.col-md-auto, .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1, .col-sm,
.col-sm-auto, .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1, .col,
.col-auto, .col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.row-cols-1 > * {
  flex: 0 0 100%;
  max-width: 100%;
}

.row-cols-2 > * {
  flex: 0 0 50%;
  max-width: 50%;
}

.row-cols-3 > * {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
}

.row-cols-4 > * {
  flex: 0 0 25%;
  max-width: 25%;
}

.row-cols-5 > * {
  flex: 0 0 20%;
  max-width: 20%;
}

.row-cols-6 > * {
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.col-1 {
  flex: 0 0 8.33333333%;
  max-width: 8.33333333%;
}

.col-2 {
  flex: 0 0 16.66666667%;
  max-width: 16.66666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.33333333%;
  max-width: 33.33333333%;
}

.col-5 {
  flex: 0 0 41.66666667%;
  max-width: 41.66666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.33333333%;
  max-width: 58.33333333%;
}

.col-8 {
  flex: 0 0 66.66666667%;
  max-width: 66.66666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.33333333%;
  max-width: 83.33333333%;
}

.col-11 {
  flex: 0 0 91.66666667%;
  max-width: 91.66666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.order-first {
  order: -1;
}

.order-last {
  order: 13;
}

.order-0 {
  order: 0;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.order-3 {
  order: 3;
}

.order-4 {
  order: 4;
}

.order-5 {
  order: 5;
}

.order-6 {
  order: 6;
}

.order-7 {
  order: 7;
}

.order-8 {
  order: 8;
}

.order-9 {
  order: 9;
}

.order-10 {
  order: 10;
}

.order-11 {
  order: 11;
}

.order-12 {
  order: 12;
}

.offset-1 {
  margin-left: 8.33333333%;
}

.offset-2 {
  margin-left: 16.66666667%;
}

.offset-3 {
  margin-left: 25%;
}

.offset-4 {
  margin-left: 33.33333333%;
}

.offset-5 {
  margin-left: 41.66666667%;
}

.offset-6 {
  margin-left: 50%;
}

.offset-7 {
  margin-left: 58.33333333%;
}

.offset-8 {
  margin-left: 66.66666667%;
}

.offset-9 {
  margin-left: 75%;
}

.offset-10 {
  margin-left: 83.33333333%;
}

.offset-11 {
  margin-left: 91.66666667%;
}

@media (min-width: 576px) {
  .col-sm {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-sm-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-sm-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-sm-3 > * {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .row-cols-sm-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-sm-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-sm-6 > * {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-sm-1 {
    flex: 0 0 8.33333333%;
    max-width: 8.33333333%;
  }
  .col-sm-2 {
    flex: 0 0 16.66666667%;
    max-width: 16.66666667%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .col-sm-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.33333333%;
    max-width: 83.33333333%;
  }
  .col-sm-11 {
    flex: 0 0 91.66666667%;
    max-width: 91.66666667%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-sm-first {
    order: -1;
  }
  .order-sm-last {
    order: 13;
  }
  .order-sm-0 {
    order: 0;
  }
  .order-sm-1 {
    order: 1;
  }
  .order-sm-2 {
    order: 2;
  }
  .order-sm-3 {
    order: 3;
  }
  .order-sm-4 {
    order: 4;
  }
  .order-sm-5 {
    order: 5;
  }
  .order-sm-6 {
    order: 6;
  }
  .order-sm-7 {
    order: 7;
  }
  .order-sm-8 {
    order: 8;
  }
  .order-sm-9 {
    order: 9;
  }
  .order-sm-10 {
    order: 10;
  }
  .order-sm-11 {
    order: 11;
  }
  .order-sm-12 {
    order: 12;
  }
  .offset-sm-0 {
    margin-left: 0;
  }
  .offset-sm-1 {
    margin-left: 8.33333333%;
  }
  .offset-sm-2 {
    margin-left: 16.66666667%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.33333333%;
  }
  .offset-sm-5 {
    margin-left: 41.66666667%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.33333333%;
  }
  .offset-sm-8 {
    margin-left: 66.66666667%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.33333333%;
  }
  .offset-sm-11 {
    margin-left: 91.66666667%;
  }
}
@media (min-width: 768px) {
  .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-md-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-md-1 {
    flex: 0 0 8.33333333%;
    max-width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 16.66666667%;
    max-width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.33333333%;
    max-width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 91.66666667%;
    max-width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-md-first {
    order: -1;
  }
  .order-md-last {
    order: 13;
  }
  .order-md-0 {
    order: 0;
  }
  .order-md-1 {
    order: 1;
  }
  .order-md-2 {
    order: 2;
  }
  .order-md-3 {
    order: 3;
  }
  .order-md-4 {
    order: 4;
  }
  .order-md-5 {
    order: 5;
  }
  .order-md-6 {
    order: 6;
  }
  .order-md-7 {
    order: 7;
  }
  .order-md-8 {
    order: 8;
  }
  .order-md-9 {
    order: 9;
  }
  .order-md-10 {
    order: 10;
  }
  .order-md-11 {
    order: 11;
  }
  .order-md-12 {
    order: 12;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.33333333%;
  }
  .offset-md-2 {
    margin-left: 16.66666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.33333333%;
  }
  .offset-md-5 {
    margin-left: 41.66666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.33333333%;
  }
  .offset-md-8 {
    margin-left: 66.66666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.33333333%;
  }
  .offset-md-11 {
    margin-left: 91.66666667%;
  }
}
@media (min-width: 992px) {
  .col-lg {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-lg-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-lg-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-lg-3 > * {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .row-cols-lg-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-lg-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-lg-6 > * {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-lg-1 {
    flex: 0 0 8.33333333%;
    max-width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 16.66666667%;
    max-width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.33333333%;
    max-width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.66666667%;
    max-width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-lg-first {
    order: -1;
  }
  .order-lg-last {
    order: 13;
  }
  .order-lg-0 {
    order: 0;
  }
  .order-lg-1 {
    order: 1;
  }
  .order-lg-2 {
    order: 2;
  }
  .order-lg-3 {
    order: 3;
  }
  .order-lg-4 {
    order: 4;
  }
  .order-lg-5 {
    order: 5;
  }
  .order-lg-6 {
    order: 6;
  }
  .order-lg-7 {
    order: 7;
  }
  .order-lg-8 {
    order: 8;
  }
  .order-lg-9 {
    order: 9;
  }
  .order-lg-10 {
    order: 10;
  }
  .order-lg-11 {
    order: 11;
  }
  .order-lg-12 {
    order: 12;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.33333333%;
  }
  .offset-lg-2 {
    margin-left: 16.66666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.33333333%;
  }
  .offset-lg-5 {
    margin-left: 41.66666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.33333333%;
  }
  .offset-lg-8 {
    margin-left: 66.66666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.33333333%;
  }
  .offset-lg-11 {
    margin-left: 91.66666667%;
  }
}
@media (min-width: 1200px) {
  .col-xl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-xl-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-xl-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-xl-3 > * {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .row-cols-xl-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-xl-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-xl-6 > * {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xl-1 {
    flex: 0 0 8.33333333%;
    max-width: 8.33333333%;
  }
  .col-xl-2 {
    flex: 0 0 16.66666667%;
    max-width: 16.66666667%;
  }
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .col-xl-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
  }
  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
  }
  .col-xl-8 {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
  }
  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 83.33333333%;
    max-width: 83.33333333%;
  }
  .col-xl-11 {
    flex: 0 0 91.66666667%;
    max-width: 91.66666667%;
  }
  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-xl-first {
    order: -1;
  }
  .order-xl-last {
    order: 13;
  }
  .order-xl-0 {
    order: 0;
  }
  .order-xl-1 {
    order: 1;
  }
  .order-xl-2 {
    order: 2;
  }
  .order-xl-3 {
    order: 3;
  }
  .order-xl-4 {
    order: 4;
  }
  .order-xl-5 {
    order: 5;
  }
  .order-xl-6 {
    order: 6;
  }
  .order-xl-7 {
    order: 7;
  }
  .order-xl-8 {
    order: 8;
  }
  .order-xl-9 {
    order: 9;
  }
  .order-xl-10 {
    order: 10;
  }
  .order-xl-11 {
    order: 11;
  }
  .order-xl-12 {
    order: 12;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xl-11 {
    margin-left: 91.66666667%;
  }
}
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}
.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}
.table tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.table-sm th,
.table-sm td {
  padding: 0.3rem;
}

.table-bordered {
  border: 1px solid #dee2e6;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
}
.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 2px;
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
  border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.075);
}

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: rgb(183.6, 218.04, 255);
}
.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
  border-color: rgb(122.4, 186.36, 255);
}

.table-hover .table-primary:hover {
  background-color: rgb(158.1, 204.84, 255);
}
.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
  background-color: rgb(158.1, 204.84, 255);
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
  background-color: rgb(213.84, 216.36, 218.6);
}
.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
  border-color: rgb(178.56, 183.24, 187.4);
}

.table-hover .table-secondary:hover {
  background-color: rgb(200.3075090253, 203.6560288809, 206.6324909747);
}
.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
  background-color: rgb(200.3075090253, 203.6560288809, 206.6324909747);
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: rgb(194.8, 230.36, 202.92);
}
.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
  border-color: rgb(143.2, 209.24, 158.28);
}

.table-hover .table-success:hover {
  background-color: rgb(176.7059405941, 222.9540594059, 187.2665346535);
}
.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: rgb(176.7059405941, 222.9540594059, 187.2665346535);
}

.table-info,
.table-info > th,
.table-info > td {
  background-color: rgb(190.04, 228.96, 235.12);
}
.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
  border-color: rgb(134.36, 206.64, 218.08);
}

.table-hover .table-info:hover {
  background-color: rgb(170.5152475248, 221.1332673267, 229.1447524752);
}
.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
  background-color: rgb(170.5152475248, 221.1332673267, 229.1447524752);
}

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: rgb(255, 237.64, 185.56);
}
.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
  border-color: rgb(255, 222.76, 126.04);
}

.table-hover .table-warning:hover {
  background-color: rgb(255, 231.265, 160.06);
}
.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
  background-color: rgb(255, 231.265, 160.06);
}

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: rgb(245.2, 198.44, 202.92);
}
.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
  border-color: rgb(236.8, 149.96, 158.28);
}

.table-hover .table-danger:hover {
  background-color: rgb(241.4341772152, 176.7058227848, 182.9073417722);
}
.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
  background-color: rgb(241.4341772152, 176.7058227848, 182.9073417722);
}

.table-light,
.table-light > th,
.table-light > td {
  background-color: rgb(253.04, 253.32, 253.6);
}
.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
  border-color: rgb(251.36, 251.88, 252.4);
}

.table-hover .table-light:hover {
  background-color: rgb(238.165, 240.57, 242.975);
}
.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
  background-color: rgb(238.165, 240.57, 242.975);
}

.table-dark,
.table-dark > th,
.table-dark > td {
  background-color: rgb(198.16, 199.84, 201.52);
}
.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
  border-color: rgb(149.44, 152.56, 155.68);
}

.table-hover .table-dark:hover {
  background-color: rgb(185.0216751269, 187.09, 189.1583248731);
}
.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
  background-color: rgb(185.0216751269, 187.09, 189.1583248731);
}

.table-active,
.table-active > th,
.table-active > td {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075);
}
.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
  background-color: rgba(0, 0, 0, 0.075);
}

.table .thead-dark th {
  color: #fff;
  background-color: #343a40;
  border-color: rgb(69.1465517241, 77.125, 85.1034482759);
}
.table .thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.table-dark {
  color: #fff;
  background-color: #343a40;
}
.table-dark th,
.table-dark td,
.table-dark thead th {
  border-color: rgb(69.1465517241, 77.125, 85.1034482759);
}
.table-dark.table-bordered {
  border: 0;
}
.table-dark.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}
.table-dark.table-hover tbody tr:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.075);
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-sm > .table-bordered {
    border: 0;
  }
}
@media (max-width: 767.98px) {
  .table-responsive-md {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-md > .table-bordered {
    border: 0;
  }
}
@media (max-width: 991.98px) {
  .table-responsive-lg {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-lg > .table-bordered {
    border: 0;
  }
}
@media (max-width: 1199.98px) {
  .table-responsive-xl {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-xl > .table-bordered {
    border: 0;
  }
}
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive > .table-bordered {
  border: 0;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-control {
    transition: none;
  }
}
.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}
.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: rgb(127.5, 189, 255);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

input[type=date].form-control,
input[type=time].form-control,
input[type=datetime-local].form-control,
input[type=month].form-control {
  appearance: none;
}

select.form-control:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #495057;
}
select.form-control:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}

.form-control-file,
.form-control-range {
  display: block;
  width: 100%;
}

.col-form-label {
  padding-top: calc(0.375rem + 1px);
  padding-bottom: calc(0.375rem + 1px);
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
}

.col-form-label-lg {
  padding-top: calc(0.5rem + 1px);
  padding-bottom: calc(0.5rem + 1px);
  font-size: 1.25rem;
  line-height: 1.5;
}

.col-form-label-sm {
  padding-top: calc(0.25rem + 1px);
  padding-bottom: calc(0.25rem + 1px);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-control-plaintext {
  display: block;
  width: 100%;
  padding: 0.375rem 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
}
.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
  padding-right: 0;
  padding-left: 0;
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

select.form-control[size], select.form-control[multiple] {
  height: auto;
}

textarea.form-control {
  height: auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}
.form-row > .col,
.form-row > [class*=col-] {
  padding-right: 5px;
  padding-left: 5px;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}
.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
  color: #6c757d;
}

.form-check-label {
  margin-bottom: 0;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  padding-left: 0;
  margin-right: 0.75rem;
}
.form-check-inline .form-check-input {
  position: static;
  margin-top: 0;
  margin-right: 0.3125rem;
  margin-left: 0;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #28a745;
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(40, 167, 69, 0.9);
  border-radius: 0.25rem;
}
.form-row > .col > .valid-tooltip, .form-row > [class*=col-] > .valid-tooltip {
  left: 5px;
}

.was-validated :valid ~ .valid-feedback,
.was-validated :valid ~ .valid-tooltip,
.is-valid ~ .valid-feedback,
.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .form-control:valid, .form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated select.form-control:valid, select.form-control.is-valid {
  padding-right: 3rem !important;
  background-position: right 1.5rem center;
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:valid, .custom-select.is-valid {
  border-color: #28a745;
  padding-right: calc(0.75em + 2.3125rem) !important;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) no-repeat;
}
.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
  color: #28a745;
}
.was-validated .form-check-input:valid ~ .valid-feedback,
.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback,
.form-check-input.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
  color: #28a745;
}
.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
  border-color: #28a745;
}
.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
  border-color: rgb(51.6956521739, 206.3043478261, 87);
  background-color: rgb(51.6956521739, 206.3043478261, 87);
}
.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #28a745;
}

.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {
  border-color: #28a745;
}
.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(220, 53, 69, 0.9);
  border-radius: 0.25rem;
}
.form-row > .col > .invalid-tooltip, .form-row > [class*=col-] > .invalid-tooltip {
  left: 5px;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated select.form-control:invalid, select.form-control.is-invalid {
  padding-right: 3rem !important;
  background-position: right 1.5rem center;
}

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:invalid, .custom-select.is-invalid {
  border-color: #dc3545;
  padding-right: calc(0.75em + 2.3125rem) !important;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) no-repeat;
}
.was-validated .custom-select:invalid:focus, .custom-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
  color: #dc3545;
}
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label {
  color: #dc3545;
}
.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before {
  border-color: #dc3545;
}
.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before {
  border-color: rgb(227.5316455696, 96.4683544304, 109.0253164557);
  background-color: rgb(227.5316455696, 96.4683544304, 109.0253164557);
}
.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #dc3545;
}

.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label {
  border-color: #dc3545;
}
.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
.form-inline .form-check {
  width: 100%;
}
@media (min-width: 576px) {
  .form-inline label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }
  .form-inline .form-group {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 0;
  }
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .form-inline .form-control-plaintext {
    display: inline-block;
  }
  .form-inline .input-group,
  .form-inline .custom-select {
    width: auto;
  }
  .form-inline .form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding-left: 0;
  }
  .form-inline .form-check-input {
    position: relative;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 0.25rem;
    margin-left: 0;
  }
  .form-inline .custom-control {
    align-items: center;
    justify-content: center;
  }
  .form-inline .custom-control-label {
    margin-bottom: 0;
  }
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn:hover {
  color: #212529;
  text-decoration: none;
}
.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn.disabled, .btn:disabled {
  opacity: 0.65;
}
.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-primary:hover {
  color: #fff;
  background-color: rgb(0, 104.55, 216.75);
  border-color: rgb(0, 98.4, 204);
}
.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: rgb(0, 104.55, 216.75);
  border-color: rgb(0, 98.4, 204);
  box-shadow: 0 0 0 0.2rem rgba(38.25, 142.8, 255, 0.5);
}
.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: rgb(0, 98.4, 204);
  border-color: rgb(0, 92.25, 191.25);
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38.25, 142.8, 255, 0.5);
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:hover {
  color: #fff;
  background-color: rgb(90.2703862661, 97.7929184549, 104.4796137339);
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}
.btn-secondary:focus, .btn-secondary.focus {
  color: #fff;
  background-color: rgb(90.2703862661, 97.7929184549, 104.4796137339);
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  box-shadow: 0 0 0 0.2rem rgba(130.05, 137.7, 144.5, 0.5);
}
.btn-secondary.disabled, .btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  border-color: rgb(78.4506437768, 84.9881974249, 90.7993562232);
}
.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(130.05, 137.7, 144.5, 0.5);
}

.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.btn-success:hover {
  color: #fff;
  background-color: rgb(32.6086956522, 136.1413043478, 56.25);
  border-color: rgb(30.1449275362, 125.8550724638, 52);
}
.btn-success:focus, .btn-success.focus {
  color: #fff;
  background-color: rgb(32.6086956522, 136.1413043478, 56.25);
  border-color: rgb(30.1449275362, 125.8550724638, 52);
  box-shadow: 0 0 0 0.2rem rgba(72.25, 180.2, 96.9, 0.5);
}
.btn-success.disabled, .btn-success:disabled {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: rgb(30.1449275362, 125.8550724638, 52);
  border-color: rgb(27.6811594203, 115.5688405797, 47.75);
}
.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, .show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(72.25, 180.2, 96.9, 0.5);
}

.btn-info {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}
.btn-info:hover {
  color: #fff;
  background-color: rgb(18.75, 132.0652173913, 150);
  border-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
}
.btn-info:focus, .btn-info.focus {
  color: #fff;
  background-color: rgb(18.75, 132.0652173913, 150);
  border-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
  box-shadow: 0 0 0 0.2rem rgba(57.8, 175.95, 194.65, 0.5);
}
.btn-info.disabled, .btn-info:disabled {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}
.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle {
  color: #fff;
  background-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
  border-color: rgb(15.9166666667, 112.1086956522, 127.3333333333);
}
.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, .show > .btn-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(57.8, 175.95, 194.65, 0.5);
}

.btn-warning {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}
.btn-warning:hover {
  color: #212529;
  background-color: rgb(223.75, 167.8125, 0);
  border-color: rgb(211, 158.25, 0);
}
.btn-warning:focus, .btn-warning.focus {
  color: #212529;
  background-color: rgb(223.75, 167.8125, 0);
  border-color: rgb(211, 158.25, 0);
  box-shadow: 0 0 0 0.2rem rgba(221.7, 169.6, 12.1, 0.5);
}
.btn-warning.disabled, .btn-warning:disabled {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}
.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle {
  color: #212529;
  background-color: rgb(211, 158.25, 0);
  border-color: rgb(198.25, 148.6875, 0);
}
.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(221.7, 169.6, 12.1, 0.5);
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-danger:hover {
  color: #fff;
  background-color: rgb(200.082278481, 34.667721519, 50.5158227848);
  border-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.btn-danger:focus, .btn-danger.focus {
  color: #fff;
  background-color: rgb(200.082278481, 34.667721519, 50.5158227848);
  border-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  box-shadow: 0 0 0 0.2rem rgba(225.25, 83.3, 96.9, 0.5);
}
.btn-danger.disabled, .btn-danger:disabled {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  border-color: rgb(178.3481012658, 30.9018987342, 45.0284810127);
}
.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-danger.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(225.25, 83.3, 96.9, 0.5);
}

.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-light:hover {
  color: #212529;
  background-color: rgb(225.6875, 229.875, 234.0625);
  border-color: rgb(218.25, 223.5, 228.75);
}
.btn-light:focus, .btn-light.focus {
  color: #212529;
  background-color: rgb(225.6875, 229.875, 234.0625);
  border-color: rgb(218.25, 223.5, 228.75);
  box-shadow: 0 0 0 0.2rem rgba(215.75, 217.2, 218.65, 0.5);
}
.btn-light.disabled, .btn-light:disabled {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle {
  color: #212529;
  background-color: rgb(218.25, 223.5, 228.75);
  border-color: rgb(210.8125, 217.125, 223.4375);
}
.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, .show > .btn-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(215.75, 217.2, 218.65, 0.5);
}

.btn-dark {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}
.btn-dark:hover {
  color: #fff;
  background-color: rgb(34.8534482759, 38.875, 42.8965517241);
  border-color: rgb(29.1379310345, 32.5, 35.8620689655);
}
.btn-dark:focus, .btn-dark.focus {
  color: #fff;
  background-color: rgb(34.8534482759, 38.875, 42.8965517241);
  border-color: rgb(29.1379310345, 32.5, 35.8620689655);
  box-shadow: 0 0 0 0.2rem rgba(82.45, 87.55, 92.65, 0.5);
}
.btn-dark.disabled, .btn-dark:disabled {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}
.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, .show > .btn-dark.dropdown-toggle {
  color: #fff;
  background-color: rgb(29.1379310345, 32.5, 35.8620689655);
  border-color: rgb(23.4224137931, 26.125, 28.8275862069);
}
.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-dark.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(82.45, 87.55, 92.65, 0.5);
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: #007bff;
  background-color: transparent;
}
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:focus, .btn-outline-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
  color: #6c757d;
  background-color: transparent;
}
.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-outline-success {
  color: #28a745;
  border-color: #28a745;
}
.btn-outline-success:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.btn-outline-success:focus, .btn-outline-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-success.disabled, .btn-outline-success:disabled {
  color: #28a745;
  background-color: transparent;
}
.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-outline-info {
  color: #17a2b8;
  border-color: #17a2b8;
}
.btn-outline-info:hover {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}
.btn-outline-info:focus, .btn-outline-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-info.disabled, .btn-outline-info:disabled {
  color: #17a2b8;
  background-color: transparent;
}
.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .show > .btn-outline-info.dropdown-toggle {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}
.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-outline-warning {
  color: #ffc107;
  border-color: #ffc107;
}
.btn-outline-warning:hover {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}
.btn-outline-warning:focus, .btn-outline-warning.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-warning.disabled, .btn-outline-warning:disabled {
  color: #ffc107;
  background-color: transparent;
}
.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .show > .btn-outline-warning.dropdown-toggle {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}
.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}
.btn-outline-danger:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-outline-danger:focus, .btn-outline-danger.focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-danger.disabled, .btn-outline-danger:disabled {
  color: #dc3545;
  background-color: transparent;
}
.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-outline-light:hover {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-outline-light:focus, .btn-outline-light.focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-light.disabled, .btn-outline-light:disabled {
  color: #f8f9fa;
  background-color: transparent;
}
.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, .show > .btn-outline-light.dropdown-toggle {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-outline-dark {
  color: #343a40;
  border-color: #343a40;
}
.btn-outline-dark:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}
.btn-outline-dark:focus, .btn-outline-dark.focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-dark.disabled, .btn-outline-dark:disabled {
  color: #343a40;
  background-color: transparent;
}
.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .show > .btn-outline-dark.dropdown-toggle {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}
.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-dark.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.btn-link {
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
}
.btn-link:hover {
  color: rgb(0, 86.1, 178.5);
  text-decoration: underline;
}
.btn-link:focus, .btn-link.focus {
  text-decoration: underline;
}
.btn-link:disabled, .btn-link.disabled {
  color: #6c757d;
  pointer-events: none;
}

.btn-lg, .btn-group-lg > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.btn-sm, .btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 0.5rem;
}

input[type=submit].btn-block,
input[type=reset].btn-block,
input[type=button].btn-block {
  width: 100%;
}

.fade {
  transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}
.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}
.collapsing.width {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing.width {
    transition: none;
  }
}

.dropup,
.dropright,
.dropdown,
.dropleft {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-menu-left {
  right: auto;
  left: 0;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

@media (min-width: 576px) {
  .dropdown-menu-sm-left {
    right: auto;
    left: 0;
  }
  .dropdown-menu-sm-right {
    right: 0;
    left: auto;
  }
}
@media (min-width: 768px) {
  .dropdown-menu-md-left {
    right: auto;
    left: 0;
  }
  .dropdown-menu-md-right {
    right: 0;
    left: auto;
  }
}
@media (min-width: 992px) {
  .dropdown-menu-lg-left {
    right: auto;
    left: 0;
  }
  .dropdown-menu-lg-right {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1200px) {
  .dropdown-menu-xl-left {
    right: auto;
    left: 0;
  }
  .dropdown-menu-xl-right {
    right: 0;
    left: auto;
  }
}
.dropup .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.125rem;
}
.dropup .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-menu {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}
.dropright .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropright .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropright .dropdown-toggle::after {
  vertical-align: 0;
}

.dropleft .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.125rem;
}
.dropleft .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}
.dropleft .dropdown-toggle::after {
  display: none;
}
.dropleft .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropleft .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropleft .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-menu[x-placement^=top], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left] {
  right: auto;
  bottom: auto;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: rgb(21.6283783784, 24.25, 26.8716216216);
  text-decoration: none;
  background-color: #e9ecef;
}
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: #adb5bd;
  pointer-events: none;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: 0.25rem 1.5rem;
  color: #212529;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover {
  z-index: 1;
}
.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
  z-index: 1;
}

.btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.btn-toolbar .input-group {
  width: auto;
}

.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) {
  margin-left: -1px;
}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown-toggle-split {
  padding-right: 0.5625rem;
  padding-left: 0.5625rem;
}
.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropright .dropdown-toggle-split::after {
  margin-left: 0;
}
.dropleft .dropdown-toggle-split::before {
  margin-right: 0;
}

.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {
  padding-right: 0.375rem;
  padding-left: 0.375rem;
}

.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.btn-group-vertical {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group {
  width: 100%;
}
.btn-group-vertical > .btn:not(:first-child),
.btn-group-vertical > .btn-group:not(:first-child) {
  margin-top: -1px;
}
.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group-vertical > .btn-group:not(:last-child) > .btn {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn:not(:first-child),
.btn-group-vertical > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.btn-group-toggle > .btn,
.btn-group-toggle > .btn-group > .btn {
  margin-bottom: 0;
}
.btn-group-toggle > .btn input[type=radio],
.btn-group-toggle > .btn input[type=checkbox],
.btn-group-toggle > .btn-group > .btn input[type=radio],
.btn-group-toggle > .btn-group > .btn input[type=checkbox] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > .form-control,
.input-group > .form-control-plaintext,
.input-group > .custom-select,
.input-group > .custom-file {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin-bottom: 0;
}
.input-group > .form-control + .form-control,
.input-group > .form-control + .custom-select,
.input-group > .form-control + .custom-file,
.input-group > .form-control-plaintext + .form-control,
.input-group > .form-control-plaintext + .custom-select,
.input-group > .form-control-plaintext + .custom-file,
.input-group > .custom-select + .form-control,
.input-group > .custom-select + .custom-select,
.input-group > .custom-select + .custom-file,
.input-group > .custom-file + .form-control,
.input-group > .custom-file + .custom-select,
.input-group > .custom-file + .custom-file {
  margin-left: -1px;
}
.input-group > .form-control:focus,
.input-group > .custom-select:focus,
.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label {
  z-index: 3;
}
.input-group > .custom-file .custom-file-input:focus {
  z-index: 4;
}
.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .custom-file {
  display: flex;
  align-items: center;
}
.input-group > .custom-file:not(:last-child) .custom-file-label, .input-group > .custom-file:not(:last-child) .custom-file-label::after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group > .custom-file:not(:first-child) .custom-file-label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group:not(.has-validation) > .form-control:not(:last-child),
.input-group:not(.has-validation) > .custom-select:not(:last-child),
.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label,
.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label::after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group.has-validation > .form-control:nth-last-child(n+3),
.input-group.has-validation > .custom-select:nth-last-child(n+3),
.input-group.has-validation > .custom-file:nth-last-child(n+3) .custom-file-label,
.input-group.has-validation > .custom-file:nth-last-child(n+3) .custom-file-label::after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-prepend,
.input-group-append {
  display: flex;
}
.input-group-prepend .btn,
.input-group-append .btn {
  position: relative;
  z-index: 2;
}
.input-group-prepend .btn:focus,
.input-group-append .btn:focus {
  z-index: 3;
}
.input-group-prepend .btn + .btn,
.input-group-prepend .btn + .input-group-text,
.input-group-prepend .input-group-text + .input-group-text,
.input-group-prepend .input-group-text + .btn,
.input-group-append .btn + .btn,
.input-group-append .btn + .input-group-text,
.input-group-append .input-group-text + .input-group-text,
.input-group-append .input-group-text + .btn {
  margin-left: -1px;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.input-group-text input[type=radio],
.input-group-text input[type=checkbox] {
  margin-top: 0;
}

.input-group-lg > .form-control:not(textarea),
.input-group-lg > .custom-select {
  height: calc(1.5em + 1rem + 2px);
}

.input-group-lg > .form-control,
.input-group-lg > .custom-select,
.input-group-lg > .input-group-prepend > .input-group-text,
.input-group-lg > .input-group-append > .input-group-text,
.input-group-lg > .input-group-prepend > .btn,
.input-group-lg > .input-group-append > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group-sm > .form-control:not(textarea),
.input-group-sm > .custom-select {
  height: calc(1.5em + 0.5rem + 2px);
}

.input-group-sm > .form-control,
.input-group-sm > .custom-select,
.input-group-sm > .input-group-prepend > .input-group-text,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.input-group-lg > .custom-select,
.input-group-sm > .custom-select {
  padding-right: 1.75rem;
}

.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .btn,
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .input-group-text,
.input-group.has-validation > .input-group-append:nth-last-child(n+3) > .btn,
.input-group.has-validation > .input-group-append:nth-last-child(n+3) > .input-group-text,
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-control {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
  print-color-adjust: exact;
}

.custom-control-inline {
  display: inline-flex;
  margin-right: 1rem;
}

.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #007bff;
  background-color: #007bff;
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: rgb(127.5, 189, 255);
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  color: #fff;
  background-color: rgb(178.5, 215.4, 255);
  border-color: rgb(178.5, 215.4, 255);
}
.custom-control-input[disabled] ~ .custom-control-label, .custom-control-input:disabled ~ .custom-control-label {
  color: #6c757d;
}
.custom-control-input[disabled] ~ .custom-control-label::before, .custom-control-input:disabled ~ .custom-control-label::before {
  background-color: #e9ecef;
}

.custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
}
.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: 1px solid #adb5bd;
}
.custom-control-label::after {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background: 50%/50% 50% no-repeat;
}

.custom-checkbox .custom-control-label::before {
  border-radius: 0.25rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: #007bff;
  background-color: #007bff;
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}

.custom-radio .custom-control-label::before {
  border-radius: 50%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}

.custom-switch {
  padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
  left: -2.25rem;
  width: 1.75rem;
  pointer-events: all;
  border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
  top: calc(0.25rem + 2px);
  left: calc(-2.25rem + 2px);
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
  background-color: #adb5bd;
  border-radius: 0.5rem;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .custom-switch .custom-control-label::after {
    transition: none;
  }
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}

.custom-select {
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  vertical-align: middle;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  appearance: none;
}
.custom-select:focus {
  border-color: rgb(127.5, 189, 255);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-select:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}
.custom-select[multiple], .custom-select[size]:not([size="1"]) {
  height: auto;
  padding-right: 0.75rem;
  background-image: none;
}
.custom-select:disabled {
  color: #6c757d;
  background-color: #e9ecef;
}
.custom-select::-ms-expand {
  display: none;
}
.custom-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #495057;
}

.custom-select-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
}

.custom-select-lg {
  height: calc(1.5em + 1rem + 2px);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  font-size: 1.25rem;
}

.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin-bottom: 0;
}

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin: 0;
  overflow: hidden;
  opacity: 0;
}
.custom-file-input:focus ~ .custom-file-label {
  border-color: rgb(127.5, 189, 255);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-file-input[disabled] ~ .custom-file-label, .custom-file-input:disabled ~ .custom-file-label {
  background-color: #e9ecef;
}
.custom-file-input:lang(en) ~ .custom-file-label::after {
  content: "Browse";
}
.custom-file-input ~ .custom-file-label[data-browse]::after {
  content: attr(data-browse);
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  overflow: hidden;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(1.5em + 0.75rem);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "Browse";
  background-color: #e9ecef;
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}

.custom-range {
  width: 100%;
  height: 1.4rem;
  padding: 0;
  background-color: transparent;
  appearance: none;
}
.custom-range:focus {
  outline: 0;
}
.custom-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range:focus::-ms-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range::-moz-focus-outer {
  border: 0;
}
.custom-range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.25rem;
  background-color: #007bff;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}
@media (prefers-reduced-motion: reduce) {
  .custom-range::-webkit-slider-thumb {
    transition: none;
  }
}
.custom-range::-webkit-slider-thumb:active {
  background-color: rgb(178.5, 215.4, 255);
}
.custom-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 1rem;
}
.custom-range::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  background-color: #007bff;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}
@media (prefers-reduced-motion: reduce) {
  .custom-range::-moz-range-thumb {
    transition: none;
  }
}
.custom-range::-moz-range-thumb:active {
  background-color: rgb(178.5, 215.4, 255);
}
.custom-range::-moz-range-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 1rem;
}
.custom-range::-ms-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  margin-right: 0.2rem;
  margin-left: 0.2rem;
  background-color: #007bff;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}
@media (prefers-reduced-motion: reduce) {
  .custom-range::-ms-thumb {
    transition: none;
  }
}
.custom-range::-ms-thumb:active {
  background-color: rgb(178.5, 215.4, 255);
}
.custom-range::-ms-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: transparent;
  border-color: transparent;
  border-width: 0.5rem;
}
.custom-range::-ms-fill-lower {
  background-color: #dee2e6;
  border-radius: 1rem;
}
.custom-range::-ms-fill-upper {
  margin-right: 15px;
  background-color: #dee2e6;
  border-radius: 1rem;
}
.custom-range:disabled::-webkit-slider-thumb {
  background-color: #adb5bd;
}
.custom-range:disabled::-webkit-slider-runnable-track {
  cursor: default;
}
.custom-range:disabled::-moz-range-thumb {
  background-color: #adb5bd;
}
.custom-range:disabled::-moz-range-track {
  cursor: default;
}
.custom-range:disabled::-ms-thumb {
  background-color: #adb5bd;
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .custom-control-label::before,
  .custom-file-label,
  .custom-select {
    transition: none;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}
.nav-link:hover, .nav-link:focus {
  text-decoration: none;
}
.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-link {
  margin-bottom: -1px;
  background-color: transparent;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  isolation: isolate;
  border-color: #e9ecef #e9ecef #dee2e6;
}
.nav-tabs .nav-link.disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-pills .nav-link {
  background: none;
  border: 0;
  border-radius: 0.25rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #007bff;
}

.nav-fill > .nav-link,
.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav-justified > .nav-link,
.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}
.navbar .container,
.navbar .container-fluid,
.navbar .container-sm,
.navbar .container-md,
.navbar .container-lg,
.navbar .container-xl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}
.navbar-brand:hover, .navbar-brand:focus {
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}
.navbar-nav .dropdown-menu {
  position: static;
  float: none;
}

.navbar-text {
  display: inline-block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}
.navbar-toggler:hover, .navbar-toggler:focus {
  text-decoration: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: 50%/100% 100% no-repeat;
}

.navbar-nav-scroll {
  max-height: 75vh;
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .navbar-expand-sm > .container,
  .navbar-expand-sm > .container-fluid,
  .navbar-expand-sm > .container-sm,
  .navbar-expand-sm > .container-md,
  .navbar-expand-sm > .container-lg,
  .navbar-expand-sm > .container-xl {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 576px) {
  .navbar-expand-sm {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-sm .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-sm .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-sm > .container,
  .navbar-expand-sm > .container-fluid,
  .navbar-expand-sm > .container-sm,
  .navbar-expand-sm > .container-md,
  .navbar-expand-sm > .container-lg,
  .navbar-expand-sm > .container-xl {
    flex-wrap: nowrap;
  }
  .navbar-expand-sm .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-sm .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-sm .navbar-toggler {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .navbar-expand-md > .container,
  .navbar-expand-md > .container-fluid,
  .navbar-expand-md > .container-sm,
  .navbar-expand-md > .container-md,
  .navbar-expand-md > .container-lg,
  .navbar-expand-md > .container-xl {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .navbar-expand-md {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-md > .container,
  .navbar-expand-md > .container-fluid,
  .navbar-expand-md > .container-sm,
  .navbar-expand-md > .container-md,
  .navbar-expand-md > .container-lg,
  .navbar-expand-md > .container-xl {
    flex-wrap: nowrap;
  }
  .navbar-expand-md .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-md .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-md .navbar-toggler {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid,
  .navbar-expand-lg > .container-sm,
  .navbar-expand-lg > .container-md,
  .navbar-expand-lg > .container-lg,
  .navbar-expand-lg > .container-xl {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid,
  .navbar-expand-lg > .container-sm,
  .navbar-expand-lg > .container-md,
  .navbar-expand-lg > .container-lg,
  .navbar-expand-lg > .container-xl {
    flex-wrap: nowrap;
  }
  .navbar-expand-lg .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}
@media (max-width: 1199.98px) {
  .navbar-expand-xl > .container,
  .navbar-expand-xl > .container-fluid,
  .navbar-expand-xl > .container-sm,
  .navbar-expand-xl > .container-md,
  .navbar-expand-xl > .container-lg,
  .navbar-expand-xl > .container-xl {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 1200px) {
  .navbar-expand-xl {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-xl > .container,
  .navbar-expand-xl > .container-fluid,
  .navbar-expand-xl > .container-sm,
  .navbar-expand-xl > .container-md,
  .navbar-expand-xl > .container-lg,
  .navbar-expand-xl > .container-xl {
    flex-wrap: nowrap;
  }
  .navbar-expand-xl .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-xl .navbar-toggler {
    display: none;
  }
}
.navbar-expand {
  flex-flow: row nowrap;
  justify-content: flex-start;
}
.navbar-expand > .container,
.navbar-expand > .container-fluid,
.navbar-expand > .container-sm,
.navbar-expand > .container-md,
.navbar-expand > .container-lg,
.navbar-expand > .container-xl {
  padding-right: 0;
  padding-left: 0;
}
.navbar-expand .navbar-nav {
  flex-direction: row;
}
.navbar-expand .navbar-nav .dropdown-menu {
  position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.navbar-expand > .container,
.navbar-expand > .container-fluid,
.navbar-expand > .container-sm,
.navbar-expand > .container-md,
.navbar-expand > .container-lg,
.navbar-expand > .container-xl {
  flex-wrap: nowrap;
}
.navbar-expand .navbar-nav-scroll {
  overflow: visible;
}
.navbar-expand .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}
.navbar-expand .navbar-toggler {
  display: none;
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.5);
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: rgba(0, 0, 0, 0.7);
}
.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-light .navbar-text {
  color: rgba(0, 0, 0, 0.5);
}
.navbar-light .navbar-text a {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-dark .navbar-brand {
  color: #fff;
}
.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
  color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-nav .nav-link.disabled {
  color: rgba(255, 255, 255, 0.25);
}
.navbar-dark .navbar-nav .show > .nav-link,
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}
.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-text {
  color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-text a {
  color: #fff;
}
.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus {
  color: #fff;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}
.card > hr {
  margin-right: 0;
  margin-left: 0;
}
.card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}
.card > .list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}
.card > .list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}
.card > .card-header + .list-group,
.card > .list-group + .card-footer {
  border-top: 0;
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}
.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}
.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}
@media (min-width: 576px) {
  .card-deck {
    display: flex;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .card-deck .card {
    flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group > .card {
  margin-bottom: 15px;
}
@media (min-width: 576px) {
  .card-group {
    display: flex;
    flex-flow: row wrap;
  }
  .card-group > .card {
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-top,
  .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-bottom,
  .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-top,
  .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-bottom,
  .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}
@media (min-width: 576px) {
  .card-columns {
    column-count: 3;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

.accordion {
  overflow-anchor: none;
}
.accordion > .card {
  overflow: hidden;
}
.accordion > .card:not(:last-of-type) {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.accordion > .card:not(:first-of-type) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.accordion > .card > .card-header {
  border-radius: 0;
  margin-bottom: -1px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 0.5rem;
  color: #6c757d;
  content: "/";
}
.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: none;
}
.breadcrumb-item.active {
  color: #6c757d;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.page-link:hover {
  z-index: 2;
  color: rgb(0, 86.1, 178.5);
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}
.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}
.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}
.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .badge {
    transition: none;
  }
}
a.badge:hover, a.badge:focus {
  text-decoration: none;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}
a.badge-primary:hover, a.badge-primary:focus {
  color: #fff;
  background-color: rgb(0, 98.4, 204);
}
a.badge-primary:focus, a.badge-primary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}
a.badge-secondary:hover, a.badge-secondary:focus {
  color: #fff;
  background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}
a.badge-secondary:focus, a.badge-secondary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}
a.badge-success:hover, a.badge-success:focus {
  color: #fff;
  background-color: rgb(30.1449275362, 125.8550724638, 52);
}
a.badge-success:focus, a.badge-success.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}
a.badge-info:hover, a.badge-info:focus {
  color: #fff;
  background-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
}
a.badge-info:focus, a.badge-info.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}
a.badge-warning:hover, a.badge-warning:focus {
  color: #212529;
  background-color: rgb(211, 158.25, 0);
}
a.badge-warning:focus, a.badge-warning.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}
a.badge-danger:hover, a.badge-danger:focus {
  color: #fff;
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
a.badge-danger:focus, a.badge-danger.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}
a.badge-light:hover, a.badge-light:focus {
  color: #212529;
  background-color: rgb(218.25, 223.5, 228.75);
}
a.badge-light:focus, a.badge-light.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}
a.badge-dark:hover, a.badge-dark:focus {
  color: #fff;
  background-color: rgb(29.1379310345, 32.5, 35.8620689655);
}
a.badge-dark:focus, a.badge-dark.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: 0.3rem;
}
@media (min-width: 576px) {
  .jumbotron {
    padding: 4rem 2rem;
  }
}

.jumbotron-fluid {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 4rem;
}
.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: rgb(0, 63.96, 132.6);
  background-color: rgb(204, 228.6, 255);
  border-color: rgb(183.6, 218.04, 255);
}
.alert-primary hr {
  border-top-color: rgb(158.1, 204.84, 255);
}
.alert-primary .alert-link {
  color: rgb(0, 39.36, 81.6);
}

.alert-secondary {
  color: rgb(56.16, 60.84, 65);
  background-color: rgb(225.6, 227.4, 229);
  border-color: rgb(213.84, 216.36, 218.6);
}
.alert-secondary hr {
  border-top-color: rgb(200.3075090253, 203.6560288809, 206.6324909747);
}
.alert-secondary .alert-link {
  color: rgb(32.5205150215, 35.2305579399, 37.6394849785);
}

.alert-success {
  color: rgb(20.8, 86.84, 35.88);
  background-color: rgb(212, 237.4, 217.8);
  border-color: rgb(194.8, 230.36, 202.92);
}
.alert-success hr {
  border-top-color: rgb(176.7059405941, 222.9540594059, 187.2665346535);
}
.alert-success .alert-link {
  color: rgb(10.9449275362, 45.6950724638, 18.88);
}

.alert-info {
  color: rgb(11.96, 84.24, 95.68);
  background-color: rgb(208.6, 236.4, 240.8);
  border-color: rgb(190.04, 228.96, 235.12);
}
.alert-info hr {
  border-top-color: rgb(170.5152475248, 221.1332673267, 229.1447524752);
}
.alert-info .alert-link {
  color: rgb(6.2933333333, 44.3269565217, 50.3466666667);
}

.alert-warning {
  color: rgb(132.6, 100.36, 3.64);
  background-color: rgb(255, 242.6, 205.4);
  border-color: rgb(255, 237.64, 185.56);
}
.alert-warning hr {
  border-top-color: rgb(255, 231.265, 160.06);
}
.alert-warning .alert-link {
  color: rgb(82.9625954198, 62.7912977099, 2.2774045802);
}

.alert-danger {
  color: rgb(114.4, 27.56, 35.88);
  background-color: rgb(248, 214.6, 217.8);
  border-color: rgb(245.2, 198.44, 202.92);
}
.alert-danger hr {
  border-top-color: rgb(241.4341772152, 176.7058227848, 182.9073417722);
}
.alert-danger .alert-link {
  color: rgb(73.3010989011, 17.6589010989, 22.9898901099);
}

.alert-light {
  color: rgb(128.96, 129.48, 130);
  background-color: rgb(253.6, 253.8, 254);
  border-color: rgb(253.04, 253.32, 253.6);
}
.alert-light hr {
  border-top-color: rgb(238.165, 240.57, 242.975);
}
.alert-light .alert-link {
  color: rgb(103.5492351816, 103.98, 104.4107648184);
}

.alert-dark {
  color: rgb(27.04, 30.16, 33.28);
  background-color: rgb(214.4, 215.6, 216.8);
  border-color: rgb(198.16, 199.84, 201.52);
}
.alert-dark hr {
  border-top-color: rgb(185.0216751269, 187.09, 189.1583248731);
}
.alert-dark .alert-link {
  color: rgb(4.1779310345, 4.66, 5.1420689655);
}

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }
  to {
    background-position: 0 0;
  }
}
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #007bff;
  transition: width 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  animation: 1s linear infinite progress-bar-stripes;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar-animated {
    animation: none;
  }
}

.media {
  display: flex;
  align-items: flex-start;
}

.media-body {
  flex: 1;
}

.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0.25rem;
}

.list-group-item-action {
  width: 100%;
  color: #495057;
  text-align: inherit;
}
.list-group-item-action:hover, .list-group-item-action:focus {
  z-index: 1;
  color: #495057;
  text-decoration: none;
  background-color: #f8f9fa;
}
.list-group-item-action:active {
  color: #212529;
  background-color: #e9ecef;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.list-group-item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.list-group-item.disabled, .list-group-item:disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
}
.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.list-group-item + .list-group-item {
  border-top-width: 0;
}
.list-group-item + .list-group-item.active {
  margin-top: -1px;
  border-top-width: 1px;
}

.list-group-horizontal {
  flex-direction: row;
}
.list-group-horizontal > .list-group-item:first-child {
  border-bottom-left-radius: 0.25rem;
  border-top-right-radius: 0;
}
.list-group-horizontal > .list-group-item:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-left-radius: 0;
}
.list-group-horizontal > .list-group-item.active {
  margin-top: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item {
  border-top-width: 1px;
  border-left-width: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item.active {
  margin-left: -1px;
  border-left-width: 1px;
}

@media (min-width: 576px) {
  .list-group-horizontal-sm {
    flex-direction: row;
  }
  .list-group-horizontal-sm > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}
@media (min-width: 768px) {
  .list-group-horizontal-md {
    flex-direction: row;
  }
  .list-group-horizontal-md > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}
@media (min-width: 992px) {
  .list-group-horizontal-lg {
    flex-direction: row;
  }
  .list-group-horizontal-lg > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}
@media (min-width: 1200px) {
  .list-group-horizontal-xl {
    flex-direction: row;
  }
  .list-group-horizontal-xl > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}
.list-group-flush {
  border-radius: 0;
}
.list-group-flush > .list-group-item {
  border-width: 0 0 1px;
}
.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}

.list-group-item-primary {
  color: rgb(0, 63.96, 132.6);
  background-color: rgb(183.6, 218.04, 255);
}
.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
  color: rgb(0, 63.96, 132.6);
  background-color: rgb(158.1, 204.84, 255);
}
.list-group-item-primary.list-group-item-action.active {
  color: #fff;
  background-color: rgb(0, 63.96, 132.6);
  border-color: rgb(0, 63.96, 132.6);
}

.list-group-item-secondary {
  color: rgb(56.16, 60.84, 65);
  background-color: rgb(213.84, 216.36, 218.6);
}
.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {
  color: rgb(56.16, 60.84, 65);
  background-color: rgb(200.3075090253, 203.6560288809, 206.6324909747);
}
.list-group-item-secondary.list-group-item-action.active {
  color: #fff;
  background-color: rgb(56.16, 60.84, 65);
  border-color: rgb(56.16, 60.84, 65);
}

.list-group-item-success {
  color: rgb(20.8, 86.84, 35.88);
  background-color: rgb(194.8, 230.36, 202.92);
}
.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {
  color: rgb(20.8, 86.84, 35.88);
  background-color: rgb(176.7059405941, 222.9540594059, 187.2665346535);
}
.list-group-item-success.list-group-item-action.active {
  color: #fff;
  background-color: rgb(20.8, 86.84, 35.88);
  border-color: rgb(20.8, 86.84, 35.88);
}

.list-group-item-info {
  color: rgb(11.96, 84.24, 95.68);
  background-color: rgb(190.04, 228.96, 235.12);
}
.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {
  color: rgb(11.96, 84.24, 95.68);
  background-color: rgb(170.5152475248, 221.1332673267, 229.1447524752);
}
.list-group-item-info.list-group-item-action.active {
  color: #fff;
  background-color: rgb(11.96, 84.24, 95.68);
  border-color: rgb(11.96, 84.24, 95.68);
}

.list-group-item-warning {
  color: rgb(132.6, 100.36, 3.64);
  background-color: rgb(255, 237.64, 185.56);
}
.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {
  color: rgb(132.6, 100.36, 3.64);
  background-color: rgb(255, 231.265, 160.06);
}
.list-group-item-warning.list-group-item-action.active {
  color: #fff;
  background-color: rgb(132.6, 100.36, 3.64);
  border-color: rgb(132.6, 100.36, 3.64);
}

.list-group-item-danger {
  color: rgb(114.4, 27.56, 35.88);
  background-color: rgb(245.2, 198.44, 202.92);
}
.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {
  color: rgb(114.4, 27.56, 35.88);
  background-color: rgb(241.4341772152, 176.7058227848, 182.9073417722);
}
.list-group-item-danger.list-group-item-action.active {
  color: #fff;
  background-color: rgb(114.4, 27.56, 35.88);
  border-color: rgb(114.4, 27.56, 35.88);
}

.list-group-item-light {
  color: rgb(128.96, 129.48, 130);
  background-color: rgb(253.04, 253.32, 253.6);
}
.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {
  color: rgb(128.96, 129.48, 130);
  background-color: rgb(238.165, 240.57, 242.975);
}
.list-group-item-light.list-group-item-action.active {
  color: #fff;
  background-color: rgb(128.96, 129.48, 130);
  border-color: rgb(128.96, 129.48, 130);
}

.list-group-item-dark {
  color: rgb(27.04, 30.16, 33.28);
  background-color: rgb(198.16, 199.84, 201.52);
}
.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {
  color: rgb(27.04, 30.16, 33.28);
  background-color: rgb(185.0216751269, 187.09, 189.1583248731);
}
.list-group-item-dark.list-group-item-action.active {
  color: #fff;
  background-color: rgb(27.04, 30.16, 33.28);
  border-color: rgb(27.04, 30.16, 33.28);
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}
.close:hover {
  color: #000;
  text-decoration: none;
}
.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
  opacity: 0.75;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
}

a.close.disabled {
  pointer-events: none;
}

.toast {
  flex-basis: 350px;
  max-width: 350px;
  font-size: 0.875rem;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  opacity: 0;
  border-radius: 0.25rem;
}
.toast:not(:last-child) {
  margin-bottom: 0.75rem;
}
.toast.showing {
  opacity: 1;
}
.toast.show {
  display: block;
  opacity: 1;
}
.toast.hide {
  display: none;
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.toast-body {
  padding: 0.75rem;
}

.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  transform: none;
}
.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  display: flex;
  max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}
.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: min-content;
  content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
  margin: 0.25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
    height: min-content;
  }
  .modal-sm {
    max-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}
.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  opacity: 0;
}
.tooltip.show {
  opacity: 0.9;
}
.tooltip .arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}
.tooltip .arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-tooltip-top, .bs-tooltip-auto[x-placement^=top] {
  padding: 0.4rem 0;
}
.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^=top] .arrow {
  bottom: 0;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^=top] .arrow::before {
  top: 0;
  border-width: 0.4rem 0.4rem 0;
  border-top-color: #000;
}

.bs-tooltip-right, .bs-tooltip-auto[x-placement^=right] {
  padding: 0 0.4rem;
}
.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^=right] .arrow {
  left: 0;
  width: 0.4rem;
  height: 0.8rem;
}
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^=right] .arrow::before {
  right: 0;
  border-width: 0.4rem 0.4rem 0.4rem 0;
  border-right-color: #000;
}

.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^=bottom] {
  padding: 0.4rem 0;
}
.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^=bottom] .arrow {
  top: 0;
}
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^=bottom] .arrow::before {
  bottom: 0;
  border-width: 0 0.4rem 0.4rem;
  border-bottom-color: #000;
}

.bs-tooltip-left, .bs-tooltip-auto[x-placement^=left] {
  padding: 0 0.4rem;
}
.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^=left] .arrow {
  right: 0;
  width: 0.4rem;
  height: 0.8rem;
}
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^=left] .arrow::before {
  left: 0;
  border-width: 0.4rem 0 0.4rem 0.4rem;
  border-left-color: #000;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 0.25rem;
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}
.popover .arrow {
  position: absolute;
  display: block;
  width: 1rem;
  height: 0.5rem;
  margin: 0 0.3rem;
}
.popover .arrow::before, .popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-popover-top, .bs-popover-auto[x-placement^=top] {
  margin-bottom: 0.5rem;
}
.bs-popover-top > .arrow, .bs-popover-auto[x-placement^=top] > .arrow {
  bottom: calc(-0.5rem - 1px);
}
.bs-popover-top > .arrow::before, .bs-popover-auto[x-placement^=top] > .arrow::before {
  bottom: 0;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: rgba(0, 0, 0, 0.25);
}
.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^=top] > .arrow::after {
  bottom: 1px;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: #fff;
}

.bs-popover-right, .bs-popover-auto[x-placement^=right] {
  margin-left: 0.5rem;
}
.bs-popover-right > .arrow, .bs-popover-auto[x-placement^=right] > .arrow {
  left: calc(-0.5rem - 1px);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}
.bs-popover-right > .arrow::before, .bs-popover-auto[x-placement^=right] > .arrow::before {
  left: 0;
  border-width: 0.5rem 0.5rem 0.5rem 0;
  border-right-color: rgba(0, 0, 0, 0.25);
}
.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^=right] > .arrow::after {
  left: 1px;
  border-width: 0.5rem 0.5rem 0.5rem 0;
  border-right-color: #fff;
}

.bs-popover-bottom, .bs-popover-auto[x-placement^=bottom] {
  margin-top: 0.5rem;
}
.bs-popover-bottom > .arrow, .bs-popover-auto[x-placement^=bottom] > .arrow {
  top: calc(-0.5rem - 1px);
}
.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^=bottom] > .arrow::before {
  top: 0;
  border-width: 0 0.5rem 0.5rem 0.5rem;
  border-bottom-color: rgba(0, 0, 0, 0.25);
}
.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^=bottom] > .arrow::after {
  top: 1px;
  border-width: 0 0.5rem 0.5rem 0.5rem;
  border-bottom-color: #fff;
}
.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^=bottom] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1rem;
  margin-left: -0.5rem;
  content: "";
  border-bottom: 1px solid rgb(247.35, 247.35, 247.35);
}

.bs-popover-left, .bs-popover-auto[x-placement^=left] {
  margin-right: 0.5rem;
}
.bs-popover-left > .arrow, .bs-popover-auto[x-placement^=left] > .arrow {
  right: calc(-0.5rem - 1px);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}
.bs-popover-left > .arrow::before, .bs-popover-auto[x-placement^=left] > .arrow::before {
  right: 0;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  border-left-color: rgba(0, 0, 0, 0.25);
}
.bs-popover-left > .arrow::after, .bs-popover-auto[x-placement^=left] > .arrow::after {
  right: 1px;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  border-left-color: #fff;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  background-color: rgb(247.35, 247.35, 247.35);
  border-bottom: 1px solid rgb(234.6, 234.6, 234.6);
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}

.carousel {
  position: relative;
}

.carousel.pointer-event {
  touch-action: pan-y;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
  transform: translateX(-100%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  z-index: 1;
  opacity: 1;
}
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-left,
  .carousel-fade .active.carousel-item-right {
    transition: none;
  }
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}
.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: 50%/100% 100% no-repeat;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}
.carousel-indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-indicators li {
    transition: none;
  }
}
.carousel-indicators .active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: 0.75s linear infinite spinner-border;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

@keyframes spinner-grow {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: none;
  }
}
.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  background-color: currentcolor;
  border-radius: 50%;
  opacity: 0;
  animation: 0.75s linear infinite spinner-grow;
}

.spinner-grow-sm {
  width: 1rem;
  height: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .spinner-border,
  .spinner-grow {
    animation-duration: 1.5s;
  }
}
.align-baseline {
  vertical-align: baseline !important;
}

.align-top {
  vertical-align: top !important;
}

.align-middle {
  vertical-align: middle !important;
}

.align-bottom {
  vertical-align: bottom !important;
}

.align-text-bottom {
  vertical-align: text-bottom !important;
}

.align-text-top {
  vertical-align: text-top !important;
}

.bg-primary {
  background-color: #007bff !important;
}

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: rgb(0, 98.4, 204) !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

a.bg-secondary:hover, a.bg-secondary:focus,
button.bg-secondary:hover,
button.bg-secondary:focus {
  background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785) !important;
}

.bg-success {
  background-color: #28a745 !important;
}

a.bg-success:hover, a.bg-success:focus,
button.bg-success:hover,
button.bg-success:focus {
  background-color: rgb(30.1449275362, 125.8550724638, 52) !important;
}

.bg-info {
  background-color: #17a2b8 !important;
}

a.bg-info:hover, a.bg-info:focus,
button.bg-info:hover,
button.bg-info:focus {
  background-color: rgb(17.3333333333, 122.0869565217, 138.6666666667) !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

a.bg-warning:hover, a.bg-warning:focus,
button.bg-warning:hover,
button.bg-warning:focus {
  background-color: rgb(211, 158.25, 0) !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

a.bg-danger:hover, a.bg-danger:focus,
button.bg-danger:hover,
button.bg-danger:focus {
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987) !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

a.bg-light:hover, a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
  background-color: rgb(218.25, 223.5, 228.75) !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

a.bg-dark:hover, a.bg-dark:focus,
button.bg-dark:hover,
button.bg-dark:focus {
  background-color: rgb(29.1379310345, 32.5, 35.8620689655) !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.border-right {
  border-right: 1px solid #dee2e6 !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-left {
  border-left: 1px solid #dee2e6 !important;
}

.border-0 {
  border: 0 !important;
}

.border-top-0 {
  border-top: 0 !important;
}

.border-right-0 {
  border-right: 0 !important;
}

.border-bottom-0 {
  border-bottom: 0 !important;
}

.border-left-0 {
  border-left: 0 !important;
}

.border-primary {
  border-color: #007bff !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-success {
  border-color: #28a745 !important;
}

.border-info {
  border-color: #17a2b8 !important;
}

.border-warning {
  border-color: #ffc107 !important;
}

.border-danger {
  border-color: #dc3545 !important;
}

.border-light {
  border-color: #f8f9fa !important;
}

.border-dark {
  border-color: #343a40 !important;
}

.border-white {
  border-color: #fff !important;
}

.rounded-sm {
  border-radius: 0.2rem !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-top {
  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

.rounded-right {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.rounded-bottom {
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.rounded-left {
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.rounded-lg {
  border-radius: 0.3rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.rounded-0 {
  border-radius: 0 !important;
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-table {
    display: table !important;
  }
  .d-sm-table-row {
    display: table-row !important;
  }
  .d-sm-table-cell {
    display: table-cell !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: inline-flex !important;
  }
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-table {
    display: table !important;
  }
  .d-md-table-row {
    display: table-row !important;
  }
  .d-md-table-cell {
    display: table-cell !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
}
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-table {
    display: table !important;
  }
  .d-lg-table-row {
    display: table-row !important;
  }
  .d-lg-table-cell {
    display: table-cell !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
}
@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-table {
    display: table !important;
  }
  .d-xl-table-row {
    display: table-row !important;
  }
  .d-xl-table-cell {
    display: table-cell !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: inline-flex !important;
  }
}
@media print {
  .d-print-none {
    display: none !important;
  }
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
  .d-print-table {
    display: table !important;
  }
  .d-print-table-row {
    display: table-row !important;
  }
  .d-print-table-cell {
    display: table-cell !important;
  }
  .d-print-flex {
    display: flex !important;
  }
  .d-print-inline-flex {
    display: inline-flex !important;
  }
}
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.embed-responsive::before {
  display: block;
  content: "";
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.85714286%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.flex-fill {
  flex: 1 1 auto !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-shrink-1 {
  flex-shrink: 1 !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.align-self-auto {
  align-self: auto !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-baseline {
  align-self: baseline !important;
}

.align-self-stretch {
  align-self: stretch !important;
}

@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }
  .flex-sm-column {
    flex-direction: column !important;
  }
  .flex-sm-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-sm-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-sm-wrap {
    flex-wrap: wrap !important;
  }
  .flex-sm-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-sm-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .flex-sm-fill {
    flex: 1 1 auto !important;
  }
  .flex-sm-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-sm-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-sm-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-sm-shrink-1 {
    flex-shrink: 1 !important;
  }
  .justify-content-sm-start {
    justify-content: flex-start !important;
  }
  .justify-content-sm-end {
    justify-content: flex-end !important;
  }
  .justify-content-sm-center {
    justify-content: center !important;
  }
  .justify-content-sm-between {
    justify-content: space-between !important;
  }
  .justify-content-sm-around {
    justify-content: space-around !important;
  }
  .align-items-sm-start {
    align-items: flex-start !important;
  }
  .align-items-sm-end {
    align-items: flex-end !important;
  }
  .align-items-sm-center {
    align-items: center !important;
  }
  .align-items-sm-baseline {
    align-items: baseline !important;
  }
  .align-items-sm-stretch {
    align-items: stretch !important;
  }
  .align-content-sm-start {
    align-content: flex-start !important;
  }
  .align-content-sm-end {
    align-content: flex-end !important;
  }
  .align-content-sm-center {
    align-content: center !important;
  }
  .align-content-sm-between {
    align-content: space-between !important;
  }
  .align-content-sm-around {
    align-content: space-around !important;
  }
  .align-content-sm-stretch {
    align-content: stretch !important;
  }
  .align-self-sm-auto {
    align-self: auto !important;
  }
  .align-self-sm-start {
    align-self: flex-start !important;
  }
  .align-self-sm-end {
    align-self: flex-end !important;
  }
  .align-self-sm-center {
    align-self: center !important;
  }
  .align-self-sm-baseline {
    align-self: baseline !important;
  }
  .align-self-sm-stretch {
    align-self: stretch !important;
  }
}
@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row !important;
  }
  .flex-md-column {
    flex-direction: column !important;
  }
  .flex-md-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-md-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-md-wrap {
    flex-wrap: wrap !important;
  }
  .flex-md-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-md-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .flex-md-fill {
    flex: 1 1 auto !important;
  }
  .flex-md-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-md-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-md-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-md-shrink-1 {
    flex-shrink: 1 !important;
  }
  .justify-content-md-start {
    justify-content: flex-start !important;
  }
  .justify-content-md-end {
    justify-content: flex-end !important;
  }
  .justify-content-md-center {
    justify-content: center !important;
  }
  .justify-content-md-between {
    justify-content: space-between !important;
  }
  .justify-content-md-around {
    justify-content: space-around !important;
  }
  .align-items-md-start {
    align-items: flex-start !important;
  }
  .align-items-md-end {
    align-items: flex-end !important;
  }
  .align-items-md-center {
    align-items: center !important;
  }
  .align-items-md-baseline {
    align-items: baseline !important;
  }
  .align-items-md-stretch {
    align-items: stretch !important;
  }
  .align-content-md-start {
    align-content: flex-start !important;
  }
  .align-content-md-end {
    align-content: flex-end !important;
  }
  .align-content-md-center {
    align-content: center !important;
  }
  .align-content-md-between {
    align-content: space-between !important;
  }
  .align-content-md-around {
    align-content: space-around !important;
  }
  .align-content-md-stretch {
    align-content: stretch !important;
  }
  .align-self-md-auto {
    align-self: auto !important;
  }
  .align-self-md-start {
    align-self: flex-start !important;
  }
  .align-self-md-end {
    align-self: flex-end !important;
  }
  .align-self-md-center {
    align-self: center !important;
  }
  .align-self-md-baseline {
    align-self: baseline !important;
  }
  .align-self-md-stretch {
    align-self: stretch !important;
  }
}
@media (min-width: 992px) {
  .flex-lg-row {
    flex-direction: row !important;
  }
  .flex-lg-column {
    flex-direction: column !important;
  }
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-lg-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-lg-wrap {
    flex-wrap: wrap !important;
  }
  .flex-lg-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-lg-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .flex-lg-fill {
    flex: 1 1 auto !important;
  }
  .flex-lg-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-lg-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-lg-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-lg-shrink-1 {
    flex-shrink: 1 !important;
  }
  .justify-content-lg-start {
    justify-content: flex-start !important;
  }
  .justify-content-lg-end {
    justify-content: flex-end !important;
  }
  .justify-content-lg-center {
    justify-content: center !important;
  }
  .justify-content-lg-between {
    justify-content: space-between !important;
  }
  .justify-content-lg-around {
    justify-content: space-around !important;
  }
  .align-items-lg-start {
    align-items: flex-start !important;
  }
  .align-items-lg-end {
    align-items: flex-end !important;
  }
  .align-items-lg-center {
    align-items: center !important;
  }
  .align-items-lg-baseline {
    align-items: baseline !important;
  }
  .align-items-lg-stretch {
    align-items: stretch !important;
  }
  .align-content-lg-start {
    align-content: flex-start !important;
  }
  .align-content-lg-end {
    align-content: flex-end !important;
  }
  .align-content-lg-center {
    align-content: center !important;
  }
  .align-content-lg-between {
    align-content: space-between !important;
  }
  .align-content-lg-around {
    align-content: space-around !important;
  }
  .align-content-lg-stretch {
    align-content: stretch !important;
  }
  .align-self-lg-auto {
    align-self: auto !important;
  }
  .align-self-lg-start {
    align-self: flex-start !important;
  }
  .align-self-lg-end {
    align-self: flex-end !important;
  }
  .align-self-lg-center {
    align-self: center !important;
  }
  .align-self-lg-baseline {
    align-self: baseline !important;
  }
  .align-self-lg-stretch {
    align-self: stretch !important;
  }
}
@media (min-width: 1200px) {
  .flex-xl-row {
    flex-direction: row !important;
  }
  .flex-xl-column {
    flex-direction: column !important;
  }
  .flex-xl-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-xl-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-xl-wrap {
    flex-wrap: wrap !important;
  }
  .flex-xl-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-xl-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .flex-xl-fill {
    flex: 1 1 auto !important;
  }
  .flex-xl-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-xl-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-xl-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-xl-shrink-1 {
    flex-shrink: 1 !important;
  }
  .justify-content-xl-start {
    justify-content: flex-start !important;
  }
  .justify-content-xl-end {
    justify-content: flex-end !important;
  }
  .justify-content-xl-center {
    justify-content: center !important;
  }
  .justify-content-xl-between {
    justify-content: space-between !important;
  }
  .justify-content-xl-around {
    justify-content: space-around !important;
  }
  .align-items-xl-start {
    align-items: flex-start !important;
  }
  .align-items-xl-end {
    align-items: flex-end !important;
  }
  .align-items-xl-center {
    align-items: center !important;
  }
  .align-items-xl-baseline {
    align-items: baseline !important;
  }
  .align-items-xl-stretch {
    align-items: stretch !important;
  }
  .align-content-xl-start {
    align-content: flex-start !important;
  }
  .align-content-xl-end {
    align-content: flex-end !important;
  }
  .align-content-xl-center {
    align-content: center !important;
  }
  .align-content-xl-between {
    align-content: space-between !important;
  }
  .align-content-xl-around {
    align-content: space-around !important;
  }
  .align-content-xl-stretch {
    align-content: stretch !important;
  }
  .align-self-xl-auto {
    align-self: auto !important;
  }
  .align-self-xl-start {
    align-self: flex-start !important;
  }
  .align-self-xl-end {
    align-self: flex-end !important;
  }
  .align-self-xl-center {
    align-self: center !important;
  }
  .align-self-xl-baseline {
    align-self: baseline !important;
  }
  .align-self-xl-stretch {
    align-self: stretch !important;
  }
}
.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

.float-none {
  float: none !important;
}

@media (min-width: 576px) {
  .float-sm-left {
    float: left !important;
  }
  .float-sm-right {
    float: right !important;
  }
  .float-sm-none {
    float: none !important;
  }
}
@media (min-width: 768px) {
  .float-md-left {
    float: left !important;
  }
  .float-md-right {
    float: right !important;
  }
  .float-md-none {
    float: none !important;
  }
}
@media (min-width: 992px) {
  .float-lg-left {
    float: left !important;
  }
  .float-lg-right {
    float: right !important;
  }
  .float-lg-none {
    float: none !important;
  }
}
@media (min-width: 1200px) {
  .float-xl-left {
    float: left !important;
  }
  .float-xl-right {
    float: right !important;
  }
  .float-xl-none {
    float: none !important;
  }
}
.user-select-all {
  user-select: all !important;
}

.user-select-auto {
  user-select: auto !important;
}

.user-select-none {
  user-select: none !important;
}

.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.position-static {
  position: static !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

@supports (position: sticky) {
  .sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
  box-shadow: none !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

.mw-100 {
  max-width: 100% !important;
}

.mh-100 {
  max-height: 100% !important;
}

.min-vw-100 {
  min-width: 100vw !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.vw-100 {
  width: 100vw !important;
}

.vh-100 {
  height: 100vh !important;
}

.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-n1 {
  margin: -0.25rem !important;
}

.mt-n1,
.my-n1 {
  margin-top: -0.25rem !important;
}

.mr-n1,
.mx-n1 {
  margin-right: -0.25rem !important;
}

.mb-n1,
.my-n1 {
  margin-bottom: -0.25rem !important;
}

.ml-n1,
.mx-n1 {
  margin-left: -0.25rem !important;
}

.m-n2 {
  margin: -0.5rem !important;
}

.mt-n2,
.my-n2 {
  margin-top: -0.5rem !important;
}

.mr-n2,
.mx-n2 {
  margin-right: -0.5rem !important;
}

.mb-n2,
.my-n2 {
  margin-bottom: -0.5rem !important;
}

.ml-n2,
.mx-n2 {
  margin-left: -0.5rem !important;
}

.m-n3 {
  margin: -1rem !important;
}

.mt-n3,
.my-n3 {
  margin-top: -1rem !important;
}

.mr-n3,
.mx-n3 {
  margin-right: -1rem !important;
}

.mb-n3,
.my-n3 {
  margin-bottom: -1rem !important;
}

.ml-n3,
.mx-n3 {
  margin-left: -1rem !important;
}

.m-n4 {
  margin: -1.5rem !important;
}

.mt-n4,
.my-n4 {
  margin-top: -1.5rem !important;
}

.mr-n4,
.mx-n4 {
  margin-right: -1.5rem !important;
}

.mb-n4,
.my-n4 {
  margin-bottom: -1.5rem !important;
}

.ml-n4,
.mx-n4 {
  margin-left: -1.5rem !important;
}

.m-n5 {
  margin: -3rem !important;
}

.mt-n5,
.my-n5 {
  margin-top: -3rem !important;
}

.mr-n5,
.mx-n5 {
  margin-right: -3rem !important;
}

.mb-n5,
.my-n5 {
  margin-bottom: -3rem !important;
}

.ml-n5,
.mx-n5 {
  margin-left: -3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

@media (min-width: 576px) {
  .m-sm-0 {
    margin: 0 !important;
  }
  .mt-sm-0,
  .my-sm-0 {
    margin-top: 0 !important;
  }
  .mr-sm-0,
  .mx-sm-0 {
    margin-right: 0 !important;
  }
  .mb-sm-0,
  .my-sm-0 {
    margin-bottom: 0 !important;
  }
  .ml-sm-0,
  .mx-sm-0 {
    margin-left: 0 !important;
  }
  .m-sm-1 {
    margin: 0.25rem !important;
  }
  .mt-sm-1,
  .my-sm-1 {
    margin-top: 0.25rem !important;
  }
  .mr-sm-1,
  .mx-sm-1 {
    margin-right: 0.25rem !important;
  }
  .mb-sm-1,
  .my-sm-1 {
    margin-bottom: 0.25rem !important;
  }
  .ml-sm-1,
  .mx-sm-1 {
    margin-left: 0.25rem !important;
  }
  .m-sm-2 {
    margin: 0.5rem !important;
  }
  .mt-sm-2,
  .my-sm-2 {
    margin-top: 0.5rem !important;
  }
  .mr-sm-2,
  .mx-sm-2 {
    margin-right: 0.5rem !important;
  }
  .mb-sm-2,
  .my-sm-2 {
    margin-bottom: 0.5rem !important;
  }
  .ml-sm-2,
  .mx-sm-2 {
    margin-left: 0.5rem !important;
  }
  .m-sm-3 {
    margin: 1rem !important;
  }
  .mt-sm-3,
  .my-sm-3 {
    margin-top: 1rem !important;
  }
  .mr-sm-3,
  .mx-sm-3 {
    margin-right: 1rem !important;
  }
  .mb-sm-3,
  .my-sm-3 {
    margin-bottom: 1rem !important;
  }
  .ml-sm-3,
  .mx-sm-3 {
    margin-left: 1rem !important;
  }
  .m-sm-4 {
    margin: 1.5rem !important;
  }
  .mt-sm-4,
  .my-sm-4 {
    margin-top: 1.5rem !important;
  }
  .mr-sm-4,
  .mx-sm-4 {
    margin-right: 1.5rem !important;
  }
  .mb-sm-4,
  .my-sm-4 {
    margin-bottom: 1.5rem !important;
  }
  .ml-sm-4,
  .mx-sm-4 {
    margin-left: 1.5rem !important;
  }
  .m-sm-5 {
    margin: 3rem !important;
  }
  .mt-sm-5,
  .my-sm-5 {
    margin-top: 3rem !important;
  }
  .mr-sm-5,
  .mx-sm-5 {
    margin-right: 3rem !important;
  }
  .mb-sm-5,
  .my-sm-5 {
    margin-bottom: 3rem !important;
  }
  .ml-sm-5,
  .mx-sm-5 {
    margin-left: 3rem !important;
  }
  .p-sm-0 {
    padding: 0 !important;
  }
  .pt-sm-0,
  .py-sm-0 {
    padding-top: 0 !important;
  }
  .pr-sm-0,
  .px-sm-0 {
    padding-right: 0 !important;
  }
  .pb-sm-0,
  .py-sm-0 {
    padding-bottom: 0 !important;
  }
  .pl-sm-0,
  .px-sm-0 {
    padding-left: 0 !important;
  }
  .p-sm-1 {
    padding: 0.25rem !important;
  }
  .pt-sm-1,
  .py-sm-1 {
    padding-top: 0.25rem !important;
  }
  .pr-sm-1,
  .px-sm-1 {
    padding-right: 0.25rem !important;
  }
  .pb-sm-1,
  .py-sm-1 {
    padding-bottom: 0.25rem !important;
  }
  .pl-sm-1,
  .px-sm-1 {
    padding-left: 0.25rem !important;
  }
  .p-sm-2 {
    padding: 0.5rem !important;
  }
  .pt-sm-2,
  .py-sm-2 {
    padding-top: 0.5rem !important;
  }
  .pr-sm-2,
  .px-sm-2 {
    padding-right: 0.5rem !important;
  }
  .pb-sm-2,
  .py-sm-2 {
    padding-bottom: 0.5rem !important;
  }
  .pl-sm-2,
  .px-sm-2 {
    padding-left: 0.5rem !important;
  }
  .p-sm-3 {
    padding: 1rem !important;
  }
  .pt-sm-3,
  .py-sm-3 {
    padding-top: 1rem !important;
  }
  .pr-sm-3,
  .px-sm-3 {
    padding-right: 1rem !important;
  }
  .pb-sm-3,
  .py-sm-3 {
    padding-bottom: 1rem !important;
  }
  .pl-sm-3,
  .px-sm-3 {
    padding-left: 1rem !important;
  }
  .p-sm-4 {
    padding: 1.5rem !important;
  }
  .pt-sm-4,
  .py-sm-4 {
    padding-top: 1.5rem !important;
  }
  .pr-sm-4,
  .px-sm-4 {
    padding-right: 1.5rem !important;
  }
  .pb-sm-4,
  .py-sm-4 {
    padding-bottom: 1.5rem !important;
  }
  .pl-sm-4,
  .px-sm-4 {
    padding-left: 1.5rem !important;
  }
  .p-sm-5 {
    padding: 3rem !important;
  }
  .pt-sm-5,
  .py-sm-5 {
    padding-top: 3rem !important;
  }
  .pr-sm-5,
  .px-sm-5 {
    padding-right: 3rem !important;
  }
  .pb-sm-5,
  .py-sm-5 {
    padding-bottom: 3rem !important;
  }
  .pl-sm-5,
  .px-sm-5 {
    padding-left: 3rem !important;
  }
  .m-sm-n1 {
    margin: -0.25rem !important;
  }
  .mt-sm-n1,
  .my-sm-n1 {
    margin-top: -0.25rem !important;
  }
  .mr-sm-n1,
  .mx-sm-n1 {
    margin-right: -0.25rem !important;
  }
  .mb-sm-n1,
  .my-sm-n1 {
    margin-bottom: -0.25rem !important;
  }
  .ml-sm-n1,
  .mx-sm-n1 {
    margin-left: -0.25rem !important;
  }
  .m-sm-n2 {
    margin: -0.5rem !important;
  }
  .mt-sm-n2,
  .my-sm-n2 {
    margin-top: -0.5rem !important;
  }
  .mr-sm-n2,
  .mx-sm-n2 {
    margin-right: -0.5rem !important;
  }
  .mb-sm-n2,
  .my-sm-n2 {
    margin-bottom: -0.5rem !important;
  }
  .ml-sm-n2,
  .mx-sm-n2 {
    margin-left: -0.5rem !important;
  }
  .m-sm-n3 {
    margin: -1rem !important;
  }
  .mt-sm-n3,
  .my-sm-n3 {
    margin-top: -1rem !important;
  }
  .mr-sm-n3,
  .mx-sm-n3 {
    margin-right: -1rem !important;
  }
  .mb-sm-n3,
  .my-sm-n3 {
    margin-bottom: -1rem !important;
  }
  .ml-sm-n3,
  .mx-sm-n3 {
    margin-left: -1rem !important;
  }
  .m-sm-n4 {
    margin: -1.5rem !important;
  }
  .mt-sm-n4,
  .my-sm-n4 {
    margin-top: -1.5rem !important;
  }
  .mr-sm-n4,
  .mx-sm-n4 {
    margin-right: -1.5rem !important;
  }
  .mb-sm-n4,
  .my-sm-n4 {
    margin-bottom: -1.5rem !important;
  }
  .ml-sm-n4,
  .mx-sm-n4 {
    margin-left: -1.5rem !important;
  }
  .m-sm-n5 {
    margin: -3rem !important;
  }
  .mt-sm-n5,
  .my-sm-n5 {
    margin-top: -3rem !important;
  }
  .mr-sm-n5,
  .mx-sm-n5 {
    margin-right: -3rem !important;
  }
  .mb-sm-n5,
  .my-sm-n5 {
    margin-bottom: -3rem !important;
  }
  .ml-sm-n5,
  .mx-sm-n5 {
    margin-left: -3rem !important;
  }
  .m-sm-auto {
    margin: auto !important;
  }
  .mt-sm-auto,
  .my-sm-auto {
    margin-top: auto !important;
  }
  .mr-sm-auto,
  .mx-sm-auto {
    margin-right: auto !important;
  }
  .mb-sm-auto,
  .my-sm-auto {
    margin-bottom: auto !important;
  }
  .ml-sm-auto,
  .mx-sm-auto {
    margin-left: auto !important;
  }
}
@media (min-width: 768px) {
  .m-md-0 {
    margin: 0 !important;
  }
  .mt-md-0,
  .my-md-0 {
    margin-top: 0 !important;
  }
  .mr-md-0,
  .mx-md-0 {
    margin-right: 0 !important;
  }
  .mb-md-0,
  .my-md-0 {
    margin-bottom: 0 !important;
  }
  .ml-md-0,
  .mx-md-0 {
    margin-left: 0 !important;
  }
  .m-md-1 {
    margin: 0.25rem !important;
  }
  .mt-md-1,
  .my-md-1 {
    margin-top: 0.25rem !important;
  }
  .mr-md-1,
  .mx-md-1 {
    margin-right: 0.25rem !important;
  }
  .mb-md-1,
  .my-md-1 {
    margin-bottom: 0.25rem !important;
  }
  .ml-md-1,
  .mx-md-1 {
    margin-left: 0.25rem !important;
  }
  .m-md-2 {
    margin: 0.5rem !important;
  }
  .mt-md-2,
  .my-md-2 {
    margin-top: 0.5rem !important;
  }
  .mr-md-2,
  .mx-md-2 {
    margin-right: 0.5rem !important;
  }
  .mb-md-2,
  .my-md-2 {
    margin-bottom: 0.5rem !important;
  }
  .ml-md-2,
  .mx-md-2 {
    margin-left: 0.5rem !important;
  }
  .m-md-3 {
    margin: 1rem !important;
  }
  .mt-md-3,
  .my-md-3 {
    margin-top: 1rem !important;
  }
  .mr-md-3,
  .mx-md-3 {
    margin-right: 1rem !important;
  }
  .mb-md-3,
  .my-md-3 {
    margin-bottom: 1rem !important;
  }
  .ml-md-3,
  .mx-md-3 {
    margin-left: 1rem !important;
  }
  .m-md-4 {
    margin: 1.5rem !important;
  }
  .mt-md-4,
  .my-md-4 {
    margin-top: 1.5rem !important;
  }
  .mr-md-4,
  .mx-md-4 {
    margin-right: 1.5rem !important;
  }
  .mb-md-4,
  .my-md-4 {
    margin-bottom: 1.5rem !important;
  }
  .ml-md-4,
  .mx-md-4 {
    margin-left: 1.5rem !important;
  }
  .m-md-5 {
    margin: 3rem !important;
  }
  .mt-md-5,
  .my-md-5 {
    margin-top: 3rem !important;
  }
  .mr-md-5,
  .mx-md-5 {
    margin-right: 3rem !important;
  }
  .mb-md-5,
  .my-md-5 {
    margin-bottom: 3rem !important;
  }
  .ml-md-5,
  .mx-md-5 {
    margin-left: 3rem !important;
  }
  .p-md-0 {
    padding: 0 !important;
  }
  .pt-md-0,
  .py-md-0 {
    padding-top: 0 !important;
  }
  .pr-md-0,
  .px-md-0 {
    padding-right: 0 !important;
  }
  .pb-md-0,
  .py-md-0 {
    padding-bottom: 0 !important;
  }
  .pl-md-0,
  .px-md-0 {
    padding-left: 0 !important;
  }
  .p-md-1 {
    padding: 0.25rem !important;
  }
  .pt-md-1,
  .py-md-1 {
    padding-top: 0.25rem !important;
  }
  .pr-md-1,
  .px-md-1 {
    padding-right: 0.25rem !important;
  }
  .pb-md-1,
  .py-md-1 {
    padding-bottom: 0.25rem !important;
  }
  .pl-md-1,
  .px-md-1 {
    padding-left: 0.25rem !important;
  }
  .p-md-2 {
    padding: 0.5rem !important;
  }
  .pt-md-2,
  .py-md-2 {
    padding-top: 0.5rem !important;
  }
  .pr-md-2,
  .px-md-2 {
    padding-right: 0.5rem !important;
  }
  .pb-md-2,
  .py-md-2 {
    padding-bottom: 0.5rem !important;
  }
  .pl-md-2,
  .px-md-2 {
    padding-left: 0.5rem !important;
  }
  .p-md-3 {
    padding: 1rem !important;
  }
  .pt-md-3,
  .py-md-3 {
    padding-top: 1rem !important;
  }
  .pr-md-3,
  .px-md-3 {
    padding-right: 1rem !important;
  }
  .pb-md-3,
  .py-md-3 {
    padding-bottom: 1rem !important;
  }
  .pl-md-3,
  .px-md-3 {
    padding-left: 1rem !important;
  }
  .p-md-4 {
    padding: 1.5rem !important;
  }
  .pt-md-4,
  .py-md-4 {
    padding-top: 1.5rem !important;
  }
  .pr-md-4,
  .px-md-4 {
    padding-right: 1.5rem !important;
  }
  .pb-md-4,
  .py-md-4 {
    padding-bottom: 1.5rem !important;
  }
  .pl-md-4,
  .px-md-4 {
    padding-left: 1.5rem !important;
  }
  .p-md-5 {
    padding: 3rem !important;
  }
  .pt-md-5,
  .py-md-5 {
    padding-top: 3rem !important;
  }
  .pr-md-5,
  .px-md-5 {
    padding-right: 3rem !important;
  }
  .pb-md-5,
  .py-md-5 {
    padding-bottom: 3rem !important;
  }
  .pl-md-5,
  .px-md-5 {
    padding-left: 3rem !important;
  }
  .m-md-n1 {
    margin: -0.25rem !important;
  }
  .mt-md-n1,
  .my-md-n1 {
    margin-top: -0.25rem !important;
  }
  .mr-md-n1,
  .mx-md-n1 {
    margin-right: -0.25rem !important;
  }
  .mb-md-n1,
  .my-md-n1 {
    margin-bottom: -0.25rem !important;
  }
  .ml-md-n1,
  .mx-md-n1 {
    margin-left: -0.25rem !important;
  }
  .m-md-n2 {
    margin: -0.5rem !important;
  }
  .mt-md-n2,
  .my-md-n2 {
    margin-top: -0.5rem !important;
  }
  .mr-md-n2,
  .mx-md-n2 {
    margin-right: -0.5rem !important;
  }
  .mb-md-n2,
  .my-md-n2 {
    margin-bottom: -0.5rem !important;
  }
  .ml-md-n2,
  .mx-md-n2 {
    margin-left: -0.5rem !important;
  }
  .m-md-n3 {
    margin: -1rem !important;
  }
  .mt-md-n3,
  .my-md-n3 {
    margin-top: -1rem !important;
  }
  .mr-md-n3,
  .mx-md-n3 {
    margin-right: -1rem !important;
  }
  .mb-md-n3,
  .my-md-n3 {
    margin-bottom: -1rem !important;
  }
  .ml-md-n3,
  .mx-md-n3 {
    margin-left: -1rem !important;
  }
  .m-md-n4 {
    margin: -1.5rem !important;
  }
  .mt-md-n4,
  .my-md-n4 {
    margin-top: -1.5rem !important;
  }
  .mr-md-n4,
  .mx-md-n4 {
    margin-right: -1.5rem !important;
  }
  .mb-md-n4,
  .my-md-n4 {
    margin-bottom: -1.5rem !important;
  }
  .ml-md-n4,
  .mx-md-n4 {
    margin-left: -1.5rem !important;
  }
  .m-md-n5 {
    margin: -3rem !important;
  }
  .mt-md-n5,
  .my-md-n5 {
    margin-top: -3rem !important;
  }
  .mr-md-n5,
  .mx-md-n5 {
    margin-right: -3rem !important;
  }
  .mb-md-n5,
  .my-md-n5 {
    margin-bottom: -3rem !important;
  }
  .ml-md-n5,
  .mx-md-n5 {
    margin-left: -3rem !important;
  }
  .m-md-auto {
    margin: auto !important;
  }
  .mt-md-auto,
  .my-md-auto {
    margin-top: auto !important;
  }
  .mr-md-auto,
  .mx-md-auto {
    margin-right: auto !important;
  }
  .mb-md-auto,
  .my-md-auto {
    margin-bottom: auto !important;
  }
  .ml-md-auto,
  .mx-md-auto {
    margin-left: auto !important;
  }
}
@media (min-width: 992px) {
  .m-lg-0 {
    margin: 0 !important;
  }
  .mt-lg-0,
  .my-lg-0 {
    margin-top: 0 !important;
  }
  .mr-lg-0,
  .mx-lg-0 {
    margin-right: 0 !important;
  }
  .mb-lg-0,
  .my-lg-0 {
    margin-bottom: 0 !important;
  }
  .ml-lg-0,
  .mx-lg-0 {
    margin-left: 0 !important;
  }
  .m-lg-1 {
    margin: 0.25rem !important;
  }
  .mt-lg-1,
  .my-lg-1 {
    margin-top: 0.25rem !important;
  }
  .mr-lg-1,
  .mx-lg-1 {
    margin-right: 0.25rem !important;
  }
  .mb-lg-1,
  .my-lg-1 {
    margin-bottom: 0.25rem !important;
  }
  .ml-lg-1,
  .mx-lg-1 {
    margin-left: 0.25rem !important;
  }
  .m-lg-2 {
    margin: 0.5rem !important;
  }
  .mt-lg-2,
  .my-lg-2 {
    margin-top: 0.5rem !important;
  }
  .mr-lg-2,
  .mx-lg-2 {
    margin-right: 0.5rem !important;
  }
  .mb-lg-2,
  .my-lg-2 {
    margin-bottom: 0.5rem !important;
  }
  .ml-lg-2,
  .mx-lg-2 {
    margin-left: 0.5rem !important;
  }
  .m-lg-3 {
    margin: 1rem !important;
  }
  .mt-lg-3,
  .my-lg-3 {
    margin-top: 1rem !important;
  }
  .mr-lg-3,
  .mx-lg-3 {
    margin-right: 1rem !important;
  }
  .mb-lg-3,
  .my-lg-3 {
    margin-bottom: 1rem !important;
  }
  .ml-lg-3,
  .mx-lg-3 {
    margin-left: 1rem !important;
  }
  .m-lg-4 {
    margin: 1.5rem !important;
  }
  .mt-lg-4,
  .my-lg-4 {
    margin-top: 1.5rem !important;
  }
  .mr-lg-4,
  .mx-lg-4 {
    margin-right: 1.5rem !important;
  }
  .mb-lg-4,
  .my-lg-4 {
    margin-bottom: 1.5rem !important;
  }
  .ml-lg-4,
  .mx-lg-4 {
    margin-left: 1.5rem !important;
  }
  .m-lg-5 {
    margin: 3rem !important;
  }
  .mt-lg-5,
  .my-lg-5 {
    margin-top: 3rem !important;
  }
  .mr-lg-5,
  .mx-lg-5 {
    margin-right: 3rem !important;
  }
  .mb-lg-5,
  .my-lg-5 {
    margin-bottom: 3rem !important;
  }
  .ml-lg-5,
  .mx-lg-5 {
    margin-left: 3rem !important;
  }
  .p-lg-0 {
    padding: 0 !important;
  }
  .pt-lg-0,
  .py-lg-0 {
    padding-top: 0 !important;
  }
  .pr-lg-0,
  .px-lg-0 {
    padding-right: 0 !important;
  }
  .pb-lg-0,
  .py-lg-0 {
    padding-bottom: 0 !important;
  }
  .pl-lg-0,
  .px-lg-0 {
    padding-left: 0 !important;
  }
  .p-lg-1 {
    padding: 0.25rem !important;
  }
  .pt-lg-1,
  .py-lg-1 {
    padding-top: 0.25rem !important;
  }
  .pr-lg-1,
  .px-lg-1 {
    padding-right: 0.25rem !important;
  }
  .pb-lg-1,
  .py-lg-1 {
    padding-bottom: 0.25rem !important;
  }
  .pl-lg-1,
  .px-lg-1 {
    padding-left: 0.25rem !important;
  }
  .p-lg-2 {
    padding: 0.5rem !important;
  }
  .pt-lg-2,
  .py-lg-2 {
    padding-top: 0.5rem !important;
  }
  .pr-lg-2,
  .px-lg-2 {
    padding-right: 0.5rem !important;
  }
  .pb-lg-2,
  .py-lg-2 {
    padding-bottom: 0.5rem !important;
  }
  .pl-lg-2,
  .px-lg-2 {
    padding-left: 0.5rem !important;
  }
  .p-lg-3 {
    padding: 1rem !important;
  }
  .pt-lg-3,
  .py-lg-3 {
    padding-top: 1rem !important;
  }
  .pr-lg-3,
  .px-lg-3 {
    padding-right: 1rem !important;
  }
  .pb-lg-3,
  .py-lg-3 {
    padding-bottom: 1rem !important;
  }
  .pl-lg-3,
  .px-lg-3 {
    padding-left: 1rem !important;
  }
  .p-lg-4 {
    padding: 1.5rem !important;
  }
  .pt-lg-4,
  .py-lg-4 {
    padding-top: 1.5rem !important;
  }
  .pr-lg-4,
  .px-lg-4 {
    padding-right: 1.5rem !important;
  }
  .pb-lg-4,
  .py-lg-4 {
    padding-bottom: 1.5rem !important;
  }
  .pl-lg-4,
  .px-lg-4 {
    padding-left: 1.5rem !important;
  }
  .p-lg-5 {
    padding: 3rem !important;
  }
  .pt-lg-5,
  .py-lg-5 {
    padding-top: 3rem !important;
  }
  .pr-lg-5,
  .px-lg-5 {
    padding-right: 3rem !important;
  }
  .pb-lg-5,
  .py-lg-5 {
    padding-bottom: 3rem !important;
  }
  .pl-lg-5,
  .px-lg-5 {
    padding-left: 3rem !important;
  }
  .m-lg-n1 {
    margin: -0.25rem !important;
  }
  .mt-lg-n1,
  .my-lg-n1 {
    margin-top: -0.25rem !important;
  }
  .mr-lg-n1,
  .mx-lg-n1 {
    margin-right: -0.25rem !important;
  }
  .mb-lg-n1,
  .my-lg-n1 {
    margin-bottom: -0.25rem !important;
  }
  .ml-lg-n1,
  .mx-lg-n1 {
    margin-left: -0.25rem !important;
  }
  .m-lg-n2 {
    margin: -0.5rem !important;
  }
  .mt-lg-n2,
  .my-lg-n2 {
    margin-top: -0.5rem !important;
  }
  .mr-lg-n2,
  .mx-lg-n2 {
    margin-right: -0.5rem !important;
  }
  .mb-lg-n2,
  .my-lg-n2 {
    margin-bottom: -0.5rem !important;
  }
  .ml-lg-n2,
  .mx-lg-n2 {
    margin-left: -0.5rem !important;
  }
  .m-lg-n3 {
    margin: -1rem !important;
  }
  .mt-lg-n3,
  .my-lg-n3 {
    margin-top: -1rem !important;
  }
  .mr-lg-n3,
  .mx-lg-n3 {
    margin-right: -1rem !important;
  }
  .mb-lg-n3,
  .my-lg-n3 {
    margin-bottom: -1rem !important;
  }
  .ml-lg-n3,
  .mx-lg-n3 {
    margin-left: -1rem !important;
  }
  .m-lg-n4 {
    margin: -1.5rem !important;
  }
  .mt-lg-n4,
  .my-lg-n4 {
    margin-top: -1.5rem !important;
  }
  .mr-lg-n4,
  .mx-lg-n4 {
    margin-right: -1.5rem !important;
  }
  .mb-lg-n4,
  .my-lg-n4 {
    margin-bottom: -1.5rem !important;
  }
  .ml-lg-n4,
  .mx-lg-n4 {
    margin-left: -1.5rem !important;
  }
  .m-lg-n5 {
    margin: -3rem !important;
  }
  .mt-lg-n5,
  .my-lg-n5 {
    margin-top: -3rem !important;
  }
  .mr-lg-n5,
  .mx-lg-n5 {
    margin-right: -3rem !important;
  }
  .mb-lg-n5,
  .my-lg-n5 {
    margin-bottom: -3rem !important;
  }
  .ml-lg-n5,
  .mx-lg-n5 {
    margin-left: -3rem !important;
  }
  .m-lg-auto {
    margin: auto !important;
  }
  .mt-lg-auto,
  .my-lg-auto {
    margin-top: auto !important;
  }
  .mr-lg-auto,
  .mx-lg-auto {
    margin-right: auto !important;
  }
  .mb-lg-auto,
  .my-lg-auto {
    margin-bottom: auto !important;
  }
  .ml-lg-auto,
  .mx-lg-auto {
    margin-left: auto !important;
  }
}
@media (min-width: 1200px) {
  .m-xl-0 {
    margin: 0 !important;
  }
  .mt-xl-0,
  .my-xl-0 {
    margin-top: 0 !important;
  }
  .mr-xl-0,
  .mx-xl-0 {
    margin-right: 0 !important;
  }
  .mb-xl-0,
  .my-xl-0 {
    margin-bottom: 0 !important;
  }
  .ml-xl-0,
  .mx-xl-0 {
    margin-left: 0 !important;
  }
  .m-xl-1 {
    margin: 0.25rem !important;
  }
  .mt-xl-1,
  .my-xl-1 {
    margin-top: 0.25rem !important;
  }
  .mr-xl-1,
  .mx-xl-1 {
    margin-right: 0.25rem !important;
  }
  .mb-xl-1,
  .my-xl-1 {
    margin-bottom: 0.25rem !important;
  }
  .ml-xl-1,
  .mx-xl-1 {
    margin-left: 0.25rem !important;
  }
  .m-xl-2 {
    margin: 0.5rem !important;
  }
  .mt-xl-2,
  .my-xl-2 {
    margin-top: 0.5rem !important;
  }
  .mr-xl-2,
  .mx-xl-2 {
    margin-right: 0.5rem !important;
  }
  .mb-xl-2,
  .my-xl-2 {
    margin-bottom: 0.5rem !important;
  }
  .ml-xl-2,
  .mx-xl-2 {
    margin-left: 0.5rem !important;
  }
  .m-xl-3 {
    margin: 1rem !important;
  }
  .mt-xl-3,
  .my-xl-3 {
    margin-top: 1rem !important;
  }
  .mr-xl-3,
  .mx-xl-3 {
    margin-right: 1rem !important;
  }
  .mb-xl-3,
  .my-xl-3 {
    margin-bottom: 1rem !important;
  }
  .ml-xl-3,
  .mx-xl-3 {
    margin-left: 1rem !important;
  }
  .m-xl-4 {
    margin: 1.5rem !important;
  }
  .mt-xl-4,
  .my-xl-4 {
    margin-top: 1.5rem !important;
  }
  .mr-xl-4,
  .mx-xl-4 {
    margin-right: 1.5rem !important;
  }
  .mb-xl-4,
  .my-xl-4 {
    margin-bottom: 1.5rem !important;
  }
  .ml-xl-4,
  .mx-xl-4 {
    margin-left: 1.5rem !important;
  }
  .m-xl-5 {
    margin: 3rem !important;
  }
  .mt-xl-5,
  .my-xl-5 {
    margin-top: 3rem !important;
  }
  .mr-xl-5,
  .mx-xl-5 {
    margin-right: 3rem !important;
  }
  .mb-xl-5,
  .my-xl-5 {
    margin-bottom: 3rem !important;
  }
  .ml-xl-5,
  .mx-xl-5 {
    margin-left: 3rem !important;
  }
  .p-xl-0 {
    padding: 0 !important;
  }
  .pt-xl-0,
  .py-xl-0 {
    padding-top: 0 !important;
  }
  .pr-xl-0,
  .px-xl-0 {
    padding-right: 0 !important;
  }
  .pb-xl-0,
  .py-xl-0 {
    padding-bottom: 0 !important;
  }
  .pl-xl-0,
  .px-xl-0 {
    padding-left: 0 !important;
  }
  .p-xl-1 {
    padding: 0.25rem !important;
  }
  .pt-xl-1,
  .py-xl-1 {
    padding-top: 0.25rem !important;
  }
  .pr-xl-1,
  .px-xl-1 {
    padding-right: 0.25rem !important;
  }
  .pb-xl-1,
  .py-xl-1 {
    padding-bottom: 0.25rem !important;
  }
  .pl-xl-1,
  .px-xl-1 {
    padding-left: 0.25rem !important;
  }
  .p-xl-2 {
    padding: 0.5rem !important;
  }
  .pt-xl-2,
  .py-xl-2 {
    padding-top: 0.5rem !important;
  }
  .pr-xl-2,
  .px-xl-2 {
    padding-right: 0.5rem !important;
  }
  .pb-xl-2,
  .py-xl-2 {
    padding-bottom: 0.5rem !important;
  }
  .pl-xl-2,
  .px-xl-2 {
    padding-left: 0.5rem !important;
  }
  .p-xl-3 {
    padding: 1rem !important;
  }
  .pt-xl-3,
  .py-xl-3 {
    padding-top: 1rem !important;
  }
  .pr-xl-3,
  .px-xl-3 {
    padding-right: 1rem !important;
  }
  .pb-xl-3,
  .py-xl-3 {
    padding-bottom: 1rem !important;
  }
  .pl-xl-3,
  .px-xl-3 {
    padding-left: 1rem !important;
  }
  .p-xl-4 {
    padding: 1.5rem !important;
  }
  .pt-xl-4,
  .py-xl-4 {
    padding-top: 1.5rem !important;
  }
  .pr-xl-4,
  .px-xl-4 {
    padding-right: 1.5rem !important;
  }
  .pb-xl-4,
  .py-xl-4 {
    padding-bottom: 1.5rem !important;
  }
  .pl-xl-4,
  .px-xl-4 {
    padding-left: 1.5rem !important;
  }
  .p-xl-5 {
    padding: 3rem !important;
  }
  .pt-xl-5,
  .py-xl-5 {
    padding-top: 3rem !important;
  }
  .pr-xl-5,
  .px-xl-5 {
    padding-right: 3rem !important;
  }
  .pb-xl-5,
  .py-xl-5 {
    padding-bottom: 3rem !important;
  }
  .pl-xl-5,
  .px-xl-5 {
    padding-left: 3rem !important;
  }
  .m-xl-n1 {
    margin: -0.25rem !important;
  }
  .mt-xl-n1,
  .my-xl-n1 {
    margin-top: -0.25rem !important;
  }
  .mr-xl-n1,
  .mx-xl-n1 {
    margin-right: -0.25rem !important;
  }
  .mb-xl-n1,
  .my-xl-n1 {
    margin-bottom: -0.25rem !important;
  }
  .ml-xl-n1,
  .mx-xl-n1 {
    margin-left: -0.25rem !important;
  }
  .m-xl-n2 {
    margin: -0.5rem !important;
  }
  .mt-xl-n2,
  .my-xl-n2 {
    margin-top: -0.5rem !important;
  }
  .mr-xl-n2,
  .mx-xl-n2 {
    margin-right: -0.5rem !important;
  }
  .mb-xl-n2,
  .my-xl-n2 {
    margin-bottom: -0.5rem !important;
  }
  .ml-xl-n2,
  .mx-xl-n2 {
    margin-left: -0.5rem !important;
  }
  .m-xl-n3 {
    margin: -1rem !important;
  }
  .mt-xl-n3,
  .my-xl-n3 {
    margin-top: -1rem !important;
  }
  .mr-xl-n3,
  .mx-xl-n3 {
    margin-right: -1rem !important;
  }
  .mb-xl-n3,
  .my-xl-n3 {
    margin-bottom: -1rem !important;
  }
  .ml-xl-n3,
  .mx-xl-n3 {
    margin-left: -1rem !important;
  }
  .m-xl-n4 {
    margin: -1.5rem !important;
  }
  .mt-xl-n4,
  .my-xl-n4 {
    margin-top: -1.5rem !important;
  }
  .mr-xl-n4,
  .mx-xl-n4 {
    margin-right: -1.5rem !important;
  }
  .mb-xl-n4,
  .my-xl-n4 {
    margin-bottom: -1.5rem !important;
  }
  .ml-xl-n4,
  .mx-xl-n4 {
    margin-left: -1.5rem !important;
  }
  .m-xl-n5 {
    margin: -3rem !important;
  }
  .mt-xl-n5,
  .my-xl-n5 {
    margin-top: -3rem !important;
  }
  .mr-xl-n5,
  .mx-xl-n5 {
    margin-right: -3rem !important;
  }
  .mb-xl-n5,
  .my-xl-n5 {
    margin-bottom: -3rem !important;
  }
  .ml-xl-n5,
  .mx-xl-n5 {
    margin-left: -3rem !important;
  }
  .m-xl-auto {
    margin: auto !important;
  }
  .mt-xl-auto,
  .my-xl-auto {
    margin-top: auto !important;
  }
  .mr-xl-auto,
  .mx-xl-auto {
    margin-right: auto !important;
  }
  .mb-xl-auto,
  .my-xl-auto {
    margin-bottom: auto !important;
  }
  .ml-xl-auto,
  .mx-xl-auto {
    margin-left: auto !important;
  }
}
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: rgba(0, 0, 0, 0);
}

.text-monospace {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.text-justify {
  text-align: justify !important;
}

.text-wrap {
  white-space: normal !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

@media (min-width: 576px) {
  .text-sm-left {
    text-align: left !important;
  }
  .text-sm-right {
    text-align: right !important;
  }
  .text-sm-center {
    text-align: center !important;
  }
}
@media (min-width: 768px) {
  .text-md-left {
    text-align: left !important;
  }
  .text-md-right {
    text-align: right !important;
  }
  .text-md-center {
    text-align: center !important;
  }
}
@media (min-width: 992px) {
  .text-lg-left {
    text-align: left !important;
  }
  .text-lg-right {
    text-align: right !important;
  }
  .text-lg-center {
    text-align: center !important;
  }
}
@media (min-width: 1200px) {
  .text-xl-left {
    text-align: left !important;
  }
  .text-xl-right {
    text-align: right !important;
  }
  .text-xl-center {
    text-align: center !important;
  }
}
.text-lowercase {
  text-transform: lowercase !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.font-weight-light {
  font-weight: 300 !important;
}

.font-weight-lighter {
  font-weight: lighter !important;
}

.font-weight-normal {
  font-weight: 400 !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.font-weight-bolder {
  font-weight: bolder !important;
}

.font-italic {
  font-style: italic !important;
}

.text-white {
  color: #fff !important;
}

.text-primary {
  color: #007bff !important;
}

a.text-primary:hover, a.text-primary:focus {
  color: rgb(0, 86.1, 178.5) !important;
}

.text-secondary {
  color: #6c757d !important;
}

a.text-secondary:hover, a.text-secondary:focus {
  color: rgb(72.5407725322, 78.5858369099, 83.9592274678) !important;
}

.text-success {
  color: #28a745 !important;
}

a.text-success:hover, a.text-success:focus {
  color: rgb(25.2173913043, 105.2826086957, 43.5) !important;
}

.text-info {
  color: #17a2b8 !important;
}

a.text-info:hover, a.text-info:focus {
  color: rgb(14.5, 102.1304347826, 116) !important;
}

.text-warning {
  color: #ffc107 !important;
}

a.text-warning:hover, a.text-warning:focus {
  color: rgb(185.5, 139.125, 0) !important;
}

.text-danger {
  color: #dc3545 !important;
}

a.text-danger:hover, a.text-danger:focus {
  color: rgb(167.4810126582, 29.0189873418, 42.2848101266) !important;
}

.text-light {
  color: #f8f9fa !important;
}

a.text-light:hover, a.text-light:focus {
  color: rgb(203.375, 210.75, 218.125) !important;
}

.text-dark {
  color: #343a40 !important;
}

a.text-dark:hover, a.text-dark:focus {
  color: rgb(17.7068965517, 19.75, 21.7931034483) !important;
}

.text-body {
  color: #212529 !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-black-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-break {
  word-break: break-word !important;
  word-wrap: break-word !important;
}

.text-reset {
  color: inherit !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

@media print {
  *,
  *::before,
  *::after {
    text-shadow: none !important;
    box-shadow: none !important;
  }
  a:not(.btn) {
    text-decoration: underline;
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #adb5bd;
    page-break-inside: avoid;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  @page {
    size: a3;
  }
  body {
    min-width: 992px !important;
  }
  .container {
    min-width: 992px !important;
  }
  .navbar {
    display: none;
  }
  .badge {
    border: 1px solid #000;
  }
  .table {
    border-collapse: collapse !important;
  }
  .table td,
  .table th {
    background-color: #fff !important;
  }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #dee2e6 !important;
  }
  .table-dark {
    color: inherit;
  }
  .table-dark th,
  .table-dark td,
  .table-dark thead th,
  .table-dark tbody + tbody {
    border-color: #dee2e6;
  }
  .table .thead-dark th {
    color: inherit;
    border-color: #dee2e6;
  }
}
html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: "Open Sans", "Arial";
  margin: 0 0 100px 0;
  color: rgb(59, 58, 61);
  background-color: #f7f8fa;
}

.react-date-picker__calendar {
  z-index: 10000 !important;
}
.pons-header {
  font-family: "Rubik", "Futura", "Arial";
  background-color: #385cae;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36);
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}
.pons-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
}
.pons-header .logo-link {
  color: #f7f8fa;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  min-width: 0;
  margin-left: -5rem;
}
.pons-header .logo-link:hover, .pons-header .logo-link:focus {
  opacity: 0.8;
  cursor: pointer;
  color: #f7f8fa;
  text-decoration: none;
}
.pons-header .logo-link:focus-visible {
  outline: 2px solid #f7f8fa;
  outline-offset: 4px;
}
.pons-header .logo-link h6 {
  white-space: nowrap;
}
.pons-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.pons-header__nav-item {
  margin-left: 0.5rem;
}
.pons-header__nav-item:first-of-type {
  margin-left: 0;
}
.pons-header__nav-link {
  color: #f7f8fa;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.pons-header__nav-link:hover, .pons-header__nav-link:focus {
  text-decoration: none;
  color: #f7f8fa;
  background-color: rgba(255, 255, 255, 0.15);
}
.pons-header__nav-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}
.pons-header__nav-link--active {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.pons-header__spacer {
  flex-shrink: 0;
  width: 0;
}
@media (max-width: 992px) {
  .pons-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .pons-header .logo-link {
    margin-right: 0;
  }
  .pons-header__nav {
    position: static;
    transform: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
  .pons-header__nav-item {
    margin: 0 0.5rem 0.5rem 0;
  }
  .pons-header__spacer {
    display: none;
  }
}
.mismatch-overview {
  position: relative;
}

.mismatch-separator {
  opacity: 0.25;
  display: inline-block;
}

.mismatch-separator:hover {
  cursor: pointer;
  opacity: 0.5;
}

.mismatch-dot {
  position: absolute;
  font-size: 1.4rem;
  line-height: 2px;
  border: 1px solid transparent;
}
.msa-container {
  overflow: scroll;
  position: relative;
}

.msa {
  font-size: 0.75rem;
}

.index-row {
  font-weight: 500;
  font-size: 0.6rem;
}

.compact-index-row {
  overflow: visible;
}
.compact-index-row .compact-index-cell {
  position: absolute;
}

.dna-value {
  background-color: #aaa9a9;
  color: #ffffff;
  font-weight: 900;
  min-width: 24px;
}
.dna-value.A {
  background-color: #01546d;
}
.dna-value.G {
  background-color: #529a86;
}
.dna-value.C {
  background-color: #ec6778;
}
.dna-value.T {
  background-color: #f7bd84;
}

.overlay {
  z-index: 1;
  position: absolute;
  background-color: #ffffff;
  opacity: 0.3;
  pointer-events: none;
}

.msa-instructions {
  font-size: 0.75rem;
  color: #868e96;
  min-width: 230px;
}

.zoom-out-button {
  font-size: 0.75rem;
  color: #868e96;
}

.hide-viewer {
  display: none;
}

.labels-block {
  table-layout: fixed;
  font-size: 0.5rem;
}

.labels-block:hover {
  position: relative;
  min-width: 100px;
  z-index: 3000;
  background-color: #f7f7f7;
}
.card .msa-card {
  border-radius: 0;
  border-bottom: none;
}

.card-header {
  cursor: default;
}

.viewer-toggle-container {
  min-width: 450px;
}

.toggle-viewer {
  font-size: 1rem;
  font-family: "Josefin Sans";
  padding-bottom: 3px;
}
.toggle-viewer.active {
  font-weight: 700;
  border-bottom: 2px solid;
}

.toggle-viewer:hover {
  opacity: 0.5;
  cursor: pointer;
}

.viewer-spinner {
  width: 100%;
  height: 10%;
}
.spinner-container {
  height: 50%;
  width: 100%;
}

.DNA_cont {
  display: inline-block;
  position: relative;
  transform: scale(0.25);
}

.nucleobase {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.nucleobase:not(:last-child) {
  margin-right: 4.86vh;
}
.nucleobase:before, .nucleobase:after {
  content: "";
  display: inline-block;
  width: 3vh;
  height: 3vh;
  border-radius: 50%;
  position: absolute;
}
.nucleobase:nth-child(1) {
  animation-delay: -1.869s;
}
.nucleobase:nth-child(1):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -1.869s;
  background-color: #385cae;
}
.nucleobase:nth-child(1):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -1.869s;
  background-color: #0291aa;
}
.nucleobase:nth-child(2) {
  animation-delay: -3.738s;
}
.nucleobase:nth-child(2):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -3.738s;
  background-color: #385cae;
}
.nucleobase:nth-child(2):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -3.738s;
  background-color: #0291aa;
}
.nucleobase:nth-child(3) {
  animation-delay: -5.607s;
}
.nucleobase:nth-child(3):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -5.607s;
  background-color: #385cae;
}
.nucleobase:nth-child(3):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -5.607s;
  background-color: #0291aa;
}
.nucleobase:nth-child(4) {
  animation-delay: -7.476s;
}
.nucleobase:nth-child(4):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -7.476s;
  background-color: #385cae;
}
.nucleobase:nth-child(4):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -7.476s;
  background-color: #0291aa;
}
.nucleobase:nth-child(5) {
  animation-delay: -9.345s;
}
.nucleobase:nth-child(5):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -9.345s;
  background-color: #385cae;
}
.nucleobase:nth-child(5):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -9.345s;
  background-color: #0291aa;
}
.nucleobase:nth-child(6) {
  animation-delay: -11.214s;
}
.nucleobase:nth-child(6):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -11.214s;
  background-color: #385cae;
}
.nucleobase:nth-child(6):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -11.214s;
  background-color: #0291aa;
}
.nucleobase:nth-child(7) {
  animation-delay: -13.083s;
}
.nucleobase:nth-child(7):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -13.083s;
  background-color: #385cae;
}
.nucleobase:nth-child(7):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -13.083s;
  background-color: #0291aa;
}
.nucleobase:nth-child(8) {
  animation-delay: -14.952s;
}
.nucleobase:nth-child(8):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -14.952s;
  background-color: #385cae;
}
.nucleobase:nth-child(8):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -14.952s;
  background-color: #0291aa;
}
.nucleobase:nth-child(9) {
  animation-delay: -16.821s;
}
.nucleobase:nth-child(9):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -16.821s;
  background-color: #385cae;
}
.nucleobase:nth-child(9):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -16.821s;
  background-color: #0291aa;
}
.nucleobase:nth-child(10) {
  animation-delay: -18.69s;
}
.nucleobase:nth-child(10):before {
  animation: animBefore 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -18.69s;
  background-color: #385cae;
}
.nucleobase:nth-child(10):after {
  animation: animAfter 2.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -18.69s;
  background-color: #0291aa;
}

@keyframes animBefore {
  0% {
    top: -6vh;
    z-index: 1;
  }
  25% {
    transform: scale(1.2);
    z-index: 1;
  }
  50% {
    top: 6vh;
    z-index: -1;
  }
  75% {
    background-color: #788fc4;
    transform: scale(0.8);
    z-index: -1;
  }
  100% {
    top: -6vh;
    z-index: -1;
  }
}
@keyframes animAfter {
  0% {
    top: 6vh;
    z-index: -1;
  }
  25% {
    background-color: #5db1c0;
    transform: scale(0.8);
    z-index: -1;
  }
  50% {
    top: -6vh;
    z-index: 1;
  }
  75% {
    transform: scale(1.2);
    z-index: 1;
  }
  100% {
    top: 6vh;
    z-index: 1;
  }
}
@keyframes animDotBar {
  0% {
    height: 8.25vh;
  }
  25% {
    height: 0;
  }
  50% {
    height: 8.25vh;
  }
  75% {
    height: 0;
  }
  100% {
    height: 8.25vh;
  }
}
.validation-indicator {
  font-size: 10px;
}

.clickable-row {
  cursor: pointer;
}

.card .clickable-body {
  padding-bottom: 0;
  margin-bottom: 0;
}

.card .non-clickable-body {
  padding-top: 0;
  margin-top: 0;
}

.analysis-card {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}
.upload-button {
  background-color: #4183ec;
  cursor: pointer;
}

.analysis-card-container .analysis-card {
  border-radius: 0;
}
.clickable-card:hover {
  cursor: pointer;
  background-color: rgb(247, 247, 249);
}

.who-badge {
  color: #ffffff;
}
.who-badge.EMRO {
  background-color: #F5CC48;
}
.who-badge.AFRO {
  background-color: #0088C3;
}
.who-badge.AMRO {
  background-color: #FA8981;
}
.who-badge.EURO {
  background-color: #0ebe46;
}
.who-badge.SEARO {
  background-color: #D354C7;
}
.who-badge.WPRO {
  background-color: #cc0700;
}
.dropdown-shadow {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}
.filters-container {
  position: sticky;
  top: 6rem;
  max-width: 150%;
}

.filters {
  min-height: 25%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.active-filters-bucket {
  padding: 0.5rem;
}
.active-filters-bucket .filter-pill {
  font-size: 0.7rem;
  background-color: #4183ec;
  border-color: #4183ec;
  opacity: 0.85;
  white-space: normal;
  text-align: left;
}

.remove-filter {
  cursor: pointer;
}

.clear-filters {
  font-size: 0.7rem;
  color: #4183ec;
}

.clear-filters:hover {
  cursor: pointer;
  color: #3579e6;
}

.card {
  border-radius: 0;
}
.pagination {
  color: #4183ec;
}

.page-item.active .active-page {
  background-color: #4183ec;
  border-color: #4183ec;
  opacity: 0.85;
}

.page-item {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.page-ul {
  margin: 0px;
}

.page-item:last-child .page-link {
  border-radius: 0;
}

.page-item:first-child .page-link {
  border-radius: 0;
}
.results-text {
  vertical-align: "middle";
  align-items: center;
}

.pages-text {
  color: #868e96;
  font-size: 0.85rem;
}

.page-button {
  padding: 4px 4px 4px 4px;
  font-size: 0.85rem;
}

.page-button.active {
  color: #1e51b3;
  font-weight: bolder;
  font-size: 0.85rem;
}
@media (max-width: 992px) {
  .data-filters {
    display: none;
  }
}
.no-records-badge {
  background-color: #4183ec;
  opacity: 0.85;
  color: #ffffff;
}

.card-container {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.card-container .data-card:not(:last-child) {
  border-radius: 0;
  border-bottom-width: 0px;
}

.icon-padding {
  margin-right: 0.5rem;
  padding-bottom: 0.15rem;
}

.Select-menu-outer {
  z-index: 1000;
  border-radius: 0;
}

.Select-control {
  border-radius: 0;
}

.alert {
  border-radius: 0;
}
.react-calendar {
  width: 350px;
  max-width: 100%;
  background: white;
  border: 1px solid #a0a096;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.125em;
}
.react-calendar--doubleView {
  width: 700px;
}
.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}
.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}
.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}
.react-calendar button:enabled:hover {
  cursor: pointer;
}
.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}
.react-calendar__navigation button {
  min-width: 44px;
  background: none;
}
.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}
.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #e6e6e6;
}
.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.75em;
}
.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}
.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: bold;
}
.react-calendar__month-view__days__day--weekend {
  color: #d10000;
}
.react-calendar__month-view__days__day--neighboringMonth {
  color: #757575;
}
.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}
.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  line-height: 16px;
}
.react-calendar__tile:disabled {
  background-color: #f0f0f0;
}
.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background-color: #e6e6e6;
}
.react-calendar__tile--now {
  background: #ffff76;
}
.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
  background: #ffffa9;
}
.react-calendar__tile--hasActive {
  background: #76baff;
}
.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #a9d4ff;
}
.react-calendar__tile--active {
  background: #006edc;
  color: white;
}
.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}
.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}

.react-date-picker {
  display: inline-flex;
  position: relative;
}
.react-date-picker,
.react-date-picker *,
.react-date-picker *:before,
.react-date-picker *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.react-date-picker--disabled {
  background-color: #f0f0f0;
  color: #6d6d6d;
}
.react-date-picker__wrapper {
  display: flex;
  flex-grow: 1;
  flex-shrink: 0;
  border: thin solid gray;
}
.react-date-picker__inputGroup {
  min-width: calc((4px * 3) +  0.54em * 8  +  0.217em * 2);
  flex-grow: 1;
  padding: 0 2px;
  box-sizing: content-box;
}
.react-date-picker__inputGroup__divider {
  padding: 1px 0;
  white-space: pre;
}
.react-date-picker__inputGroup__input {
  min-width: 0.54em;
  height: 100%;
  position: relative;
  padding: 0 1px;
  border: 0;
  background: none;
  font: inherit;
  box-sizing: content-box;
  -moz-appearance: textfield;
}
.react-date-picker__inputGroup__input::-webkit-outer-spin-button,
.react-date-picker__inputGroup__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-date-picker__inputGroup__input:invalid {
  background: rgba(255, 0, 0, 0.1);
}
.react-date-picker__inputGroup__input--hasLeadingZero {
  margin-left: -0.54em;
  padding-left: calc(1px +  0.54em);
}
.react-date-picker__button {
  border: 0;
  background: transparent;
  padding: 4px 6px;
}
.react-date-picker__button:enabled {
  cursor: pointer;
}
.react-date-picker__button:enabled:hover .react-date-picker__button__icon,
.react-date-picker__button:enabled:focus .react-date-picker__button__icon {
  stroke: #0078d7;
}
.react-date-picker__button:disabled .react-date-picker__button__icon {
  stroke: #6d6d6d;
}
.react-date-picker__button svg {
  display: inherit;
}
.react-date-picker__calendar {
  width: 350px;
  max-width: 100vw;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
}
.react-date-picker__calendar--closed {
  display: none;
}
.react-date-picker__calendar .react-calendar {
  border-width: thin;
}

.phylo-analysis-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 0;
}

.phylo-hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.phylo-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.phylo-hero-section .phylo-hero-content {
  position: relative;
  z-index: 2;
}
.phylo-hero-section .phylo-hero-content .phylo-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}
.phylo-hero-section .phylo-hero-content .phylo-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
.phylo-hero-section .phylo-hero-content .phylo-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
}
.phylo-hero-section .phylo-hero-content .phylo-stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}
.phylo-hero-section .phylo-hero-content .phylo-stats-row .phylo-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phylo-hero-section .phylo-hero-content .phylo-stats-row .phylo-stat-item .stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}
.phylo-hero-section .phylo-hero-content .phylo-stats-row .phylo-stat-item .stat-value {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.phylo-quick-stats .quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.phylo-quick-stats .quick-stats-grid .stat-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}
.phylo-quick-stats .quick-stats-grid .stat-card .stat-icon {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.phylo-quick-stats .quick-stats-grid .stat-card .stat-title {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.phylo-quick-stats .quick-stats-grid .stat-card .stat-value {
  font-size: 0.875rem;
  font-weight: 600;
}

.phylo-filters-enhanced .filter-main-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e6ed;
  overflow: hidden;
}
.phylo-filters-enhanced .filter-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f8f9fa 100%);
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid #e0e6ed;
}
.phylo-filters-enhanced .filter-header .filter-title-section .filter-icon-wrapper {
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phylo-filters-enhanced .filter-header .filter-title-section .filter-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.phylo-filters-enhanced .filter-header .filter-title-section .filter-subtitle {
  color: #64748b;
  font-size: 0.9rem;
}
.phylo-filters-enhanced .filter-header .filter-status .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}
.phylo-filters-enhanced .filter-header .filter-status .status-badge.active {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
  border: 1px solid rgba(25, 135, 84, 0.2);
}
.phylo-filters-enhanced .filter-header .filter-status .status-badge.active .status-indicator {
  width: 8px;
  height: 8px;
  background: #198754;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.phylo-filters-enhanced .filter-content {
  padding: 2rem;
}
.phylo-filters-enhanced .filter-section {
  margin-bottom: 2rem;
}
.phylo-filters-enhanced .filter-section:last-child {
  margin-bottom: 0;
}
.phylo-filters-enhanced .filter-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #e0e6ed;
}
.phylo-filters-enhanced .filter-section .section-header:hover {
  background: white;
  border-color: #c7d2fe;
}
.phylo-filters-enhanced .filter-section .section-header .section-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}
.phylo-filters-enhanced .filter-section .section-header .section-icon.required {
  background: #e7f1ff;
  color: #0d6efd;
}
.phylo-filters-enhanced .filter-section .section-header .section-icon.dates {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}
.phylo-filters-enhanced .filter-section .section-header .section-icon.geographic {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}
.phylo-filters-enhanced .filter-section .section-header .section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
}
.phylo-filters-enhanced .filter-section .section-header .section-title .required-asterisk {
  color: #dc3545;
  margin-left: 0.5rem;
}
.phylo-filters-enhanced .filter-section .section-header .optional-badge {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 1rem;
}
.phylo-filters-enhanced .filter-section .section-header .section-toggle {
  color: #64748b;
  transition: transform 0.2s ease;
}
.phylo-filters-enhanced .filter-section .section-content {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  border: 1px solid #e0e6ed;
  border-top: none;
}
.phylo-filters-enhanced .form-group-enhanced {
  margin-bottom: 0;
}
.phylo-filters-enhanced .form-group-enhanced .form-label-enhanced {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.phylo-filters-enhanced .form-group-enhanced .form-label-enhanced .label-icon {
  margin-right: 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
}
.phylo-filters-enhanced .form-group-enhanced .form-label-enhanced .required-indicator {
  color: #dc3545;
  margin-left: 0.25rem;
  font-size: 0.8rem;
}
.phylo-filters-enhanced .form-group-enhanced .field-error {
  display: flex;
  align-items: center;
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.phylo-filters-enhanced .form-group-enhanced .field-error svg {
  margin-right: 0.25rem;
}
.phylo-filters-enhanced .form-group-enhanced .field-help {
  margin-top: 0.5rem;
}
.phylo-filters-enhanced .form-group-enhanced .field-help small {
  font-size: 0.75rem;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker {
  width: 100%;
  height: 70px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__wrapper {
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  padding: 0.6875rem 1rem;
  background: #ffffff;
  transition: all 0.2s ease;
  min-height: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  line-height: 1.5;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__wrapper:focus-within {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__wrapper:hover {
  border-color: #0d6efd;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #1e293b;
  background: transparent;
  height: 20px;
  line-height: 20px;
  padding: 0;
  margin: 0 1px;
  width: auto;
  min-width: 0;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input:invalid {
  background: none;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input::placeholder {
  color: #8892a7;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input[name=month] {
  width: 20px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input[name=day] {
  width: 20px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__input[name=year] {
  width: 40px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__inputGroup .react-date-picker__inputGroup__divider {
  color: #64748b;
  font-size: 14px;
  line-height: 20px;
  margin: 0 2px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__calendar-button {
  border: none;
  background: none;
  color: #64748b;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__calendar-button:hover {
  color: #0d6efd;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__calendar-button:focus {
  outline: none;
  color: #0d6efd;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__calendar-button svg {
  width: 16px;
  height: 16px;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__clear-button {
  border: none;
  background: none;
  color: #64748b;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__clear-button:hover {
  color: #dc3545;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__clear-button:focus {
  outline: none;
  color: #dc3545;
}
.phylo-filters-enhanced .date-picker-wrapper .react-date-picker .react-date-picker__clear-button svg {
  width: 16px;
  height: 16px;
}

.phylo-action-panel .action-panel-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e6ed;
}
.phylo-action-panel .status-banner {
  background: linear-gradient(135deg, #f8fafc 0%, rgba(13, 110, 253, 0.02) 100%);
  border-radius: 12px;
  padding: 1.5rem;
}
.phylo-action-panel .status-banner .status-info .status-text {
  font-size: 1rem;
  font-weight: 600;
}
.phylo-action-panel .status-banner .status-info .status-text.success {
  color: #198754;
}
.phylo-action-panel .status-banner .status-info .status-text.warning {
  color: #ffc107;
}
.phylo-action-panel .status-banner .status-info .status-subtitle {
  margin-top: 0.25rem;
}
.phylo-action-panel .status-banner .status-info .status-subtitle small {
  font-size: 0.8rem;
}
.phylo-action-panel .status-banner .action-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.phylo-action-panel .status-banner .action-buttons .btn-action {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border-width: 2px;
}
.phylo-action-panel .status-banner .action-buttons .btn-action.btn-generate {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-color: #0d6efd;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.phylo-action-panel .status-banner .action-buttons .btn-action.btn-generate:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.phylo-action-panel .status-banner .action-buttons .btn-action.btn-generate:disabled {
  background: #94a3b8;
  border-color: #94a3b8;
  cursor: not-allowed;
}
.phylo-action-panel .status-banner .action-buttons .btn-action svg {
  font-size: 0.8rem;
}

.phylo-instructions-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e6ed;
  overflow: hidden;
}
.phylo-instructions-card .instructions-header {
  background: linear-gradient(135deg, #0dcaf0 0%, rgb(59.5849802372, 213.4743083004, 244.4150197628) 100%);
  color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.phylo-instructions-card .instructions-header:hover {
  background: linear-gradient(135deg, rgb(11.6897233202, 181.6403162055, 215.8102766798) 0%, #0dcaf0 100%);
}
.phylo-instructions-card .instructions-header .chevron-icon {
  transition: transform 0.2s ease;
}
.phylo-instructions-card .instructions-header .info-icon {
  color: rgba(255, 255, 255, 0.9);
}
.phylo-instructions-card .instructions-header .instructions-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}
.phylo-instructions-card .instructions-content {
  padding: 2rem;
}
.phylo-instructions-card .instructions-content .instruction-section .section-title {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e0e6ed;
}
.phylo-instructions-card .instructions-content .instruction-section .section-title svg {
  color: #0d6efd;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-number {
  width: 32px;
  height: 32px;
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-number.success {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-content {
  flex: 1;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-content strong {
  display: block;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-content .step-detail {
  color: #64748b;
  font-size: 0.875rem;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.current-year {
  background: #dc3545;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.previous-year {
  background: #0d6efd;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.two-years {
  background: #212529;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.three-plus-years {
  background: #6c757d;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-shape-circle {
  color: #8b5cf6;
  font-size: 1.25rem;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-shape-diamond {
  color: #dc3545;
  font-size: 1.25rem;
}
.phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item span {
  font-size: 0.875rem;
  color: #64748b;
}

.phylo-modal-container .modal-header-enhanced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  border-radius: 16px 16px 0 0;
}
.phylo-modal-container .modal-header-enhanced .modal-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phylo-modal-container .modal-header-enhanced .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.phylo-modal-container .modal-header-enhanced .modal-subtitle .badge.badge-primary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.phylo-modal-container .modal-header-enhanced .modal-subtitle .badge.badge-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.phylo-modal-container .modal-header-enhanced .btn-close-modal {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  padding: 0.5rem 1rem;
}
.phylo-modal-container .modal-header-enhanced .btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
.phylo-modal-container .modal-body-enhanced {
  padding: 2rem;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

.phylo-warning-card {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 193, 7, 0.3);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.02) 100%);
}
.phylo-warning-card .alert-heading {
  color: #a07800;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .phylo-hero-section {
    padding: 1.5rem 0;
  }
  .phylo-hero-section .phylo-hero-content .phylo-title {
    font-size: 1.5rem;
  }
  .phylo-hero-section .phylo-hero-content .phylo-subtitle {
    font-size: 1rem;
  }
  .phylo-hero-section .phylo-hero-content .phylo-stats-row {
    flex-direction: column;
    gap: 1rem;
  }
  .phylo-quick-stats .quick-stats-grid {
    grid-template-columns: 1fr;
  }
  .phylo-filters-enhanced .filter-content {
    padding: 1rem;
  }
  .phylo-filters-enhanced .filter-section .section-content {
    padding: 1rem;
  }
  .phylo-action-panel .status-banner {
    padding: 1rem;
  }
  .phylo-action-panel .status-banner .action-buttons {
    margin-top: 1rem;
    justify-content: center;
  }
  .phylo-action-panel .status-banner .action-buttons .btn-action {
    flex: 1;
    min-width: 120px;
  }
}
@media (max-width: 480px) {
  .phylo-hero-section .phylo-hero-content {
    text-align: center;
  }
  .phylo-hero-section .phylo-hero-content .phylo-title {
    font-size: 1.25rem;
  }
  .phylo-hero-section .phylo-hero-content .phylo-stats-row {
    justify-content: center;
  }
  .phylo-action-panel .action-buttons {
    flex-direction: column;
  }
  .phylo-action-panel .action-buttons .btn-action {
    width: 100%;
  }
}
@media print {
  .phylo-analysis-container {
    background: white;
  }
  .phylo-hero-section {
    background: #0d6efd !important;
    -webkit-print-color-adjust: exact;
  }
  .phylo-action-panel,
  .phylo-instructions-card {
    display: none;
  }
}
.phylo-tree-wrapper-enhanced {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.phylo-tree-wrapper-enhanced.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: white;
  border-radius: 0;
  padding: 1rem;
  overflow: auto;
}
.phylo-tree-wrapper-enhanced.fullscreen .tree-main-container {
  height: calc(100vh - 200px);
}
.phylo-tree-wrapper-enhanced.fullscreen .tree-scroll-container {
  max-height: 90vh !important;
}

.tree-control-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e0e6ed;
  padding: 1.5rem 2rem;
}
.tree-control-panel .control-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.tree-control-panel .control-panel-header .panel-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tree-control-panel .control-panel-header .panel-title-section .panel-icon-wrapper {
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tree-control-panel .control-panel-header .panel-title-section .panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.tree-control-panel .control-panel-header .panel-title-section .panel-subtitle {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}
.tree-control-panel .control-panel-header .panel-actions {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.35rem 0.75rem;
  border: 1px solid #e0e6ed;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .search-input-wrapper .tree-search-input {
  border: none;
  outline: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: #1e293b;
  min-width: 200px;
  background: transparent;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .search-input-wrapper .tree-search-input::placeholder {
  color: #94a3b8;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .search-input-wrapper .search-clear-btn {
  border: none;
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .search-input-wrapper .search-clear-btn:hover {
  background: #0d6efd;
  color: white;
}
.tree-control-panel .control-panel-header .panel-actions .tree-search-controls .tree-search-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a58ca;
  background: rgba(13, 110, 253, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.tree-control-panel .control-panel-header .control-buttons-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group {
  display: flex;
  gap: 0.25rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e6ed;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn:hover:not(:disabled) {
  background: #e7f1ff;
  color: #0d6efd;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn.active {
  background: #0d6efd;
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn.zoom-reset .zoom-level {
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn.download-btn {
  background: #198754;
  color: white;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn.download-btn:hover {
  background: rgb(17.03125, 91.96875, 57.225);
  color: white;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn .btn-label {
  font-size: 0.8rem;
  font-weight: 500;
}
.tree-control-panel .control-panel-header .control-buttons-group .button-group .control-btn svg {
  font-size: 0.9rem;
}

.tree-search-highlight {
  font-weight: 700;
  fill: #0d6efd !important;
  stroke: rgba(13, 110, 253, 0.6);
  stroke-width: 0.5px;
  paint-order: stroke;
  filter: drop-shadow(0 0 4px rgba(13, 110, 253, 0.3));
}

.tree-main-container {
  display: flex;
  min-height: 600px;
}
.tree-main-container .tree-display-area {
  flex: 1;
  position: relative;
}
.tree-main-container .tree-display-area.with-legend {
  border-right: 1px solid #e0e6ed;
}
.tree-main-container .tree-display-area.full-width {
  flex: 1;
}
.tree-main-container .tree-viewport {
  height: 100%;
  position: relative;
}
.tree-main-container .tree-scroll-container {
  overflow: auto;
  height: 600px;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e0e6ed;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f8fafc;
}
.tree-main-container .tree-scroll-container::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
.tree-main-container .tree-scroll-container::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 7px;
  margin: 2px;
}
.tree-main-container .tree-scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #94a3b8 0%, rgb(117.3426966292, 136.6404494382, 163.6573033708) 100%);
  border-radius: 7px;
  border: 2px solid #f8fafc;
}
.tree-main-container .tree-scroll-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgb(117.3426966292, 136.6404494382, 163.6573033708) 0%, rgb(91.7415730337, 111.1235955056, 138.2584269663) 100%);
}
.tree-main-container .tree-scroll-container::-webkit-scrollbar-corner {
  background: #f8fafc;
}
.tree-main-container .tree-svg-container {
  position: relative;
  background: transparent;
  transition: opacity 0.3s ease;
  padding: 20px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tree-main-container .tree-svg-container svg {
  display: block;
  max-width: none !important;
  max-height: none !important;
  transition: width 0.2s ease, height 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.tree-main-container .tree-svg-container svg[viewBox] {
  overflow: visible;
}
.tree-main-container .tree-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.tree-main-container .tree-loading-overlay .loading-content {
  text-align: center;
  color: #64748b;
}
.tree-main-container .tree-loading-overlay .loading-content .loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.3em solid rgba(13, 110, 253, 0.2);
  border-radius: 50%;
  border-top: 0.3em solid #0d6efd;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.tree-main-container .tree-loading-overlay .loading-content .loading-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.tree-main-container .tree-loading-overlay .loading-content .loading-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.tree-main-container .tree-empty-state {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f8f9fa 100%);
}
.tree-main-container .tree-empty-state .empty-state-content {
  text-align: center;
  color: #94a3b8;
  max-width: 400px;
  padding: 2rem;
}
.tree-main-container .tree-empty-state .empty-state-content .empty-state-icon {
  margin-bottom: 1.5rem;
  opacity: 0.5;
  animation: pulse 2s infinite;
}
.tree-main-container .tree-empty-state .empty-state-content .empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1rem;
}
.tree-main-container .tree-empty-state .empty-state-content .empty-state-text {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.tree-legend-panel {
  width: 320px;
  background: #ffffff;
  border-left: 1px solid #e0e6ed;
  display: flex;
  flex-direction: column;
}
.tree-legend-panel .legend-header {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e0e6ed;
}
.tree-legend-panel .legend-header .legend-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
}
.tree-legend-panel .legend-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.tree-legend-enhanced .legend-section {
  margin-bottom: 2rem;
}
.tree-legend-enhanced .legend-section:last-child {
  margin-bottom: 0;
}
.tree-legend-enhanced .legend-section .legend-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e6ed;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-color-indicator {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-color-indicator.current-year {
  background: #dc3545;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-color-indicator.previous-year {
  background: #0d6efd;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-color-indicator.two-years {
  background: #212529;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-color-indicator.three-plus-years {
  background: #6c757d;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-shape-indicator {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-shape-indicator .shape-circle {
  color: #8b5cf6;
  font-size: 1.1rem;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-shape-indicator .shape-diamond {
  color: #dc3545;
  font-size: 1.1rem;
}
.tree-legend-enhanced .legend-section .legend-items .legend-item .legend-text {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.tree-legend-enhanced .legend-section .legend-note {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: rgba(13, 202, 240, 0.05);
  border-radius: 8px;
  border-left: 3px solid #0dcaf0;
}
.tree-legend-enhanced .legend-section .legend-info-items .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}
.tree-legend-enhanced .legend-section .legend-info-items .info-item .info-icon {
  color: #0dcaf0;
  margin-top: 0.1rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.applied-filters-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e6ed;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.applied-filters-card .filters-card-header {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.applied-filters-card .filters-card-header .filters-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.applied-filters-card .filters-card-header .filters-header-content .filters-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.applied-filters-card .filters-card-header .filters-header-content .filters-title-section .filters-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.applied-filters-card .filters-card-header .filters-header-content .filters-title-section .filters-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.applied-filters-card .filters-card-header .filters-header-content .filters-title-section .filters-meta .sequence-count-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.applied-filters-card .filters-card-header .filters-header-content .filters-title-section .filters-meta .generation-time {
  font-size: 0.8rem;
  opacity: 0.9;
}
.applied-filters-card .filters-card-header .filters-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.applied-filters-card .filters-card-header .filters-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
.applied-filters-card .filters-card-content {
  padding: 2rem;
}
.applied-filters-card .filters-card-content .filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-group-title {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e6ed;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-group-title svg {
  color: #0d6efd;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item {
  margin-bottom: 1rem;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value {
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 500;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.empty {
  color: #94a3b8;
  font-style: italic;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.serotype {
  color: #0d6efd;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.genotype {
  color: #0dcaf0;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.root {
  color: #198754;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.date {
  color: #ffc107;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value.geographic {
  color: #6c757d;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value-list .filter-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value-list .filter-tag.sequence-type {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
  border-color: rgba(13, 202, 240, 0.2);
}
.applied-filters-card .filters-card-content .filters-grid .filter-group .filter-items .filter-item .filter-value-list .filter-tag.active {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.2);
}

.tree-stats-panel {
  background: #f8fafc;
  border-top: 1px solid #e0e6ed;
  padding: 1.5rem 2rem;
}
.tree-stats-panel .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.tree-stats-panel .stats-grid .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e6ed;
  transition: all 0.2s ease;
}
.tree-stats-panel .stats-grid .stat-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.tree-stats-panel .stats-grid .stat-item .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.tree-stats-panel .stats-grid .stat-item .stat-icon.sequences {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}
.tree-stats-panel .stats-grid .stat-item .stat-icon.zoom {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}
.tree-stats-panel .stats-grid .stat-item .stat-icon.root {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}
.tree-stats-panel .stats-grid .stat-item .stat-icon.format {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}
.tree-stats-panel .stats-grid .stat-item .stat-content {
  flex: 1;
}
.tree-stats-panel .stats-grid .stat-item .stat-content .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.tree-stats-panel .stats-grid .stat-item .stat-content .stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1200px) {
  .tree-main-container {
    flex-direction: column;
  }
  .tree-main-container .tree-legend-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #e0e6ed;
    max-height: 300px;
  }
}
@media (max-width: 768px) {
  .tree-control-panel {
    padding: 1rem;
  }
  .tree-control-panel .control-panel-header {
    flex-direction: column;
    align-items: stretch;
  }
  .tree-control-panel .control-panel-header .control-buttons-group {
    justify-content: center;
  }
  .tree-control-panel .control-panel-header .control-buttons-group .button-group {
    flex: 1;
    justify-content: center;
  }
  .tree-main-container {
    min-height: 400px;
  }
  .tree-main-container .tree-scroll-container {
    height: 400px;
  }
  .applied-filters-card .filters-card-header {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .applied-filters-card .filters-card-header .filters-header-content {
    margin-bottom: 1rem;
  }
  .applied-filters-card .filters-card-header .filters-toggle-btn {
    align-self: center;
  }
  .applied-filters-card .filters-card-content {
    padding: 1rem;
  }
  .applied-filters-card .filters-card-content .filters-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tree-stats-panel {
    padding: 1rem;
  }
  .tree-stats-panel .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .tree-stats-panel .stats-grid .stat-item {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .tree-stats-panel .stats-grid .stat-item .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .tree-stats-panel .stats-grid .stat-item .stat-content .stat-value {
    font-size: 1.25rem;
  }
  .tree-stats-panel .stats-grid .stat-item .stat-content .stat-label {
    font-size: 0.8rem;
  }
}
@media (prefers-contrast: high) {
  .phylo-filters-enhanced .filter-main-card,
  .phylo-filters-enhanced .filter-section .section-content {
    border-color: #000;
    background: #fff;
  }
  .phylo-filters-enhanced .form-group-enhanced .form-label-enhanced {
    color: #000;
  }
  .phylo-action-panel .action-panel-card {
    border-color: #000;
    background: #fff;
  }
  .phylo-tree-wrapper-enhanced {
    border-color: #000;
    background: #fff;
  }
  .tree-legend-enhanced .legend-color-indicator {
    border-color: #000 !important;
  }
}
.tree-selection-brush .extent {
    fill-opacity: .05;
    stroke: #fff;
    shape-rendering: crispEdges;
}

.tree-scale-bar text {
  font: sans-serif;
}

.tree-scale-bar line,
.tree-scale-bar path {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.node circle, .node ellipse, .node rect {
fill: steelblue;
stroke: black;
stroke-width: 0.5px;
}

.internal-node circle, .internal-node ellipse, .internal-node rect{
fill: #CCC;
stroke: black;
stroke-width: 0.5px;
}

.node {
font: 10px sans-serif;
}

.node-selected {
fill: #f00 !important;     
}

.node-collapsed circle, .node-collapsed ellipse, .node-collapsed rect{
fill: black !important;     
}

.node-tagged {
fill: #00f; 
}

.branch {
fill: none;
stroke: #999;
stroke-width: 2px;
}

.clade {
fill: lightgrey;
stroke: #222;
stroke-width: 2px;
opacity: 0.5;
}

.branch-selected {
stroke: #f00 !important; 
stroke-width: 3px;
}

.branch-tagged {
stroke: #00f;
stroke-dasharray: 10,5;
stroke-width: 2px;
}

.branch-tracer {
stroke: #bbb;
stroke-dasharray: 3,4;
stroke-width: 1px;
}


.branch-multiple {
stroke-dasharray: 5, 5, 1, 5;
stroke-width: 3px;
}

.branch:hover {
stroke-width: 10px;
}

.internal-node circle:hover, .internal-node ellipse:hover, .internal-node rect:hover {
fill: black;
stroke: #CCC;
}

.tree-widget {
}
.modern-download-panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  max-width: 100%;
}

.panel-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.close-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  font-size: 16px;
}
.close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}
.close-btn:active {
  transform: scale(0.95);
}

.header-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.header-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.header-text p {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #6b7280;
}

.view-toggle {
  display: flex;
  background: white;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  white-space: nowrap;
}
.toggle-btn.active {
  background: #3b82f6;
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}
.toggle-btn:hover:not(.active) {
  background: #f3f4f6;
  color: #374151;
}

.panel-content {
  padding: 24px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.download-card {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.download-card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-info h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}
.card-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}
.action-btn.primary {
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.action-btn.secondary {
  background: #f8fafc;
  color: #374151;
  border: 1px solid #e5e7eb;
}
.action-btn.secondary:hover {
  background: #f1f5f9;
  border-color: #d1d5db;
}
.action-btn.secondary.copied {
  background: #dcfce7;
  border-color: #16a34a;
  color: #15803d;
}

.bulk-actions {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.bulk-header h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #0c4a6e;
}
.bulk-header p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #0369a1;
}

.bulk-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}
.bulk-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.preview-view {
  min-height: 500px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.preview-info h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}
.preview-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.preview-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-action-btn {
  min-width: 100px;
  height: 40px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  font-size: 12px;
  padding: 0 12px;
  white-space: nowrap;
}
.preview-action-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}
.preview-action-btn.icon {
  min-width: 80px;
  gap: 4px;
}
.preview-action-btn.icon svg {
  width: 14px;
  height: 14px;
}
.preview-action-btn.primary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}
.preview-action-btn.primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}
.preview-action-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}
.preview-action-btn.active:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.matrix-container {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.matrix-container.expanded {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  background: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.matrix-content {
  max-height: 900px;
  overflow: auto;
  position: relative;
}
.matrix-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.matrix-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.matrix-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.matrix-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.matrix-data {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
  padding: 20px;
  background: white;
  white-space: pre;
  overflow-x: auto;
}

.newick-data {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 11px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  padding: 20px;
  background: white;
  white-space: pre-wrap;
  overflow-x: auto;
  word-break: break-all;
}

.no-data {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  background: white;
}

.matrix-search-controls {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  min-height: 42px;
  padding: 4px 40px 4px 40px;
  transition: all 0.2s ease;
}
.search-input-group:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-input-group .search-icon {
  position: absolute;
  left: 12px;
  color: #6b7280;
  font-size: 14px;
  z-index: 2;
}
.search-input-group .clear-search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
}
.search-input-group .clear-search-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 36px;
  right: 36px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  max-height: 300px;
  overflow: hidden;
  margin-top: 4px;
}
.search-dropdown .dropdown-header {
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.search-dropdown .dropdown-list {
  max-height: 240px;
  overflow-y: auto;
}
.search-dropdown .dropdown-list::-webkit-scrollbar {
  width: 6px;
}
.search-dropdown .dropdown-list::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.search-dropdown .dropdown-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.search-dropdown .dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.search-dropdown .dropdown-footer {
  padding: 8px 12px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
  text-align: center;
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover, .dropdown-item.selected {
  background: #f0f9ff;
  border-left: 3px solid #3b82f6;
}
.dropdown-item.selected {
  background: #dbeafe;
}
.dropdown-item .dropdown-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dropdown-item .dropdown-item-content .sequence-id-text {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-item .dropdown-item-content .sample-type-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-terms-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
}
.search-terms-container .search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  flex: 1;
  min-width: 200px;
  padding: 6px 0;
}
.search-terms-container .search-input::placeholder {
  color: #9ca3af;
}
.search-terms-container .search-input:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}
.search-terms-container .search-input:disabled::placeholder {
  color: #d1d5db;
}

.search-term-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.search-term-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.search-term-tag .search-term-text {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-term-tag .remove-term-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  min-width: 16px;
  height: 16px;
}
.search-term-tag .remove-term-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.search-term-tag .remove-term-btn:active {
  transform: scale(0.95);
}
.search-term-tag.search-tag-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}
.search-term-tag.search-tag-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}
.search-term-tag.search-tag-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}
.search-term-tag.search-tag-pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 1px 3px rgba(236, 72, 153, 0.3);
}
.search-term-tag.search-tag-indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
}

.search-info {
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.search-info strong {
  color: #374151;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.search-info .search-count {
  color: #6b7280;
  font-size: 11px;
  margin-left: 8px;
  padding: 2px 6px;
  background: #e5e7eb;
  border-radius: 4px;
}

.no-search-results {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  background: white;
  font-size: 14px;
}

.matrix-with-legend {
  display: flex;
  height: 100%;
  max-height: 900px;
  overflow: hidden;
}

.matrix-content-area {
  flex: 1;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
}

.matrix-legend-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #f8fafc;
  border-left: 1px solid #e5e7eb;
  overflow-y: auto;
  padding: 16px;
}
.matrix-legend-sidebar::-webkit-scrollbar {
  width: 6px;
}
.matrix-legend-sidebar::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.matrix-legend-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.compact-legend .compact-legend-section {
  background: white;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}
.compact-legend .compact-legend-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.compact-legend .compact-legend-header .legend-icon {
  color: #3b82f6;
  font-size: 16px;
}
.compact-legend .compact-legend-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.compact-legend .compact-legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compact-legend .compact-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.compact-legend .compact-legend-item .compact-distance-indicator {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.compact-legend .compact-legend-item .compact-distance-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.compact-legend .compact-legend-item .compact-distance-info .compact-range {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
}
.compact-legend .compact-legend-item .compact-distance-info .compact-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}
.compact-legend .compact-legend-item .compact-sample-indicator {
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.compact-legend .compact-legend-item .compact-sample-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.compact-legend .compact-legend-item .compact-sample-info .compact-sample-type {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
}
.compact-legend .compact-legend-item .compact-sample-info .compact-sample-count {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

.redesigned-sticky-table-container {
  height: 100%;
  overflow: hidden;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.table-pagination-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #6b7280;
}
.table-pagination-info .pagination-text {
  font-weight: 500;
  color: #374151;
}
.table-pagination-info .pagination-text .search-indicator {
  color: #3b82f6;
  font-size: 13px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.pagination-btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}
.pagination-btn:active:not(:disabled) {
  transform: scale(0.95);
}
.pagination-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  font-weight: 600;
}
.pagination-btn.active:hover {
  background: #2563eb;
  border-color: #2563eb;
}
.pagination-btn:disabled {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}
.pagination-btn:first-child, .pagination-btn:last-child {
  font-size: 18px;
  font-weight: bold;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  color: #9ca3af;
  font-size: 14px;
  user-select: none;
}

.sticky-table-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.table-scroll-container {
  flex: 1;
  overflow: auto;
  position: relative;
}
.table-scroll-container::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.table-scroll-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 6px;
}
.table-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
  border: 2px solid #f1f5f9;
}
.table-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.table-scroll-container::-webkit-scrollbar-corner {
  background: #f1f5f9;
}

.scrollable-table-content {
  position: relative;
  min-width: fit-content;
}

.sticky-header-row {
  display: flex;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  min-height: 120px;
  align-items: flex-end;
}

.sticky-header-cell {
  padding: 12px 8px;
  font-weight: 600;
  color: #374151;
  font-size: 11px;
  border-right: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  background: #f8fafc;
  z-index: 20;
}
.sticky-header-cell:last-child {
  border-right: none;
}

.sequence-header-cell {
  width: 200px;
  min-width: 200px;
  justify-content: flex-start !important;
  padding-left: 16px !important;
  background: #f1f5f9 !important;
  color: #1e40af !important;
  font-weight: 700 !important;
  border-right: 2px solid #d1d5db !important;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  left: 0;
  z-index: 30;
  height: 120px;
  align-items: center;
}

.value-header-cell {
  width: 80px;
  min-width: 80px;
}

.sequence-id-header {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  width: 80px !important;
  min-width: 80px !important;
  height: 120px;
}
.sequence-id-header .sequence-id-header-text {
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.sequence-id-header.sample-type-STOOL {
  background-color: #dbeafe !important;
  color: #1e40af !important;
  border-top: 3px solid #3b82f6 !important;
}

.sequence-id-header.sample-type-environmental {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
  border-top: 3px solid #10b981 !important;
}

.sequence-id-header.sample-type-epidemiological {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border-top: 3px solid #f59e0b !important;
}

.sequence-id-header.sample-type-other {
  background-color: #fecaca !important;
  color: #991b1b !important;
  border-top: 3px solid #ef4444 !important;
}

.sequence-id-header.search-highlighted {
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
  z-index: 25 !important;
}
.sequence-id-header.search-highlighted.search-amber {
  background: linear-gradient(135deg, #fef3c7, #fed7aa) !important;
  color: #92400e !important;
  border: 2px solid #f59e0b !important;
  border-top: 4px solid #f59e0b !important;
}
.sequence-id-header.search-highlighted.search-blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #1e40af !important;
  border: 2px solid #3b82f6 !important;
  border-top: 4px solid #3b82f6 !important;
}
.sequence-id-header.search-highlighted.search-emerald {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
  color: #065f46 !important;
  border: 2px solid #10b981 !important;
  border-top: 4px solid #10b981 !important;
}
.sequence-id-header.search-highlighted.search-pink {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
  color: #be185d !important;
  border: 2px solid #ec4899 !important;
  border-top: 4px solid #ec4899 !important;
}
.sequence-id-header.search-highlighted.search-indigo {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe) !important;
  color: #4338ca !important;
  border: 2px solid #6366f1 !important;
  border-top: 4px solid #6366f1 !important;
}
.sequence-id-header.search-highlighted .sequence-id-header-text {
  font-weight: 800 !important;
}
.sequence-id-header.hover-highlighted {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #1e40af !important;
  border: 2px solid #3b82f6 !important;
  border-top: 4px solid #3b82f6 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
  z-index: 25 !important;
}
.sequence-id-header.hover-highlighted .sequence-id-header-text {
  font-weight: 800 !important;
  color: #1e40af !important;
}

.table-body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.table-row:hover {
  background: rgba(239, 246, 255, 0.3);
}
.table-row:hover .sticky-sequence-cell {
  font-weight: 700;
  transform: translateX(2px);
}
.table-row:hover .value-cell {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}
.table-row.even-row {
  background: rgba(248, 250, 252, 0.5);
}
.table-row.search-highlighted {
  border-radius: 4px;
  margin: 1px 0;
}
.table-row.search-highlighted.search-amber {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}
.table-row.search-highlighted.search-blue {
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}
.table-row.search-highlighted.search-emerald {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.table-row.search-highlighted.search-pink {
  background: rgba(236, 72, 153, 0.1) !important;
  border: 1px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 2px 4px rgba(236, 72, 153, 0.2);
}
.table-row.search-highlighted.search-indigo {
  background: rgba(99, 102, 241, 0.1) !important;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}
.table-row.hover-highlighted {
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 4px;
  margin: 1px 0;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.sticky-sequence-cell {
  width: 200px;
  min-width: 200px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 11px;
  color: #1e40af;
  border-right: 2px solid #d1d5db;
  position: sticky;
  left: 0;
  z-index: 10;
  background: #f9fafb;
  display: flex;
  align-items: center;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-sequence-cell.sample-type-STOOL {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 3px solid #3b82f6;
}
.sticky-sequence-cell.sample-type-environmental {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 3px solid #10b981;
}
.sticky-sequence-cell.sample-type-epidemiological {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 3px solid #f59e0b;
}
.sticky-sequence-cell.sample-type-other {
  background-color: #fecaca;
  color: #991b1b;
  border-left: 3px solid #ef4444;
}
.sticky-sequence-cell.search-highlighted {
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1), 2px 0 4px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}
.sticky-sequence-cell.search-highlighted.search-amber {
  background: linear-gradient(135deg, #fef3c7, #fed7aa) !important;
  color: #92400e !important;
  border: 2px solid #f59e0b !important;
  border-left: 4px solid #f59e0b !important;
}
.sticky-sequence-cell.search-highlighted.search-blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #1e40af !important;
  border: 2px solid #3b82f6 !important;
  border-left: 4px solid #3b82f6 !important;
}
.sticky-sequence-cell.search-highlighted.search-emerald {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
  color: #065f46 !important;
  border: 2px solid #10b981 !important;
  border-left: 4px solid #10b981 !important;
}
.sticky-sequence-cell.search-highlighted.search-pink {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
  color: #be185d !important;
  border: 2px solid #ec4899 !important;
  border-left: 4px solid #ec4899 !important;
}
.sticky-sequence-cell.search-highlighted.search-indigo {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe) !important;
  color: #4338ca !important;
  border: 2px solid #6366f1 !important;
  border-left: 4px solid #6366f1 !important;
}
.sticky-sequence-cell.hover-highlighted {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #1e40af !important;
  border: 2px solid #3b82f6 !important;
  border-left: 4px solid #3b82f6 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2), 2px 0 4px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.value-cell {
  width: 80px;
  min-width: 80px;
  padding: 10px 6px;
  font-size: 10px;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  color: #374151;
  border-right: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}
.value-cell:last-child {
  border-right: none;
}
.value-cell.colored {
  font-weight: 500;
}
.value-cell.colored:hover {
  transform: scale(1.02);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  font-weight: 700;
  color: #0f172a;
}
.value-cell.empty {
  background: #f9fafb;
  color: #9ca3af;
  font-style: italic;
}
.value-cell.search-highlighted {
  border-radius: 4px;
  font-weight: 700 !important;
  transform: scale(1.08);
  z-index: 5;
}
.value-cell.search-highlighted.search-amber {
  background: rgba(245, 158, 11, 0.4) !important;
  border: 2px solid #f59e0b !important;
  color: #92400e !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.value-cell.search-highlighted.search-blue {
  background: rgba(59, 130, 246, 0.4) !important;
  border: 2px solid #3b82f6 !important;
  color: #1e40af !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.value-cell.search-highlighted.search-emerald {
  background: rgba(16, 185, 129, 0.4) !important;
  border: 2px solid #10b981 !important;
  color: #065f46 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.value-cell.search-highlighted.search-pink {
  background: rgba(236, 72, 153, 0.4) !important;
  border: 2px solid #ec4899 !important;
  color: #be185d !important;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}
.value-cell.search-highlighted.search-indigo {
  background: rgba(99, 102, 241, 0.4) !important;
  border: 2px solid #6366f1 !important;
  color: #4338ca !important;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.value-cell.hover-highlighted {
  background: rgba(59, 130, 246, 0.3) !important;
  border: 2px solid #3b82f6 !important;
  border-radius: 4px;
  font-weight: 700 !important;
  color: #1e40af !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  transform: scale(1.08);
  z-index: 5;
}
.value-cell.search-highlighted.hover-highlighted {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(59, 130, 246, 0.4)) !important;
  border: 2px solid #7c3aed !important;
  color: #7c2d12 !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.3);
}

.copy-notification {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
  animation: slideIn 0.3s ease;
  z-index: 100;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.compact-legend-item {
  animation: fadeInUp 0.3s ease;
  animation-fill-mode: both;
}
.compact-legend-item:nth-child(1) {
  animation-delay: 0.1s;
}
.compact-legend-item:nth-child(2) {
  animation-delay: 0.2s;
}
.compact-legend-item:nth-child(3) {
  animation-delay: 0.3s;
}
.compact-legend-item:nth-child(4) {
  animation-delay: 0.4s;
}
.compact-legend-item:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-emerald-50 {
  background-color: #ecfdf5;
}

.text-blue-700 {
  color: #1d4ed8;
}

.text-emerald-700 {
  color: #047857;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-blue-600 {
  --tw-gradient-to: #2563eb;
}

.from-emerald-500 {
  --tw-gradient-from: #10b981;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0));
}

.to-emerald-600 {
  --tw-gradient-to: #059669;
}

@media (max-width: 1024px) {
  .matrix-with-legend {
    flex-direction: column;
    max-height: none;
  }
  .matrix-legend-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    max-height: 300px;
  }
  .matrix-content-area {
    max-height: 500px;
  }
}
@media (max-width: 768px) {
  .panel-header {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .panel-content {
    padding: 16px;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-actions {
    flex-direction: column;
  }
  .preview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .preview-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .preview-action-btn {
    flex: 1;
    min-width: auto;
  }
  .view-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .matrix-container.expanded {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .matrix-search-controls {
    padding: 12px 16px;
  }
  .matrix-search-controls .search-input-group {
    max-width: 100%;
  }
  .table-pagination-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .table-pagination-info .pagination-text {
    font-size: 13px;
  }
  .pagination-controls {
    align-self: center;
    gap: 2px;
  }
  .pagination-btn {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
    padding: 0 6px;
  }
  .pagination-ellipsis {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .sequence-header-cell,
  .sticky-sequence-cell {
    width: 150px;
    min-width: 150px;
    font-size: 10px;
    padding: 8px 12px;
  }
  .value-header-cell,
  .value-cell {
    width: 60px;
    min-width: 60px;
    font-size: 9px;
    padding: 8px 4px;
  }
  .sequence-id-header {
    width: 60px !important;
    min-width: 60px !important;
    height: 100px;
  }
  .sequence-id-header .sequence-id-header-text {
    font-size: 9px;
  }
  .sticky-header-row {
    min-height: 100px;
  }
  .sequence-header-cell {
    height: 100px;
  }
}
.toggle-btn:focus,
.action-btn:focus,
.preview-action-btn:focus,
.close-btn:focus,
.pagination-btn:focus {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

.sticky-header-cell:focus,
.sticky-sequence-cell:focus,
.value-cell:focus {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 1px;
}

@media print {
  .modern-download-panel {
    box-shadow: none;
    border: 1px solid #000;
  }
  .panel-header {
    background: white !important;
    color: black !important;
    border-bottom: 2px solid black;
  }
  .toggle-btn, .close-btn, .action-btn, .preview-action-btn {
    display: none;
  }
  .redesigned-sticky-table-container {
    border: 1px solid black;
  }
  .redesigned-sticky-table-container .sticky-header-cell,
  .redesigned-sticky-table-container .sticky-sequence-cell,
  .redesigned-sticky-table-container .value-cell {
    border-color: black !important;
  }
  .sequence-id-header,
  .sticky-sequence-cell {
    background: white !important;
  }
  .sequence-id-header.sample-type-STOOL, .sequence-id-header.sample-type-environmental, .sequence-id-header.sample-type-epidemiological, .sequence-id-header.sample-type-other,
  .sticky-sequence-cell.sample-type-STOOL,
  .sticky-sequence-cell.sample-type-environmental,
  .sticky-sequence-cell.sample-type-epidemiological,
  .sticky-sequence-cell.sample-type-other {
    background: white !important;
    color: black !important;
  }
}
/* SEQUENCE VALIDATION STYLES - CLEAN SCSS VERSION */
/* TAB NAVIGATION STYLES */
.sequence-analysis-tabs .tab-item {
  transition: all 0.2s ease-in-out;
}
.sequence-analysis-tabs .tab-item:hover {
  color: #385cae !important;
  text-decoration: underline;
}
.sequence-analysis-tabs .tab-item.active {
  color: #007bff !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #007bff !important;
  padding-bottom: 0.25rem !important;
}
.sequence-analysis-tabs .tab-item.inactive {
  color: #6c757d !important;
  cursor: pointer;
}

/* Tab content animations */
.tab-content-enter {
  opacity: 0;
  transform: translateX(10px);
}

.tab-content-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}

.tab-content-exit {
  opacity: 1;
}

.tab-content-exit-active {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 300ms, transform 300ms;
}

/* STEP INDICATOR STYLES */
.step-indicator .step-circle {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.step-indicator .step-circle.completed {
  background-color: #57ef7a !important;
  border-color: #3dee66 !important;
  animation: pulse-success 0.6s ease-in-out;
}
.step-indicator .step-circle.current {
  background-color: #007bff !important;
  border-color: #007bff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.step-indicator .progress-line {
  transition: all 0.5s ease-in-out;
}
.step-indicator .progress-line.completed {
  background-color: #007bff !important;
}

/* FILE UPLOAD ZONE STYLES */
.file-upload-zone .upload-dropzone {
  transition: all 0.3s ease-in-out;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.file-upload-zone .upload-dropzone:hover {
  border-color: #007bff !important;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.file-upload-zone .upload-dropzone:hover .upload-icon {
  transform: translateY(-5px);
  color: #007bff !important;
}
.file-upload-zone .upload-dropzone.drag-active {
  border-color: #5bf17e !important;
  background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);
  transform: scale(1.02);
}
.file-upload-zone .upload-dropzone.loading {
  pointer-events: none;
  opacity: 0.7;
}
.file-upload-zone .upload-icon {
  transition: all 0.3s ease-in-out;
}

/* METADATA UPLOAD BUTTON FIXES */
/* Analysis step controls styling */
/* METADATA UPLOAD BUTTON FIXES - STACKED LAYOUT */
/* Analysis step controls styling - MODIFIED FOR VERTICAL STACK */
.analysis-step-controls {
  display: flex;
  flex-direction: column; /* Changed from row to column for stacking */
  align-items: stretch; /* Changed from center to stretch for full width buttons */
  gap: 0.75rem; /* Increased gap for better spacing between stacked buttons */
}
.analysis-step-controls .template-button {
  width: 100%; /* Full width for consistency */
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #17a2b8;
  background: #e2f3f5;
  color: #17a2b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  min-height: 38px; /* Consistent button height */
}
.analysis-step-controls .template-button:hover {
  background: #17a2b8;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(23, 162, 184, 0.25);
}
.analysis-step-controls .template-button:focus {
  outline: 2px solid rgba(23, 162, 184, 0.25);
  outline-offset: 2px;
}
.analysis-step-controls .template-button:active {
  transform: translateY(0);
}
.analysis-step-controls .guide-button {
  width: 100%; /* Full width for consistency */
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #17a2b8;
  background: #e2f3f5;
  color: #17a2b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  min-height: 38px; /* Consistent button height */
}
.analysis-step-controls .guide-button:hover {
  background: #17a2b8;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(23, 162, 184, 0.25);
}
.analysis-step-controls .guide-button:focus {
  outline: 2px solid rgba(23, 162, 184, 0.25);
  outline-offset: 2px;
}
.analysis-step-controls .guide-button:active {
  transform: translateY(0);
}
.analysis-step-controls .file-upload-wrapper {
  position: relative;
  display: block; /* Changed from inline-block */
  width: 100%; /* Full width */
}
.analysis-step-controls .file-upload-wrapper .file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.analysis-step-controls .file-upload-wrapper .file-input:disabled {
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper .upload-button {
  width: 100%; /* Full width for consistency */
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  pointer-events: none;
  min-height: 38px; /* Consistent button height - matches other buttons */
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-primary {
  border-color: #007bff;
  background: #007bff;
  color: white;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-primary:not(:disabled):hover {
  background: #0056b3;
  border-color: #0056b3;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-success {
  border-color: #28a745;
  background: #28a745;
  color: white;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-success:not(:disabled):hover {
  background: #1e7e34;
  border-color: #1e7e34;
}
.analysis-step-controls .file-upload-wrapper .upload-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-loading {
  opacity: 0.8;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-loading .fa-spin {
  animation: spin 1s linear infinite;
}
.analysis-step-controls .file-upload-wrapper:hover:not(.disabled) .upload-button {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.analysis-step-controls .file-upload-wrapper.disabled .file-input {
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper.disabled .upload-button {
  opacity: 0.6;
  cursor: not-allowed;
}

/* RESPONSIVE IMPROVEMENTS - Now applies to all screen sizes */
@media (max-width: 1200px) {
  .analysis-step-controls {
    /* Stack layout is now default, so no changes needed */
    gap: 0.75rem;
  }
}
@media (max-width: 768px) {
  .analysis-step-controls {
    gap: 0.75rem;
  }
  .analysis-step-controls .template-button,
  .analysis-step-controls .guide-button,
  .analysis-step-controls .upload-button {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    min-height: 36px; /* Slightly smaller for mobile */
  }
}
@media (max-width: 576px) {
  .analysis-step-controls {
    gap: 0.5rem;
  }
  .analysis-step-controls .template-button,
  .analysis-step-controls .guide-button,
  .analysis-step-controls .upload-button {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
    min-height: 34px; /* Even smaller for small mobile */
  }
}
/* ENSURE BUTTON CONSISTENCY IN THE METADATA STEP CARD */
.analysis-step-card {
  /* Ensure the metadata upload section has enough space */
}
.analysis-step-card .card-body {
  /* Ensure consistent padding that accommodates stacked buttons */
  min-height: auto;
}
.analysis-step-card.metadata-step .ms-auto {
  width: 100%;
  max-width: 200px; /* Reasonable max width for buttons */
}

/* BUTTON HOVER STATES */
.analysis-step-controls button:hover:not(:disabled),
.analysis-step-controls .upload-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.analysis-step-controls button:active:not(:disabled),
.analysis-step-controls .upload-button:active:not(:disabled) {
  transform: translateY(0);
}
.analysis-step-controls button:focus,
.analysis-step-controls .upload-button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ACCESSIBILITY IMPROVEMENTS */
.file-upload-wrapper:focus-within .upload-button {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ANIMATION KEYFRAMES */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* HIGH CONTRAST MODE SUPPORT */
@media (prefers-contrast: high) {
  .analysis-step-controls .template-button,
  .analysis-step-controls .guide-button,
  .analysis-step-controls .upload-button {
    border-width: 2px !important;
  }
}
/* REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
  .analysis-step-controls * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Step button consistency */
.step-button {
  min-width: 120px;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  border-radius: 1.5rem !important;
}
.step-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.step-button.running {
  background: linear-gradient(45deg, #007bff 0%, #0056b3 100%);
  animation: pulse 2s infinite;
}
.step-button.btn-loading .fa-spin {
  animation: spin 1s linear infinite;
}

/* Analysis step card improvements */
.analysis-step-card {
  transition: all 0.3s ease-in-out;
  border-radius: 0.75rem !important;
  overflow: hidden;
}
.analysis-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.analysis-step-card.completed {
  border-color: #28a745 !important;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}
.analysis-step-card.can-run {
  border-color: #007bff !important;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}
.analysis-step-card.disabled {
  opacity: 0.6;
  background: #f8f9fa;
}

/* Step icon animations */
.step-icon {
  transition: all 0.3s ease-in-out;
}
.step-icon.completed {
  color: #28a745 !important;
  animation: bounce 0.6s ease-in-out;
}
.step-icon.can-run {
  color: #007bff !important;
}
.step-icon.disabled {
  color: #6c757d !important;
}

/* Responsive adjustments for metadata upload */
@media (max-width: 768px) {
  .analysis-step-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .analysis-step-controls .template-button,
  .analysis-step-controls .file-upload-wrapper {
    width: 100%;
  }
  .analysis-step-controls .upload-button {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .analysis-step-controls .template-button {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
  .analysis-step-controls .upload-button {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    min-width: 100px;
  }
}
/* Loading state improvements */
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading .spinner-border,
.btn-loading .fa-spin {
  width: 1rem;
  height: 1rem;
  border-width: 0.1em;
}

/* Accessibility improvements */
.file-upload-wrapper:focus-within .upload-button {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Animation keyframes */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}
/* SEQUENCING LAB SELECTION STYLES */
.seq-lab-selection .react-select__control {
  border-radius: 0.5rem !important;
  border: 1px solid #ced4da !important;
  min-height: 42px !important;
  transition: all 0.2s ease-in-out;
}
.seq-lab-selection .react-select__control:hover {
  border-color: #80bdff !important;
  box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.1);
}
.seq-lab-selection .react-select__control--is-focused {
  border-color: #80bdff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}
.seq-lab-selection .react-select__menu {
  border-radius: 0.5rem !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;
  border: 1px solid #e9ecef !important;
}
.seq-lab-selection .react-select__option {
  transition: all 0.2s ease-in-out;
}
.seq-lab-selection .react-select__option--is-focused {
  background-color: rgba(0, 123, 255, 0.1) !important;
}
.seq-lab-selection .react-select__option--is-selected {
  background-color: #007bff !important;
}

/* REDESIGNED SEQUENCE RESULTS LAYOUT */
/* Main container for sequence cards */
.sequence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Individual sequence card redesigned */
.sequence-card-redesigned {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  position: relative;
}
.sequence-card-redesigned:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.sequence-card-redesigned.selected {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}
.sequence-card-redesigned.selectable {
  cursor: pointer;
}
.sequence-card-redesigned.selectable:hover {
  border-color: #28a745;
}
.sequence-card-redesigned.selectable:hover .card-header-redesigned {
  background: #f0f8f0;
}
.sequence-card-redesigned.no-collection-date {
  border-left: 4px solid #ffc107;
}
.sequence-card-redesigned.loading {
  opacity: 0.7;
  pointer-events: none;
}
.sequence-card-redesigned.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Card header with sequence name */
.card-header-redesigned {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f1f3f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
  transition: background-color 0.2s ease-in-out;
}
.card-header-redesigned .sequence-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: break-word;
}
.card-header-redesigned .selection-indicator {
  color: #007bff;
  font-size: 1.1rem;
}

/* Results sections container */
.results-section {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f3f4;
  animation: fadeInUp 0.3s ease-out;
}
.results-section:last-of-type {
  border-bottom: none;
}

/* Section headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Genotyping section specific styling */
.genotyping-section .section-title {
  color: #1976d2;
}
.genotyping-section .section-icon {
  color: #1976d2;
}

/* PONS section specific styling */
.pons-section .section-title {
  color: #2e7d32;
}
.pons-section .section-icon {
  color: #2e7d32;
}

/* Status badge (Updated) */
.status-badge.updated {
  background: #4caf50;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
}

/* Results grid layout */
.results-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.result-row.full-width-row {
  grid-template-columns: 1fr;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.result-item.full-width {
  grid-column: 1/-1;
}

.result-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.result-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  word-break: break-word;
}

/* Specific value type styling */
.genotype-value {
  color: #1976d2;
  font-weight: 700;
}

.serotype-value {
  color: #1976d2;
  font-weight: 700;
}

.diff-value {
  color: #f57c00;
  font-weight: 700;
}

.identifier-value {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  background: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #2e7d32;
}

.epid-value {
  color: #2e7d32;
  font-weight: 700;
}

.filename-value {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  background: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #424242;
}

.cluster-value,
.locality-value {
  color: #2e7d32;
  font-weight: 600;
}

.date-value {
  color: #424242;
}

/* Strain indicators */
.strain-indicators {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.strain-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-weight: 500;
}
.strain-badge.sabin {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.strain-badge.reference {
  background: #fff3e0;
  color: #f57c00;
  border: 1px solid #ffcc02;
}

/* No data message */
.no-data-message {
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 1rem 0;
}

/* Status section */
.status-section {
  padding: 1rem 1.25rem;
  background: #fafbfc;
  border-top: 1px solid #f1f3f4;
}

/* Status badge circles */
.status-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.status-badge-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
}
.status-badge-circle.completed {
  background-color: #4caf50;
  border-color: #4caf50;
}
.status-badge-circle.pending {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

/* Analysis checklist */
.analysis-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checklist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6c757d;
}
.checklist-item .check-icon {
  font-weight: 600;
}
.checklist-item .check-icon.completed {
  color: #4caf50;
}
.checklist-item .check-icon.pending {
  color: #e0e0e0;
}

/* Collection status */
.collection-status {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-top: 1px solid #f1f3f4;
}
.collection-status.has-date {
  background: #e8f5e8;
  color: #2e7d32;
}
.collection-status.has-date .status-icon {
  color: #4caf50;
}
.collection-status.no-date {
  background: #fff8e1;
  color: #f57c00;
}
.collection-status.no-date .status-icon {
  color: #ff9800;
}

/* Card actions */
.card-actions {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid #f1f3f4;
  background: #ffffff;
}

.action-button {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
}
.action-button.primary {
  background: #007bff;
  border-color: #007bff;
  color: white;
}
.action-button.primary:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-1px);
}
.action-button.secondary {
  background: white;
  border-color: #17a2b8;
  color: #17a2b8;
}
.action-button.secondary:hover {
  background: #17a2b8;
  color: white;
  transform: translateY(-1px);
}
.action-button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Sequence count notice */
.sequence-count-notice {
  text-align: right;
  margin-top: 1.5rem;
  color: #6c757d;
}

/* MSA VIEWER STYLES */
.msa-viewer-container {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}
.msa-viewer-container .msa-header {
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.msa-viewer-container .msa-content {
  background: #f8f9fa;
  border-radius: 0.375rem;
  min-height: 200px;
  padding: 0.5rem;
  overflow-x: auto;
}

/* UPLOAD MODE STYLES */
.upload-mode-controls {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.upload-mode-controls .upload-mode-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0c5460;
  font-weight: 500;
}
.upload-mode-controls .upload-mode-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.upload-mode-controls .upload-mode-buttons .btn {
  border-radius: 1.25rem;
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  transition: all 0.2s ease-in-out;
}
.upload-mode-controls .upload-mode-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* MODAL STYLES */
.sequence-modal .modal-content {
  border-radius: 1rem !important;
  border: none !important;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.sequence-modal .modal-header {
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 1rem 1rem 0 0 !important;
}
.sequence-modal .modal-header .modal-title {
  font-weight: 600;
  color: #495057;
}
.sequence-modal .modal-body {
  padding: 1.5rem;
}
.sequence-modal .modal-footer {
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 0 0 1rem 1rem !important;
}

/* EDIT METADATA FORM STYLES */
.edit-metadata-form .form-group {
  margin-bottom: 1.5rem;
}
.edit-metadata-form .form-group .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}
.edit-metadata-form .form-group .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 0.75rem;
  transition: all 0.2s ease-in-out;
}
.edit-metadata-form .form-group .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.edit-metadata-form .form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 2rem;
}
.edit-metadata-form .form-actions .btn {
  border-radius: 1.25rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease-in-out;
}
.edit-metadata-form .form-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* TOP HITS TABLE STYLES */
.top-hits-table .table {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.top-hits-table .table thead th {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding: 1rem 0.75rem;
}
.top-hits-table .table tbody tr {
  transition: all 0.2s ease-in-out;
}
.top-hits-table .table tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
  cursor: pointer;
}
.top-hits-table .table tbody tr.selected {
  background-color: rgba(0, 123, 255, 0.1);
  box-shadow: inset 3px 0 0 #007bff;
}
.top-hits-table .table td {
  padding: 0.75rem;
  border-color: #e9ecef;
  vertical-align: middle;
}
.top-hits-table .pagination-info {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

/* PHYLOGENETIC TREE STYLES */
.phylo-tree-container {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.phylo-tree-container .phylo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.phylo-tree-container .phylo-header h5 {
  margin: 0;
  font-weight: 600;
  color: #495057;
}
.phylo-tree-container .phylo-filters {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.phylo-tree-container .phylo-filters .filter-section {
  margin-bottom: 1rem;
}
.phylo-tree-container .phylo-filters .filter-section:last-child {
  margin-bottom: 0;
}
.phylo-tree-container .phylo-filters .filter-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* ANIMATIONS */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}
@keyframes pulse-success {
  0% {
    background-color: transparent;
    transform: scale(1);
  }
  50% {
    background-color: rgba(40, 167, 69, 0.1);
    transform: scale(1.02);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

/* LOADING STATES */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  z-index: 10;
}

.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.1em;
}

/* ALERT STYLES */
.alert {
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.alert.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #721c24;
  border-left: 4px solid #dc3545;
}
.alert.alert-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #155724;
  border-left: 4px solid #28a745;
}
.alert.alert-info {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}
.alert.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #856404;
  border-left: 4px solid #ffc107;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .sequence-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}
@media (max-width: 768px) {
  .sequence-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sequence-card-redesigned {
    margin-bottom: 1rem;
  }
  .result-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .result-item.full-width {
    grid-column: 1;
  }
  .card-actions {
    flex-direction: column;
  }
  .card-actions .action-button {
    width: 100%;
  }
  .upload-mode-controls .upload-mode-buttons {
    justify-content: center;
  }
  .upload-mode-controls .upload-mode-buttons .btn {
    flex: 1;
    min-width: 100px;
  }
  .analysis-controls {
    margin-bottom: 2rem;
  }
  .analysis-controls .analysis-step-card {
    margin-bottom: 1rem;
  }
  .sequence-analysis-tabs .tab-item {
    font-size: 0.875rem;
    margin-right: 1rem;
  }
}
@media (max-width: 576px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card-header-redesigned,
  .results-section,
  .status-section,
  .collection-status,
  .card-actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sequence-name {
    font-size: 0.9rem;
  }
  .section-label {
    font-size: 0.8rem;
  }
  .result-label {
    font-size: 0.7rem;
  }
  .result-value {
    font-size: 0.8rem;
  }
  .edit-metadata-form .form-actions {
    flex-direction: column;
  }
  .edit-metadata-form .form-actions .btn {
    width: 100%;
  }
  .top-hits-table .table {
    font-size: 0.875rem;
  }
  .step-indicator .step-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.875rem;
  }
  .step-indicator small {
    font-size: 0.75rem;
  }
}
/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .sequence-card-redesigned {
    border-width: 2px !important;
  }
  .btn, .action-button {
    border-width: 2px !important;
  }
  .alert {
    border-width: 2px !important;
  }
}
/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.sequence-card-redesigned:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* UTILITY CLASSES */
.cursor-pointer {
  cursor: pointer !important;
}

.transition-all {
  transition: all 0.3s ease-in-out;
}

.shadow-hover:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.border-radius-lg {
  border-radius: 0.75rem !important;
}

.text-gradient {
  background: linear-gradient(45deg, #007bff, #28a745);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LEGACY SUPPORT */
.phylo-box {
  background-color: white;
  border: dashed rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border-width: 1.5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.badge-small {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
}

.seq-lab-select {
  flex-grow: 1;
}

.validate-container {
  margin-top: 7rem;
}

/* Original pagination styles - keep for compatibility */
.pagination {
  color: #4183ec;
}
.pagination .page-item {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}
.pagination .page-item.active .active-page {
  background-color: #4183ec;
  border-color: #4183ec;
  opacity: 0.85;
}
.pagination .page-item:first-child .page-link {
  border-radius: 0;
}
.pagination .page-item:last-child .page-link {
  border-radius: 0;
}
.pagination .page-ul {
  margin: 0px;
}

.metadata-date-picker__calendar {
  z-index: 10000 !important;
  position: relative;
}

.header-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}
.header-actions .btn {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}
.header-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-actions .btn.btn-outline-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  color: white;
  text-align: center;
}
.header-actions .btn.btn-outline-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.header-actions .btn.btn-outline-primary:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}
.react-date-picker__wrapper {
  border: none;
}
.genotype-history {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
}
.genotype-history.is-open {
  max-height: 300px;
  overflow-y: auto;
}

.genotype-history-title {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #495057;
}

.genotype-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.genotype-history-item {
  padding: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}
.genotype-history-item:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.genotype-history-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.genotype-history-date {
  font-weight: 500;
}

.genotype-history-user {
  font-style: italic;
}

.genotype-history-change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.9rem;
}

.genotype-history-old {
  color: #dc3545;
  text-decoration: line-through;
}

.genotype-history-arrow {
  color: #6c757d;
  font-weight: bold;
}

.genotype-history-new {
  color: #28a745;
  font-weight: bold;
}

.genotype-history-comment {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-left: 3px solid #17a2b8;
  font-size: 0.875rem;
  color: #495057;
}
.genotype-history-comment small {
  display: block;
}
.json-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.json-modal {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.json-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.json-modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.json-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.json-modal-close:hover {
  background-color: #f5f5f5;
  color: #333;
}
.json-modal-close:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.json-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.genotype-comparison {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}
.genotype-comparison .genotype-field {
  padding: 8px 0;
  font-size: 14px;
}
.genotype-comparison .genotype-field strong {
  color: #495057;
  margin-right: 8px;
}
.genotype-comparison .genotype-field:first-child {
  padding-top: 0;
}
.genotype-comparison .genotype-field:last-child {
  padding-bottom: 0;
}

.json-display {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.json-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid #e0e0e0;
}
.json-modal-footer .btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.json-modal-footer .btn:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}
.json-modal-footer .btn-primary {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
.json-modal-footer .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
.json-modal-footer .btn-secondary {
  background-color: #6c757d;
  color: white;
  border-color: #6c757d;
}
.json-modal-footer .btn-secondary:hover {
  background-color: #545b62;
  border-color: #545b62;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .json-modal {
    width: 95%;
    max-height: 90vh;
  }
  .json-modal-header,
  .json-modal-body,
  .json-modal-footer {
    padding: 16px;
  }
  .json-modal-title {
    font-size: 1.25rem;
  }
}
/* FIXED PAGINATION STYLES */
.sequence-pagination-wrapper {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  /* Header section with info and per-page selector */
  /* Navigation section */
  /* Responsive Design */
}
.sequence-pagination-wrapper .pagination-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
  gap: 1rem;
}
.sequence-pagination-wrapper .pagination-header .pagination-info {
  flex: 1;
  min-width: 200px;
}
.sequence-pagination-wrapper .pagination-header .pagination-info .pagination-text {
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
  line-height: 1.4;
}
.sequence-pagination-wrapper .pagination-header .pagination-info .pagination-text strong {
  color: #2c3e50;
  font-weight: 600;
}
.sequence-pagination-wrapper .pagination-header .pagination-per-page {
  flex-shrink: 0;
}
.sequence-pagination-wrapper .pagination-header .pagination-per-page .per-page-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  font-weight: 500;
  white-space: nowrap;
}
.sequence-pagination-wrapper .pagination-header .pagination-per-page .per-page-label .per-page-select {
  min-width: 70px;
  padding: 0.375rem 1.75rem 0.375rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background: #fff;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.sequence-pagination-wrapper .pagination-header .pagination-per-page .per-page-label .per-page-select:focus {
  border-color: #4dabf7;
  box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
  outline: none;
}
.sequence-pagination-wrapper .pagination-header .pagination-per-page .per-page-label .per-page-select:hover {
  border-color: #4dabf7;
}
.sequence-pagination-wrapper .pagination-navigation {
  display: flex;
  justify-content: center;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-item {
  position: relative;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-item:not(:last-child) {
  border-right: 1px solid #e9ecef;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-item.disabled .page-button {
  color: #adb5bd;
  cursor: not-allowed;
  background: #f8f9fa;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-item.disabled .page-button:hover {
  background: #f8f9fa;
  transform: none;
  box-shadow: none;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-item.active .page-button {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.3);
  z-index: 1;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button {
  padding: 0.75rem 1rem;
  border: none;
  background: #fff;
  color: #495057;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  color: #4dabf7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(77, 171, 247, 0.15);
  z-index: 1;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
  z-index: 2;
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button:active:not(:disabled) {
  transform: translateY(0);
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button.page-button-active {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.3);
}
.sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-ellipsis {
  padding: 0.75rem 1rem;
  color: #6c757d;
  font-size: 0.875rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 768px) {
  .sequence-pagination-wrapper {
    padding: 1rem;
  }
  .sequence-pagination-wrapper .pagination-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .sequence-pagination-wrapper .pagination-header .pagination-info {
    min-width: auto;
  }
  .sequence-pagination-wrapper .pagination-header .pagination-info .pagination-text {
    font-size: 0.85rem;
  }
  .sequence-pagination-wrapper .pagination-header .pagination-per-page {
    align-self: center;
  }
  .sequence-pagination-wrapper .pagination-header .pagination-per-page .per-page-label {
    justify-content: center;
    font-size: 0.8rem;
  }
  .sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    min-width: 40px;
    min-height: 40px;
  }
  .sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-ellipsis {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    min-width: 40px;
    min-height: 40px;
  }
}
@media (max-width: 576px) {
  .sequence-pagination-wrapper .pagination-navigation {
    overflow-x: auto;
    padding: 0.25rem 0;
  }
  .sequence-pagination-wrapper .pagination-navigation .pagination-controls {
    min-width: 400px;
    flex-wrap: nowrap;
  }
  .sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-button {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
    min-width: 36px;
    min-height: 36px;
  }
  .sequence-pagination-wrapper .pagination-navigation .pagination-controls .page-ellipsis {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
    min-width: 36px;
    min-height: 36px;
  }
}

/* Loading State */
.pagination-loading .sequence-pagination-wrapper {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.pagination-loading .sequence-pagination-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #4dabf7;
  border-radius: 50%;
  animation: pagination-spin 1s linear infinite;
}

/* Animations */
@keyframes pagination-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .sequence-pagination-wrapper {
    border-width: 2px;
  }
  .sequence-pagination-wrapper .pagination-controls .page-button {
    border: 1px solid currentColor;
  }
}
/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .sequence-pagination-wrapper * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Focus Styles for Keyboard Navigation */
.sequence-pagination-wrapper .page-button:focus-visible {
  outline: 2px solid #4dabf7;
  outline-offset: 2px;
}
.sequence-pagination-wrapper .per-page-select:focus-visible {
  outline: 2px solid #4dabf7;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .sequence-pagination-wrapper {
    display: none;
  }
}
.metadata-edit-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.metadata-edit-modal__container {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}
.metadata-edit-modal__container--calendar-open {
  max-width: 550px;
  max-height: 75vh;
  min-height: 550px;
  overflow: visible;
}
.metadata-edit-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.metadata-edit-modal__title {
  margin: 0;
  font-weight: 600;
  color: #1a1a1a;
}
.metadata-edit-modal__close-button {
  background: transparent;
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.2s ease;
}
.metadata-edit-modal__close-button:hover {
  background-color: #f8f9fa;
  border-color: #495057;
  color: #495057;
}
.metadata-edit-modal__field-container {
  margin-bottom: 1rem;
}
.metadata-edit-modal__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}
.metadata-edit-modal__textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  outline: none;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.metadata-edit-modal__textarea:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}
.metadata-edit-modal__textarea::placeholder {
  color: #6c757d;
}
.metadata-edit-modal__textarea--error {
  border-color: #dc3545;
}
.metadata-edit-modal__textarea--error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}
.metadata-edit-modal__input {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  outline: none;
  transition: border-color 0.2s ease;
}
.metadata-edit-modal__input:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}
.metadata-edit-modal__input::placeholder {
  color: #6c757d;
}
.metadata-edit-modal__input--error {
  border-color: #dc3545;
}
.metadata-edit-modal__input--error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}
.metadata-edit-modal__error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 0.25rem;
  color: #721c24;
}
.metadata-edit-modal__error-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}
.metadata-edit-modal__error-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.metadata-edit-modal__help-text {
  color: #6c757d;
  margin-top: 0.25rem;
  display: block;
  font-size: 0.75rem;
}
.metadata-edit-modal__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.metadata-edit-modal__button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid;
}
.metadata-edit-modal__button--cancel {
  border-color: #6c757d;
  background: white;
  color: #6c757d;
}
.metadata-edit-modal__button--cancel:hover {
  background-color: #f8f9fa;
  border-color: #495057;
  color: #495057;
}
.metadata-edit-modal__button--save {
  border-color: #2196f3;
  background: #2196f3;
  color: white;
}
.metadata-edit-modal__button--save:hover:not(.metadata-edit-modal__button--save--disabled) {
  background-color: #1976d2;
  border-color: #1976d2;
}
.metadata-edit-modal__button--save--disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.65;
}
.metadata-edit-modal__button--save--disabled:hover {
  background-color: #6c757d;
  border-color: #6c757d;
}

.metadata-date-picker {
  width: 100%;
  position: relative;
  z-index: 10;
}
.metadata-date-picker .react-date-picker__wrapper {
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
  padding: 0.75rem;
  background: white;
  transition: border-color 0.2s ease;
}
.metadata-date-picker .react-date-picker__wrapper:focus-within {
  border-color: #2196f3 !important;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}
.metadata-date-picker--error .react-date-picker__wrapper {
  border-color: #dc3545 !important;
}
.metadata-date-picker--error .react-date-picker__wrapper:focus-within {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}
.metadata-date-picker .react-date-picker__inputGroup input {
  border: none !important;
  outline: none !important;
  font-size: 0.875rem;
  padding: 0;
  margin: 0;
  background: transparent;
}
.metadata-date-picker .react-date-picker__button {
  border: none !important;
  background: transparent !important;
}
.metadata-date-picker .react-date-picker__button svg {
  stroke: #6c757d;
}
.metadata-date-picker .react-date-picker__calendar {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
}

.metadata-date-picker__calendar.react-calendar {
  width: 100%;
  max-width: none;
  background: white;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  line-height: 1.125em;
  margin-top: 0.5rem;
  padding: 1rem;
}
.metadata-date-picker__calendar.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
  transition: all 0.2s ease;
}
.metadata-date-picker__calendar.react-calendar button:enabled {
  cursor: pointer;
}
.metadata-date-picker__calendar.react-calendar button:enabled:hover {
  background-color: #e3f2fd;
}
.metadata-date-picker__calendar.react-calendar button:enabled:focus {
  background-color: #e3f2fd;
}
.metadata-date-picker__calendar.react-calendar button:disabled {
  background-color: #f5f5f5;
  color: #999;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__navigation button {
  min-width: 44px;
  background: none;
  font-size: 16px;
  font-weight: 500;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__navigation button:enabled:hover, .metadata-date-picker__calendar.react-calendar .react-calendar__navigation button:enabled:focus {
  background-color: #e3f2fd;
  border-radius: 0.25rem;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__navigation button:disabled {
  background-color: #f5f5f5;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__navigation .react-calendar__navigation__label {
  font-weight: 600;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75em;
  color: #6c757d;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__weekdays .react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__weekdays .react-calendar__month-view__weekdays__weekday abbr {
  text-decoration: none;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__days__day {
  border-radius: 0.25rem;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__days__day--weekend {
  color: #d32f2f;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__month-view__days__day--neighboringMonth {
  color: #999;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile {
  max-width: 100%;
  padding: 10px 6px;
  background: none;
  text-align: center;
  line-height: 16px;
  border-radius: 0.25rem;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile:enabled:hover, .metadata-date-picker__calendar.react-calendar .react-calendar__tile:enabled:focus {
  background-color: #e3f2fd;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile--now {
  background: #ffeb3b;
  color: #000;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile--now:enabled:hover, .metadata-date-picker__calendar.react-calendar .react-calendar__tile--now:enabled:focus {
  background: #fdd835;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile--active {
  background: #2196f3;
  color: white;
}
.metadata-date-picker__calendar.react-calendar .react-calendar__tile--active:enabled:hover, .metadata-date-picker__calendar.react-calendar .react-calendar__tile--active:enabled:focus {
  background: #1976d2;
}
/* ========================================================================
   ENHANCED SEQUENCE LIST STYLES WITH PAGINATION
   ======================================================================== */
/* SEQUENCE LIST WRAPPER */
.sequence-list-wrapper {
  position: relative;
}

/* SEARCH AND FILTER CONTROLS */
.sequence-controls {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.sequence-controls .search-input-wrapper {
  position: relative;
}
.sequence-controls .search-input-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
  pointer-events: none;
}
.sequence-controls .search-input-wrapper .form-control {
  padding-left: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  transition: all 0.2s ease-in-out;
}
.sequence-controls .search-input-wrapper .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
}
.sequence-controls .form-select {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  transition: all 0.2s ease-in-out;
}
.sequence-controls .form-select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.sequence-controls .view-mode-toggle .btn {
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}
.sequence-controls .view-mode-toggle .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.sequence-controls .view-mode-toggle .btn.btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-color: #007bff;
}

/* RESULTS SUMMARY */
.results-summary {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}
.results-summary .text-muted {
  font-size: 0.875rem;
}
.results-summary .btn-outline-secondary {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* MAIN CONTAINER */
.sequence-list-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.sequence-list-container.list-view {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.sequence-list-container.list-view .sequence-card-enhanced {
  display: flex;
  flex-direction: row;
  min-height: auto;
}
.sequence-list-container.list-view .sequence-card-enhanced .card-header-enhanced {
  min-width: 250px;
  border-bottom: none;
  border-right: 1px solid #f1f3f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.sequence-list-container.list-view .sequence-card-enhanced .card-body-enhanced {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  .sequence-list-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .sequence-list-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sequence-list-container.list-view .sequence-card-enhanced {
    flex-direction: column;
  }
  .sequence-list-container.list-view .sequence-card-enhanced .card-header-enhanced {
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid #f1f3f4;
  }
}

/* ENHANCED SEQUENCE CARD */
.sequence-card-enhanced {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  position: relative;
}
.sequence-card-enhanced:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.sequence-card-enhanced.selectable {
  cursor: pointer;
}
.sequence-card-enhanced.selectable:hover {
  transform: translateY(-1px);
  border-color: #28a745;
}
.sequence-card-enhanced.selectable:hover .card-header-enhanced {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}
.sequence-card-enhanced.selected {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}
.sequence-card-enhanced.no-collection-date {
  border-left: 4px solid #ffc107;
}
.sequence-card-enhanced.no-collection-date:hover {
  border-left-color: #ffc107;
}
.sequence-card-enhanced.loading {
  opacity: 0.7;
  pointer-events: none;
}
.sequence-card-enhanced.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ENHANCED CARD HEADER */
.card-header-enhanced {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f1f3f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
  transition: background-color 0.2s ease-in-out;
}
.card-header-enhanced .sequence-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: break-word;
  flex: 1;
}
.card-header-enhanced .sequence-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.card-header-enhanced .selection-indicator {
  color: #007bff;
  font-size: 1.1rem;
  animation: fadeIn 0.3s ease-in-out;
}

/* STATUS BADGES */
.status-badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.status-badge.badge-info {
  background: #17a2b8;
  color: white;
}
.status-badge.badge-warning {
  background: #ffc107;
  color: #212529;
}
.status-badge.badge-success {
  background: #28a745;
  color: white;
}
.status-badge.badge-updated {
  background: #4caf50;
  color: white;
  animation: pulse 1s ease-in-out;
}

/* CARD BODY */
.card-body-enhanced {
  padding: 1rem 1.25rem;
}

/* EDIT METADATA BUTTON */
.edit-metadata-section {
  margin-bottom: 1rem;
}
.edit-metadata-section .edit-metadata-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #007bff;
  background: transparent;
  color: #007bff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
}
.edit-metadata-section .edit-metadata-btn:hover {
  background: #007bff;
  color: white;
  transform: translateY(-1px);
}
.edit-metadata-section .edit-metadata-btn:focus {
  outline: 2px solid rgba(0, 123, 255, 0.25);
  outline-offset: 2px;
}

/* ENHANCED METADATA GRID */
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .metadata-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.metadata-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
}
.metadata-item:hover {
  background: rgba(0, 123, 255, 0.02);
}
.metadata-item .metadata-icon {
  color: #6c757d;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.metadata-item .metadata-content {
  min-width: 0;
}
.metadata-item .metadata-content .metadata-label {
  font-size: 0.75rem;
  color: #6c757d;
  display: block;
  line-height: 1.2;
}
.metadata-item .metadata-content .metadata-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: break-word;
}
.metadata-item.warning .metadata-icon {
  color: #dc3545;
}
.metadata-item.warning .metadata-value {
  color: #dc3545;
  font-weight: 600;
}

/* RESULTS SECTIONS */
.results-section {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  animation: fadeInUp 0.3s ease-out;
}
.results-section:last-child {
  margin-bottom: 0;
}
.results-section.genotyping-section .section-header {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}
.results-section.genotyping-section .section-header .section-title {
  color: #1976d2;
}
.results-section.genotyping-section .section-header .section-icon {
  color: #1976d2;
}
.results-section.pons-section .section-header {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}
.results-section.pons-section .section-header .section-title {
  color: #2e7d32;
}
.results-section.pons-section .section-header .section-icon {
  color: #2e7d32;
}

.section-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-header .section-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-header .section-title-group .section-icon {
  font-size: 1rem;
}
.section-header .section-title-group .section-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.section-header .section-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-content {
  padding: 1rem;
}

/* RESULT GRIDS */
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
@media (max-width: 576px) {
  .result-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.result-item .result-label {
  font-size: 0.75rem;
  color: #6c757d;
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.result-item .result-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: break-word;
}
.result-item .result-value.highlighted {
  color: #007bff;
}
.result-item .result-value.temporary-edit {
  color: #007bff;
  position: relative;
}
.result-item .result-value.temporary-edit::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: #007bff;
  opacity: 0.5;
}

/* EMPTY STATE STYLING */
.empty-results {
  text-align: center;
  padding: 3rem 2rem;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 0.75rem;
  border: 2px dashed #dee2e6;
  margin: 2rem 0;
}
.empty-results .empty-icon {
  font-size: 3rem;
  color: #adb5bd;
  margin-bottom: 1rem;
}
.empty-results h5 {
  color: #495057;
  margin-bottom: 0.5rem;
}
.empty-results p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.empty-results .btn {
  border-radius: 1.5rem;
  padding: 0.5rem 1.5rem;
}

/* ANALYSIS STEP CONTROLS */
.analysis-step-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.analysis-step-controls .template-button {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #17a2b8;
  background: transparent;
  color: #17a2b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}
.analysis-step-controls .template-button:hover {
  background: #17a2b8;
  color: white;
  transform: translateY(-1px);
}
.analysis-step-controls .template-button:focus {
  outline: 2px solid rgba(23, 162, 184, 0.25);
  outline-offset: 2px;
}
.analysis-step-controls .file-upload-wrapper {
  position: relative;
  display: inline-block;
}
.analysis-step-controls .file-upload-wrapper .file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.analysis-step-controls .file-upload-wrapper .file-input:disabled {
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper .upload-button {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  pointer-events: none;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-primary {
  border-color: #007bff;
  background: #007bff;
  color: white;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-primary:not(:disabled):hover {
  background: #0056b3;
  border-color: #0056b3;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-success {
  border-color: #28a745;
  background: #28a745;
  color: white;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-success:not(:disabled):hover {
  background: #1e7e34;
  border-color: #1e7e34;
}
.analysis-step-controls .file-upload-wrapper .upload-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-loading {
  opacity: 0.8;
}
.analysis-step-controls .file-upload-wrapper .upload-button.btn-loading .fa-spin {
  animation: spin 1s linear infinite;
}
.analysis-step-controls .file-upload-wrapper:hover:not(.disabled) .upload-button {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.analysis-step-controls .file-upload-wrapper.disabled .file-input {
  cursor: not-allowed;
}
.analysis-step-controls .file-upload-wrapper.disabled .upload-button {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ACTION BUTTONS */
.action-button {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  text-decoration: none;
}
.action-button:focus {
  outline: 2px solid;
  outline-offset: 2px;
}
.action-button.btn-primary {
  border-color: #17a2b8;
  background: #17a2b8;
  color: white;
}
.action-button.btn-primary:hover {
  background: #138496;
  border-color: #138496;
  transform: translateY(-1px);
}
.action-button.btn-primary:focus {
  outline-color: rgba(23, 162, 184, 0.25);
}
.action-button.btn-secondary {
  border-color: #6c757d;
  background: white;
  color: #6c757d;
}
.action-button.btn-secondary:hover {
  background: #6c757d;
  color: white;
  transform: translateY(-1px);
}
.action-button.btn-secondary:focus {
  outline-color: rgba(108, 117, 125, 0.25);
}
.action-button.btn-success {
  border-color: #2e7d32;
  background: #2e7d32;
  color: white;
}
.action-button.btn-success:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  transform: translateY(-1px);
}
.action-button.btn-success:focus {
  outline-color: rgba(46, 125, 50, 0.25);
}
.action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* GENOTYPE EDIT CONTROLS */
.genotype-edit-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.genotype-edit-controls .local-edit-badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  background: #ffc107;
  color: #212529;
  font-weight: 500;
  white-space: nowrap;
}
.genotype-edit-controls .update-status {
  margin-top: 0.25rem;
}
.genotype-edit-controls .update-status .error-message {
  color: #dc3545;
  font-size: 0.875rem;
}
.genotype-edit-controls .update-status .success-message {
  color: #28a745;
  font-size: 0.875rem;
  font-weight: 500;
}

/* GENOTYPE EDIT MODAL */
.genotype-edit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-in-out;
}

.genotype-edit-modal-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}
@media (max-width: 576px) {
  .genotype-edit-modal-card {
    width: 95%;
    padding: 1rem;
  }
}

.genotype-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.genotype-edit-header h6 {
  margin: 0;
  font-weight: 600;
  color: #1a1a1a;
}
.genotype-edit-header .genotype-close-btn {
  background: transparent;
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: #6c757d;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease-in-out;
}
.genotype-edit-header .genotype-close-btn:hover {
  background: #6c757d;
  color: white;
}

.genotype-edit-content .genotype-recommendations {
  margin-bottom: 1rem;
}
.genotype-edit-content .genotype-recommendations .recommendations-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
}
.genotype-edit-content .genotype-recommendations .recommendations-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.genotype-edit-content .genotype-recommendations .recommendations-buttons .recommendation-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #17a2b8;
  background: transparent;
  color: #17a2b8;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.genotype-edit-content .genotype-recommendations .recommendations-buttons .recommendation-btn:hover {
  background: #17a2b8;
  color: white;
}
.genotype-edit-content .genotype-select-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}
.genotype-edit-content .genotype-select-container .genotype-select {
  flex: 1;
}
.genotype-edit-content .genotype-select-container .genotype-select.validation-error .react-select__control {
  border-color: #dc3545 !important;
}
.genotype-edit-content .genotype-select-container .toggle-custom-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #6c757d;
  background: white;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.2s ease-in-out;
}
.genotype-edit-content .genotype-select-container .toggle-custom-btn:hover {
  background: #6c757d;
  color: white;
}
.genotype-edit-content .custom-genotype-input {
  margin-bottom: 1rem;
}
.genotype-edit-content .custom-genotype-input .custom-input {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}
.genotype-edit-content .custom-genotype-input .custom-input:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.genotype-edit-content .custom-genotype-input .custom-input.validation-error {
  border-color: #dc3545;
}
.genotype-edit-content .custom-genotype-input .custom-input.validation-error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.genotype-edit-content .custom-genotype-input .input-help-text {
  display: block;
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.875rem;
  line-height: 1.4;
}
.genotype-edit-content .comment-input {
  margin-bottom: 1rem;
}
.genotype-edit-content .comment-input .comment-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}
.genotype-edit-content .comment-input .comment-textarea {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease-in-out;
}
.genotype-edit-content .comment-input .comment-textarea:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.genotype-edit-content .comment-input .character-count {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.genotype-edit-content .error-message {
  margin-bottom: 1rem;
}
.genotype-edit-content .error-message .error-text {
  color: #dc3545;
  font-size: 0.875rem;
}
.genotype-edit-content .genotype-edit-actions {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 576px) {
  .genotype-edit-content .genotype-edit-actions {
    flex-direction: column;
  }
  .genotype-edit-content .genotype-edit-actions .action-button {
    width: 100%;
    justify-content: center;
  }
}

/* REACT SELECT CUSTOMIZATIONS */
.genotype-select .react-select__control {
  border-radius: 0.25rem !important;
  border: 1px solid #ced4da !important;
  min-height: 32px !important;
  font-size: 14px !important;
  transition: all 0.2s ease-in-out;
}
.genotype-select .react-select__control:hover {
  border-color: #80bdff !important;
  box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.1);
}
.genotype-select .react-select__control--is-focused {
  border-color: #80bdff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}
.genotype-select .react-select__control--is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.genotype-select .react-select__menu {
  border-radius: 0.25rem !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;
  border: 1px solid #e9ecef !important;
  z-index: 9999 !important;
}
.genotype-select .react-select__option {
  transition: all 0.2s ease-in-out;
}
.genotype-select .react-select__option--is-focused {
  background-color: rgba(0, 123, 255, 0.1) !important;
}
.genotype-select .react-select__option--is-selected {
  background-color: #007bff !important;
}
.genotype-select .react-select__group-heading {
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* RESPONSIVE DESIGN */
@media (max-width: 576px) {
  .sequence-list-container {
    margin-top: 0.5rem;
  }
  .sequence-card-enhanced {
    margin-bottom: 1rem;
  }
  .card-header-enhanced,
  .card-body-enhanced,
  .section-header,
  .section-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sequence-name {
    font-size: 0.9rem;
  }
  .metadata-grid {
    gap: 0.5rem;
  }
  .result-grid {
    gap: 0.75rem;
  }
  .sequence-controls {
    padding: 1rem;
  }
  .sequence-controls .view-mode-toggle .btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
}
/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* FOCUS STYLES FOR KEYBOARD NAVIGATION */
.sequence-card-enhanced:focus-within {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* HIGH CONTRAST MODE SUPPORT */
@media (prefers-contrast: high) {
  .sequence-card-enhanced {
    border-width: 2px;
  }
  .status-badge {
    border: 1px solid currentColor;
  }
  .action-button {
    border-width: 2px;
  }
  .pagination .page-link {
    border-width: 2px !important;
  }
}
/* PRINT STYLES */
@media print {
  .sequence-list-container {
    display: block;
  }
  .sequence-card-enhanced {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
    margin-bottom: 1rem;
  }
  .action-button,
  .genotype-edit-controls,
  .sequence-pagination,
  .sequence-controls {
    display: none;
  }
}
.main-menu-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  margin-bottom: -10rem;
  padding-bottom: 3rem;
  padding-top: 0;
}

.main-menu-topbar {
  min-height: 5vh;
  width: 60vw;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  margin-top: 5rem;
  margin-left: -5rem;
  margin-bottom: 3rem;
}
.main-menu-topbar .topbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2rem;
}
.main-menu-topbar .topbar-actions {
  display: flex;
  gap: 0.75rem;
}
.main-menu-topbar .btn-topbar {
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.main-menu-topbar .btn-topbar svg {
  font-size: 1rem;
}
.main-menu-topbar .btn-topbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.main-menu-topbar .btn-topbar:active {
  transform: translateY(0);
}
.main-menu-topbar .btn-topbar-info {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
}
.main-menu-topbar .btn-topbar-info:hover {
  background: linear-gradient(135deg, #1bb4cc, #148a9d);
}
.main-menu-topbar .btn-topbar-secondary {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: white;
}
.main-menu-topbar .btn-topbar-secondary:hover {
  background: linear-gradient(135deg, #7a8491, #636a71);
}
.main-menu-topbar .btn-topbar-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}
.main-menu-topbar .btn-topbar-danger:hover {
  background: linear-gradient(135deg, #e64555, #d32f3f);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero-description {
  font-size: 1.1rem;
  color: #6b7280;
  text-align: left;
  margin: 0;
  padding: 0 0.5rem;
}

.userInfo-description {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #e1baba 0%, #b1c0de 100%, #ad66df 100%);
  color: #000000;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
  font-family: "Times New Roman", Times, serif;
}

.main-menu-container {
  max-width: 1400px;
  padding: 0 1.5rem;
}

.main-content {
  background: transparent;
}

.statistics-section {
  margin-top: -5rem;
  margin-bottom: 3rem;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.statistics-column {
  min-width: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card-wrapper {
  perspective: 1000px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:focus {
  outline: 3px solid #667eea;
  outline-offset: 3px;
}
.feature-card-admin {
  border-color: transparent;
}
.feature-card-admin::before {
  background: linear-gradient(90deg, #f0f361, #efe252);
}
.feature-card-admin:hover {
  border-color: #f0f361;
}
.feature-card-admin .card-icon {
  background: linear-gradient(135deg, #f0f361, #efe252);
  box-shadow: 0 8px 24px rgba(240, 101, 149, 0.35);
}
.feature-card-admin .card-badge {
  display: block;
}
.feature-card-BatchUpload {
  border-color: transparent;
}
.feature-card-BatchUpload::before {
  background: linear-gradient(90deg, #ff6b6b, #f06595);
}
.feature-card-BatchUpload:hover {
  border-color: #f06595;
}
.feature-card-BatchUpload .card-icon {
  background: linear-gradient(135deg, #ff6b6b, #f06595);
  box-shadow: 0 8px 24px rgba(240, 101, 149, 0.35);
}
.feature-card-BatchUpload .card-badge {
  display: block;
}
.feature-card-sequence::before {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}
.feature-card-sequence:hover {
  border-color: #2563eb;
}
.feature-card-sequence .card-icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.feature-card-phylogenetic::before {
  background: linear-gradient(90deg, #34d399, #059669);
}
.feature-card-phylogenetic:hover {
  border-color: #059669;
}
.feature-card-phylogenetic .card-icon {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}
.feature-card-lab::before {
  background: linear-gradient(90deg, #fb923c, #f97316);
}
.feature-card-lab:hover {
  border-color: #f97316;
}
.feature-card-lab .card-icon {
  background: linear-gradient(135deg, #fb923c, #f97316);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.demo-instructions-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1300;
  overflow-y: auto;
}

.demo-instructions-dialog {
  position: relative;
  width: min(1200px, 100%);
  max-height: calc(100vh - 3rem);
  border-radius: 1.75rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.demo-instructions-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.5rem;
}

.demo-instructions-content {
  border-radius: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.demo-instructions-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4338ca);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-instructions-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.demo-instructions-download:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}

.demo-instructions-close {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-instructions-close:hover {
  transform: translateY(-1px);
  background: rgba(229, 231, 235, 0.95);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
}

.demo-instructions-close:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .demo-instructions-overlay {
    align-items: flex-start;
  }
  .demo-instructions-dialog {
    max-height: none;
    height: auto;
  }
}
@media (max-width: 768px) {
  .demo-instructions-overlay {
    padding: 1rem;
  }
  .demo-instructions-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .demo-instructions-download {
    width: 100%;
    justify-content: center;
  }
  .demo-instructions-close {
    width: 2.25rem;
    height: 2.25rem;
    margin-left: auto;
  }
}
.feature-card-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.card-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5673f3, #bfa3da);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.card-content {
  text-align: center;
  flex: 1;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none;
}
.card-badge-admin {
  background: linear-gradient(135deg, #ff6b6b, #f06595);
  color: white;
  box-shadow: 0 4px 12px rgba(240, 101, 149, 0.3);
}

@media (max-width: 1200px) {
  .statistics-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .main-menu-topbar .topbar-content {
    flex-direction: column;
    gap: 1rem;
  }
  .main-menu-topbar .topbar-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .main-menu-topbar .btn-topbar {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .statistics-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .features-grid {
    gap: 1rem;
  }
  .feature-card-inner {
    padding: 1.5rem 1.25rem;
  }
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  .card-title {
    font-size: 1.15rem;
  }
  .card-description {
    font-size: 0.9rem;
  }
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-link {
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-link:hover:not(:disabled) {
  color: #2563eb;
  background: #f3f4f6;
}
.btn-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature-card-wrapper {
  animation: fadeIn 0.5s ease forwards;
}
.feature-card-wrapper:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}
.feature-card-wrapper:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}
.feature-card-wrapper:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0;
}
.feature-card-wrapper:nth-child(4) {
  animation-delay: 0.4s;
  opacity: 0;
}
.feature-card-wrapper:nth-child(5) {
  animation-delay: 0.5s;
  opacity: 0;
}
.feature-card-wrapper:nth-child(6) {
  animation-delay: 0.6s;
  opacity: 0;
}
/* ========================================================================
   STATS SUMMARY COLUMN STYLES - UPDATED
   ======================================================================== */
.stats-overview {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stats-overview--admin {
  border-top: 6px solid #e84393;
}
.stats-overview--lab {
  border-top: 6px solid #2563eb;
}
.stats-overview:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.stats-overview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.stats-overview__header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1f2937;
}
.stats-overview__header p {
  margin: 0.3rem 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  max-width: 28rem;
}
.stats-overview__timestamp {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  background: #f3f4f6;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.stats-overview__context {
  display: inline-flex;
  align-items: center;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-top: -0.5rem;
  width: fit-content;
}
.stats-overview__message {
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  font-size: 0.95rem;
  background: #f9fafb;
  color: #4b5563;
  text-align: center;
}
.stats-overview__message--muted {
  color: #6b7280;
}
.stats-overview__message--error {
  background: #fee2e2;
  color: #b91c1c;
}
.stats-overview__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stats-tile {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 220px;
}
.stats-tile--primary {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), transparent);
}
.stats-tile--uploads {
  max-height: 520px;
}
.stats-tile--action {
  justify-content: flex-start;
}
.stats-tile__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.stats-tile__header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
}
.stats-tile__header p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}
.stats-tile__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-tile__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.stats-tile__metric strong {
  font-size: 1.5rem;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}
.stats-tile__content {
  display: flex;
  gap: 1.5rem;
}
.stats-tile__content--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.stats-tile__content--combined {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stats-tile__group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.stats-tile__group h5 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.stats-tile__group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.stats-tile__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stats-tile__description {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}
.stats-tile__empty {
  background: #eef2ff;
  color: #4b5563;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}
.stats-tile__scroll {
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stats-tile__scroll::-webkit-scrollbar {
  width: 6px;
}
.stats-tile__scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}
.stats-tile__more-indicator {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border: 1px dashed #93c5fd;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-top: 0.5rem;
}
.stats-tile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stats-tile__chip {
  background: #eef2ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.stats-tile__button {
  margin-top: auto;
}

.stats-total {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.stats-total__item {
  flex: 1 1 160px;
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stats-total__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.stats-total__value {
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stats-total__divider {
  width: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  align-self: stretch;
}
.stats-overview--admin .stats-total__item {
  background: linear-gradient(135deg, #f472b6, #be185d);
}
.stats-overview--lab .stats-total__item {
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
}
.stats-overview--lab .stats-total__item:last-child {
  background: linear-gradient(135deg, #f3f4f6, #d1d5db);
  color: #1f2937;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 0.92rem;
  color: #1f2937;
}
.stats-list li:last-child {
  border-bottom: none;
}
.stats-list__label {
  font-weight: 600;
}
.stats-list__value {
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.stats-list__legend {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.stats-list__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f3f4f6;
}
.stats-list__legend-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}
.stats-list__legend-item--primary {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}
.stats-list__legend-item--secondary {
  color: #334155;
  background: rgba(148, 163, 184, 0.18);
}
.stats-list__values {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: flex-end;
}
.stats-list__value-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.stats-list__value-block .stats-list__value {
  font-size: 1rem;
}
.stats-list__value-block--primary .stats-list__value {
  color: #1d4ed8;
  font-weight: 700;
}
.stats-list__value-block--secondary .stats-list__value {
  color: #4b5563;
  font-weight: 600;
}
.stats-list__value-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}
.stats-list--compact li {
  font-size: 0.85rem;
  padding: 0.3rem 0;
}
.stats-list--comparison li {
  align-items: flex-start;
}

/* Recent upload preview styles */
.stats-upload {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.stats-upload:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.stats-upload__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.stats-upload__date {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
}
.stats-upload__lab {
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.stats-upload__total {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.stats-upload__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.stats-upload__group h5 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

@media (max-width: 768px) {
  .stats-overview {
    padding: 1.25rem;
  }
  .stats-overview__grid {
    grid-template-columns: 1fr;
  }
  .stats-tile {
    padding: 1.25rem;
  }
  .stats-tile--uploads {
    max-height: none;
  }
  .stats-total {
    flex-direction: column;
  }
  .stats-total__divider {
    display: none;
  }
  .stats-upload__content {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================
   STATS QUERY MODAL STYLES - UPDATED WITH SPLIT LAYOUT
   ======================================================================== */
.stats-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(226, 232, 240, 0.92);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.stats-modal {
  background: #ffffff;
  border-radius: 18px;
  width: min(1300px, 95%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.stats-modal--split {
  width: min(1200px, 95%);
}
.stats-modal--uploads {
  width: min(900px, 95%);
  max-height: 88vh;
}
.stats-modal__header {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: #ffffff;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.stats-modal__header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}
.stats-modal__header p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
.stats-modal__scope, .stats-modal__context {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stats-modal__context {
  color: #bfdbfe;
}
.stats-modal__close {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stats-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.stats-modal__body {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: calc(90vh - 120px);
  overflow: hidden;
}
.stats-modal__left-panel {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.stats-modal__form-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}
.stats-modal__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.stats-modal__legend {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1f2937;
  font-size: 1rem;
}
.stats-modal__right-panel {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
}
.stats-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.stats-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.stats-modal__fields::-webkit-scrollbar {
  width: 6px;
}
.stats-modal__fields::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}
.stats-modal__fields::-webkit-scrollbar-track {
  background: transparent;
}
.stats-modal__actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1rem;
  margin: 0;
}
.stats-modal__actions--top {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}
.stats-modal__message {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  background: #f3f4f6;
  color: #374151;
  margin-bottom: 1rem;
}
.stats-modal__message--error {
  background: #fee2e2;
  color: #b91c1c;
}
.stats-modal__message--muted {
  background: #f9fafb;
  color: #6b7280;
}
.stats-modal__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1rem;
  color: #6b7280;
}
.stats-modal__loading p {
  margin: 0;
  font-size: 0.95rem;
}
.stats-modal__loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.stats-modal__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  color: #6b7280;
  padding: 2rem;
}
.stats-modal__placeholder h4 {
  margin: 1rem 0 0.5rem;
  color: #1f2937;
  font-size: 1.1rem;
}
.stats-modal__placeholder p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 300px;
}
.stats-modal__placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}
.stats-modal__results {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.stats-modal__summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.stats-modal__summary {
  font-weight: 600;
  color: #111827;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  flex: 1;
}
.stats-modal__table-wrapper {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  flex: 1;
  overflow: auto;
}
.stats-modal__table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.stats-modal__table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}
.stats-modal__table-wrapper::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 999px;
}
.stats-modal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.stats-modal__table th,
.stats-modal__table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
.stats-modal__table th {
  background: #f3f4f6;
  font-weight: 600;
  color: #374151;
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}
.stats-modal__table td {
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.stats-modal__table tbody tr {
  transition: background-color 0.15s ease;
}
.stats-modal__table tbody tr:hover {
  background-color: #f8fafc;
}
.stats-modal__table tr:nth-child(even) td {
  background: #f9fafb;
}
.stats-modal__table tr:hover td {
  background: #f0f9ff;
}

.stats-field-option {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}
.stats-field-option:hover {
  background: #fafbfc;
  border-color: #cbd5e1;
}
.stats-field-option input {
  margin-top: 0.3rem;
  cursor: pointer;
}
.stats-field-option__label {
  font-weight: 600;
  color: #111827;
  display: block;
}
.stats-field-option__helper {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}
.stats-field-option--selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  background: #eff6ff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.export-dropdown {
  position: relative;
}
.export-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  min-width: 280px;
  z-index: 10;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}
.export-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-align: left;
}
.export-dropdown__item:last-child {
  border-bottom: none;
}
.export-dropdown__item:hover {
  background: #f8fafc;
}
.export-dropdown__item:active {
  background: #f1f5f9;
}
.export-dropdown__item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #6b7280;
}
.export-dropdown__item-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.export-dropdown__item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1f2937;
}
.export-dropdown__item-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.3;
}

.btn-excel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #217346, #185c37);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(33, 115, 70, 0.2);
}
.btn-excel svg {
  flex-shrink: 0;
}
.btn-excel:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e6140, #15502f);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 115, 70, 0.3);
}
.btn-excel:active {
  transform: translateY(0);
}
.btn-excel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-link {
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}
.btn-link:hover:not(:disabled) {
  color: #2563eb;
  background: #f3f4f6;
}
.btn-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1024px) {
  .stats-modal__body {
    grid-template-columns: 340px 1fr;
  }
}
@media (max-width: 768px) {
  .stats-modal {
    width: 100%;
    max-height: 95vh;
  }
  .stats-modal--split {
    width: 100%;
  }
  .stats-modal__body {
    grid-template-columns: 1fr;
    height: calc(95vh - 140px);
  }
  .stats-modal__left-panel {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    max-height: 50%;
  }
  .stats-modal__right-panel {
    min-height: 300px;
  }
  .stats-modal__summary-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .stats-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-modal__actions .btn {
    width: 100%;
  }
  .stats-modal__fields {
    gap: 0.6rem;
  }
  .stats-field-option {
    padding: 0.65rem 0.8rem;
  }
  .stats-field-option__label {
    font-size: 0.9rem;
  }
  .stats-field-option__helper {
    font-size: 0.75rem;
  }
  .btn-excel {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .stats-modal__header {
    flex-direction: column;
    padding: 1.25rem;
  }
  .stats-modal__header h3 {
    font-size: 1.2rem;
  }
  .stats-modal__header p {
    font-size: 0.85rem;
  }
  .stats-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }
  .stats-modal__left-panel, .stats-modal__right-panel {
    padding: 1rem;
  }
  .stats-modal__form-container {
    padding: 1rem;
  }
  .stats-modal__table {
    font-size: 0.8rem;
  }
  .stats-modal__table th,
  .stats-modal__table td {
    padding: 0.5rem 0.6rem;
  }
}
@media print {
  .stats-modal-overlay {
    position: static;
    background: transparent;
  }
  .stats-modal {
    box-shadow: none;
    max-height: none;
  }
  .stats-modal__header {
    background: #1e3a8a;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .stats-modal__close, .stats-modal__actions {
    display: none;
  }
  .stats-modal__body {
    display: block;
    height: auto;
  }
  .stats-modal__left-panel {
    border: none;
    display: none;
  }
  .stats-modal__right-panel {
    padding: 1rem;
  }
  .stats-modal__table-wrapper {
    max-height: none;
    overflow: visible;
  }
}
/* ========================================================================
   RECENT UPLOADS MODAL STYLES
   ======================================================================== */
.stats-modal--uploads {
  width: min(900px, 95%);
  max-height: 88vh;
}
.stats-modal__summary--card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.stats-modal__summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stats-modal__summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #2563eb;
}
.stats-modal__summary-value {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.stats-modal__summary-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-modal__summary-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #4b5563;
  text-align: right;
  max-width: 240px;
}
.stats-modal__results--uploads {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 0 0 18px 18px;
  padding: 1.75rem 1.75rem 2rem;
  margin: 0;
}
.stats-modal__uploads-grid {
  display: grid;
  gap: 1.25rem;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.stats-modal__uploads-grid::-webkit-scrollbar {
  width: 8px;
}
.stats-modal__uploads-grid::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.18);
  border-radius: 999px;
}
.stats-modal__uploads-grid::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 999px;
}

.stats-upload-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: all 0.2s ease;
}
.stats-upload-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}
.stats-upload-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.stats-upload-card__timestamp {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stats-upload-card__date {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}
.stats-upload-card__lab {
  color: #64748b;
  font-size: 0.85rem;
}
.stats-upload-card__total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 14px;
  padding: 0.5rem 0.75rem;
  min-width: 110px;
}
.stats-upload-card__total-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stats-upload-card__total-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #1e3a8a;
}
.stats-upload-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stats-upload-card__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stats-upload-card__group h5 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
}
.stats-upload-card .stats-list {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
}
.stats-upload-card .stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 0.85rem;
  color: #1f2937;
}
.stats-upload-card .stats-list li:last-child {
  border-bottom: none;
}
.stats-upload-card .stats-list__label {
  font-weight: 600;
}
.stats-upload-card .stats-list__value {
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.stats-upload-card .stats-tile__empty {
  background: #f9fafb;
  color: #6b7280;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  text-align: center;
  font-style: italic;
}

@media (max-width: 768px) {
  .stats-modal--uploads {
    width: 100%;
    max-height: 95vh;
  }
  .stats-modal__summary--card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1rem 1.25rem;
  }
  .stats-modal__summary-meta {
    text-align: left;
    max-width: none;
  }
  .stats-modal__results--uploads {
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }
  .stats-modal__uploads-grid {
    max-height: 65vh;
    padding-right: 0.25rem;
  }
  .stats-modal__uploads-grid::-webkit-scrollbar {
    width: 6px;
  }
  .stats-upload-card {
    padding: 1rem 1.1rem;
  }
  .stats-upload-card__header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .stats-upload-card__total {
    align-self: flex-start;
    min-width: auto;
    padding: 0.4rem 0.65rem;
  }
  .stats-upload-card__total-value {
    font-size: 1.2rem;
  }
  .stats-upload-card__body {
    gap: 0.85rem;
  }
}
@media (max-width: 576px) {
  .stats-modal__header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .stats-modal__header h3 {
    font-size: 1.2rem;
  }
  .stats-modal__header p {
    font-size: 0.85rem;
  }
  .stats-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }
  .stats-modal__summary--card {
    padding: 0.85rem 1rem;
    gap: 1rem;
  }
  .stats-modal__summary-value {
    font-size: 1.5rem;
  }
  .stats-modal__summary-unit {
    font-size: 0.8rem;
  }
  .stats-modal__summary-meta {
    font-size: 0.8rem;
  }
  .stats-modal__results--uploads {
    padding: 1.25rem 1rem;
  }
  .stats-modal__uploads-grid {
    gap: 1rem;
    max-height: 70vh;
  }
  .stats-upload-card {
    padding: 0.85rem 0.95rem;
    gap: 0.85rem;
  }
  .stats-upload-card__date {
    font-size: 0.85rem;
  }
  .stats-upload-card__lab {
    font-size: 0.75rem;
  }
  .stats-upload-card__total {
    padding: 0.35rem 0.55rem;
  }
  .stats-upload-card__total-value {
    font-size: 1.1rem;
  }
  .stats-upload-card__total-label {
    font-size: 0.65rem;
  }
  .stats-upload-card__group h5 {
    font-size: 0.75rem;
  }
  .stats-upload-card .stats-list {
    padding: 0.5rem 0.65rem;
  }
  .stats-upload-card .stats-list li {
    font-size: 0.8rem;
  }
  .stats-upload-card .stats-tile__empty {
    font-size: 0.75rem;
    padding: 0.5rem 0.7rem;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stats-upload-card {
  animation: slideInUp 0.3s ease-out forwards;
}
.stats-upload-card:nth-child(1) {
  animation-delay: 0.05s;
  opacity: 0;
}
.stats-upload-card:nth-child(2) {
  animation-delay: 0.1s;
  opacity: 0;
}
.stats-upload-card:nth-child(3) {
  animation-delay: 0.15s;
  opacity: 0;
}
.stats-upload-card:nth-child(4) {
  animation-delay: 0.2s;
  opacity: 0;
}
.stats-upload-card:nth-child(5) {
  animation-delay: 0.25s;
  opacity: 0;
}
.stats-upload-card:nth-child(6) {
  animation-delay: 0.3s;
  opacity: 0;
}
.stats-upload-card:nth-child(7) {
  animation-delay: 0.35s;
  opacity: 0;
}
.stats-upload-card:nth-child(8) {
  animation-delay: 0.4s;
  opacity: 0;
}
.stats-upload-card:nth-child(9) {
  animation-delay: 0.45s;
  opacity: 0;
}
.stats-upload-card:nth-child(10) {
  animation-delay: 0.5s;
  opacity: 0;
}
.stats-upload-card:nth-child(11) {
  animation-delay: 0.55s;
  opacity: 0;
}
.stats-upload-card:nth-child(12) {
  animation-delay: 0.6s;
  opacity: 0;
}
.stats-upload-card:nth-child(13) {
  animation-delay: 0.65s;
  opacity: 0;
}
.stats-upload-card:nth-child(14) {
  animation-delay: 0.7s;
  opacity: 0;
}
.stats-upload-card:nth-child(15) {
  animation-delay: 0.75s;
  opacity: 0;
}
.stats-upload-card:nth-child(16) {
  animation-delay: 0.8s;
  opacity: 0;
}
.stats-upload-card:nth-child(17) {
  animation-delay: 0.85s;
  opacity: 0;
}
.stats-upload-card:nth-child(18) {
  animation-delay: 0.9s;
  opacity: 0;
}
.stats-upload-card:nth-child(19) {
  animation-delay: 0.95s;
  opacity: 0;
}
.stats-upload-card:nth-child(20) {
  animation-delay: 1s;
  opacity: 0;
}

.stats-modal__uploads-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  color: #6b7280;
  font-size: 0.95rem;
}

@media print {
  .stats-modal-overlay {
    position: static;
    background: transparent;
  }
  .stats-modal {
    box-shadow: none;
    max-height: none;
  }
  .stats-modal__header {
    background: #1e3a8a;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .stats-modal__close {
    display: none;
  }
  .stats-modal__uploads-grid {
    max-height: none;
    overflow: visible;
  }
  .stats-upload-card {
    page-break-inside: avoid;
    box-shadow: none;
  }
}
/* ========================================================================
   SEROTYPE GENOTYPE MODAL STYLES
   ======================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.serotype-genotype-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: modalAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  visibility: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  border-bottom: 2px solid #e5e7eb;
  gap: 1rem;
}
.modal-header-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-context-label {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.modal-close-button {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}
.modal-close-button:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.modal-description {
  margin-bottom: 1.5rem;
}
.modal-description p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.modal-count-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
}

.modal-count-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}
.modal-count-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-legend {
  display: flex;
  gap: 1.5rem;
}
.modal-legend-item {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.modal-legend-item.modal-legend-lab {
  color: #1d4ed8;
}
.modal-legend-item.modal-legend-global {
  color: #6b7280;
}

.modal-count-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-count-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.modal-count-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  transform: translateX(4px);
}

.modal-count-label {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.modal-count-values {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.modal-count-value-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.modal-count-value-block--lab .modal-count-value {
  color: #1d4ed8;
  font-weight: 700;
}
.modal-count-value-block--global .modal-count-value {
  color: #6b7280;
  font-weight: 600;
}

.modal-count-value-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 600;
}

.modal-count-value {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: #111827;
}

.modal-count-list--comparison .modal-count-item {
  align-items: flex-start;
  padding: 1rem;
}

.modal-empty {
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 2px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0 0 24px 24px;
}

.btn-secondary {
  background: #6b7280;
  color: white;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalAppear {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .serotype-genotype-modal {
    width: 95%;
    max-height: 90vh;
  }
  .modal-header {
    padding: 1.5rem;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .modal-count-values {
    gap: 1rem;
  }
  .modal-footer {
    padding: 1rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .modal-header h2 {
    font-size: 1.25rem;
  }
  .modal-count-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .modal-count-values {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
  }
}
/* ========================================================================
   USER GUIDE MODAL STYLES
   ======================================================================== */
.user-guide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-in-out;
}

.user-guide-modal {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
  position: relative;
  border: 1px solid #e9ecef;
}

/* HEADER */
.user-guide-header {
  background: linear-gradient(135deg, #bfc9f2 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.user-guide-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}
.user-guide-header .header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.user-guide-header .header-content .header-icon {
  font-size: 2.5rem;
  opacity: 0.9;
}
.user-guide-header .header-content h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
}
.user-guide-header .header-content p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}
.user-guide-header .close-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.user-guide-header .close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.user-guide-header .close-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* CONTENT */
.user-guide-content {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
  /* Custom scrollbar */
}
.user-guide-content::-webkit-scrollbar {
  width: 8px;
}
.user-guide-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.user-guide-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}
.user-guide-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* INTRO SECTION */
.guide-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.75rem;
  border: 1px solid #dee2e6;
}
.guide-intro .intro-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.guide-intro .intro-section .intro-icon {
  font-size: 2rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.guide-intro .intro-section .intro-icon.fasta-icon {
  color: #667eea;
}
.guide-intro .intro-section .intro-icon.excel-icon {
  color: #28a745;
}
.guide-intro .intro-section .intro-text h5 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  color: #2c3e50;
}
.guide-intro .intro-section .intro-text p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FIELD REQUIREMENTS */
.field-requirements {
  margin-bottom: 2rem;
}
.field-requirements h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.field-requirements h4::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}
.field-requirements .table-container {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}
.field-requirements .guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.field-requirements .guide-table thead tr {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.field-requirements .guide-table thead tr th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  font-size: 0.9rem;
}
.field-requirements .guide-table tbody tr {
  transition: all 0.2s ease;
}
.field-requirements .guide-table tbody tr:hover {
  background-color: rgba(102, 126, 234, 0.05);
}
.field-requirements .guide-table tbody tr.row-required {
  border-left: 4px solid #dc3545;
}
.field-requirements .guide-table tbody tr.row-recommended {
  border-left: 4px solid #306071;
}
.field-requirements .guide-table tbody tr.row-optional {
  border-left: 4px solid #6c757d;
}
.field-requirements .guide-table tbody tr td {
  padding: 0.75rem;
  border-bottom: 1px solid #f1f3f4;
  vertical-align: middle;
}
.field-requirements .guide-table tbody tr td.field-name {
  font-family: "Monaco", "Menlo", "Courier New", monospace;
  font-size: 0.9rem;
  background-color: rgba(248, 249, 250, 0.5);
  width: 25%;
}
.field-requirements .guide-table tbody tr td.field-type {
  width: 20%;
  color: #ffffff;
}
.field-requirements .guide-table tbody tr td.field-description {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.4;
}
.field-requirements .guide-table tr.lab-list-row td {
  padding: 0.75rem;
  background-color: rgba(248, 249, 250, 0.5);
}
.field-requirements .guide-table .lab-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
  column-count: 2;
  column-gap: 2rem;
}

/* IMPORTANT NOTES */
.important-notes h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.important-notes h4::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  border-radius: 2px;
}
.important-notes .notes-grid {
  display: grid;
  gap: 1rem;
}
.important-notes .notes-grid .note-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.important-notes .notes-grid .note-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.important-notes .notes-grid .note-item .note-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}
.important-notes .notes-grid .note-item .note-icon.required {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}
.important-notes .notes-grid .note-item .note-icon.warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}
.important-notes .notes-grid .note-item .note-icon.info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
}
.important-notes .notes-grid .note-item .note-content {
  flex: 1;
}
.important-notes .notes-grid .note-item .note-content strong {
  display: block;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.important-notes .notes-grid .note-item .note-content p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FOOTER */
.user-guide-footer {
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e9ecef;
  text-align: center;
}
.user-guide-footer p {
  margin: 0 0 1rem 0;
  color: #6c757d;
  font-size: 0.9rem;
}
.user-guide-footer .btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}
.user-guide-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}
.user-guide-footer .btn:focus {
  outline: 2px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
}

/* BADGES */
.badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
  font-weight: 500;
}
.badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}
.badge.bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
  color: #212529 !important;
}
.badge.bg-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
}
.badge.bg-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .user-guide-modal {
    margin: 0.5rem;
    max-height: 95vh;
  }
  .user-guide-header {
    padding: 1.5rem;
  }
  .user-guide-header .header-content {
    gap: 0.75rem;
  }
  .user-guide-header .header-content .header-icon {
    font-size: 2rem;
  }
  .user-guide-header .header-content h3 {
    font-size: 1.5rem;
  }
  .user-guide-header .header-content p {
    font-size: 0.9rem;
  }
  .user-guide-header .close-button {
    width: 36px;
    height: 36px;
  }
  .user-guide-content {
    padding: 1.5rem;
  }
  .guide-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .important-notes .notes-grid .note-item {
    padding: 1rem;
    gap: 0.75rem;
  }
  .important-notes .notes-grid .note-item .note-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .user-guide-footer {
    padding: 1rem 1.5rem;
  }
  .user-guide-footer .btn {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 576px) {
  .user-guide-modal {
    margin: 0.25rem;
    border-radius: 0.75rem;
  }
  .guide-table {
    font-size: 0.8rem;
  }
  .guide-table thead th,
  .guide-table tbody td {
    padding: 0.5rem 0.25rem;
  }
  .guide-table tbody tr td.field-name {
    font-size: 0.75rem;
  }
  .intro-section {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .intro-section .intro-icon {
    font-size: 1.75rem;
    align-self: center;
  }
}
/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
  .user-guide-overlay,
  .user-guide-modal,
  .note-item,
  .close-button,
  .btn {
    animation: none;
    transition: none;
  }
  .note-item:hover,
  .close-button:hover,
  .btn:hover {
    transform: none;
  }
}
/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  .user-guide-modal {
    border: 3px solid #000;
  }
  .guide-table {
    border: 2px solid #000;
  }
  .guide-table th, .guide-table td {
    border: 1px solid #000;
  }
  .note-item {
    border: 2px solid #000;
  }
}
/* FOCUS MANAGEMENT */
.user-guide-modal:focus {
  outline: none;
}

.close-button:focus,
.btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Add these styles to your existing UserGuideModal.scss file */
/* LAB DROPDOWN STYLES */
.lab-dropdown-row td {
  padding: 0 !important;
  background-color: rgba(248, 249, 250, 0.8) !important;
}

.lab-dropdown-container {
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
  background: white;
}

.lab-dropdown-toggle {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}
.lab-dropdown-toggle:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #2c3e50;
}
.lab-dropdown-toggle:focus {
  outline: 2px solid rgba(102, 126, 234, 0.5);
  outline-offset: -2px;
}
.lab-dropdown-toggle span {
  flex: 1;
  text-align: left;
}
.lab-dropdown-toggle .dropdown-icon {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
  color: #667eea;
  margin-left: 1rem;
}
.lab-dropdown-toggle[aria-expanded=true] .dropdown-icon {
  transform: rotate(180deg);
}

.lab-dropdown-content {
  padding: 1.5rem;
  background: white;
  border-top: 1px solid #e9ecef;
  animation: slideDown 0.3s ease-out;
}
.lab-dropdown-content .lab-search-info {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 0.5rem;
  border-left: 4px solid #667eea;
}
.lab-dropdown-content .lab-search-info p {
  margin: 0;
  color: #2c3e50;
  font-size: 0.9rem;
  font-weight: 500;
}
.lab-dropdown-content .lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  background: #fafbfc;
  /* Custom scrollbar for lab grid */
}
.lab-dropdown-content .lab-grid::-webkit-scrollbar {
  width: 6px;
}
.lab-dropdown-content .lab-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.lab-dropdown-content .lab-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
}
.lab-dropdown-content .lab-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.875rem;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}
.lab-dropdown-content .lab-item:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}
.lab-dropdown-content .lab-item .lab-number {
  color: #667eea;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 2rem;
  text-align: center;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lab-dropdown-content .lab-item .lab-name {
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.3;
  flex: 1;
}

/* ANIMATION FOR DROPDOWN */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;
  }
}
/* RESPONSIVE ADJUSTMENTS FOR LAB DROPDOWN */
@media (max-width: 768px) {
  .lab-dropdown-toggle {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
  .lab-dropdown-toggle .dropdown-icon {
    margin-left: 0.5rem;
  }
  .lab-dropdown-content {
    padding: 1rem;
  }
  .lab-dropdown-content .lab-grid {
    grid-template-columns: 1fr;
    max-height: 250px;
  }
  .lab-dropdown-content .lab-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .lab-dropdown-content .lab-item .lab-number {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    min-width: 1.5rem;
  }
}
@media (max-width: 576px) {
  .lab-dropdown-toggle {
    padding: 0.75rem;
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .lab-dropdown-toggle .dropdown-icon {
    margin-left: 0;
    align-self: flex-end;
  }
  .lab-dropdown-content {
    padding: 0.75rem;
  }
  .lab-dropdown-content .lab-search-info {
    padding: 0.5rem;
  }
  .lab-dropdown-content .lab-search-info p {
    font-size: 0.8rem;
  }
  .lab-dropdown-content .lab-grid {
    padding: 0.25rem;
    max-height: 200px;
  }
  .lab-dropdown-content .lab-item {
    padding: 0.4rem 0.5rem;
  }
  .lab-dropdown-content .lab-item .lab-number {
    width: 1rem;
    height: 1rem;
    font-size: 0.7rem;
    min-width: 1.25rem;
  }
  .lab-dropdown-content .lab-item .lab-name {
    font-size: 0.75rem;
  }
}
/* ACCESSIBILITY IMPROVEMENTS FOR DROPDOWN */
@media (prefers-reduced-motion: reduce) {
  .lab-dropdown-content {
    animation: none;
  }
  .lab-dropdown-toggle .dropdown-icon {
    transition: none;
  }
  .lab-item:hover {
    transform: none;
  }
}
/* HIGH CONTRAST MODE FOR DROPDOWN */
@media (prefers-contrast: high) {
  .lab-dropdown-container {
    border: 2px solid #000;
  }
  .lab-dropdown-toggle {
    border-bottom: 2px solid #000;
  }
  .lab-item {
    border: 1px solid #000;
  }
  .lab-item:hover {
    border: 2px solid #000;
  }
}
/* ========================================================================
   REDESIGNED BATCH UPLOAD STYLES
   ======================================================================== */
/* MAIN CONTAINER */
.batch-upload-redesigned {
  min-height: 100vh;
  background: #f8fafc;
  margin-top: 4rem;
}

/* HEADER */
.batch-header-redesigned {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 4rem;
  z-index: 100;
}
.batch-header-redesigned .header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.batch-header-redesigned .header-content .title-section h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.batch-header-redesigned .header-content .title-section p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}
.batch-header-redesigned .header-content .header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.batch-header-redesigned .header-content .header-actions .btn {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}
.batch-header-redesigned .header-content .header-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.batch-header-redesigned .header-content .header-actions .btn.btn-outline-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  color: white;
  text-align: center;
}
.batch-header-redesigned .header-content .header-actions .btn.btn-outline-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.batch-header-redesigned .header-content .header-actions .btn.btn-outline-primary:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

/* PROGRESS BAR */
.progress-bar-container {
  padding: 1rem 2rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.progress-bar-container .progress-track {
  position: relative;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.progress-bar-container .progress-track .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.progress-bar-container .progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.progress-bar-container .progress-steps .progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.progress-bar-container .progress-steps .progress-step .step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: #64748b;
}
.progress-bar-container .progress-steps .progress-step .step-circle svg {
  font-size: 1rem;
}
.progress-bar-container .progress-steps .progress-step .step-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  transition: color 0.3s ease;
}
.progress-bar-container .progress-steps .progress-step.active .step-circle {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.progress-bar-container .progress-steps .progress-step.active .step-label {
  color: #3b82f6;
  font-weight: 600;
}
.progress-bar-container .progress-steps .progress-step.completed .step-circle {
  background: #10b981;
  color: white;
}
.progress-bar-container .progress-steps .progress-step.completed .step-label {
  color: #10b981;
}

/* MAIN CONTENT AREA */
.main-content-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

/* LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.loading-overlay .loading-content {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.loading-overlay .loading-content h3 {
  color: #1e293b;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}
.loading-overlay .loading-content p {
  color: #64748b;
  margin: 0;
}

/* ACCESS DENIED */
.access-denied {
  text-align: center;
  padding: 4rem 2rem;
}
.access-denied .access-icon {
  font-size: 4rem;
  color: #ef4444;
  margin-bottom: 1.5rem;
}
.access-denied h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.access-denied p {
  color: #64748b;
}

/* UPLOAD VIEW */
.upload-view .alerts-section {
  margin-bottom: 2rem;
}
.upload-view .upload-section {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.upload-view .upload-section .upload-header {
  margin-bottom: 3rem;
}
.upload-view .upload-section .upload-header .upload-icon-wrapper {
  display: inline-flex;
  padding: 1.5rem;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}
.upload-view .upload-section .upload-header .upload-icon-wrapper .upload-main-icon {
  font-size: 3rem;
  color: #3b82f6;
}
.upload-view .upload-section .upload-header h2 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.upload-view .upload-section .upload-header p {
  color: #64748b;
  font-size: 1.1rem;
}
.upload-view .upload-section .upload-dropzone {
  margin: 2rem 0;
}
.upload-view .upload-section .upload-dropzone .dropzone-content {
  border: 2px dashed #cbd5e1;
  border-radius: 1rem;
  padding: 3rem 2rem;
  background: #f8fafc;
  transition: all 0.3s ease;
  cursor: pointer;
}
.upload-view .upload-section .upload-dropzone .dropzone-content:hover {
  border-color: #3b82f6;
  background: #f1f5f9;
  transform: translateY(-2px);
}
.upload-view .upload-section .upload-dropzone .dropzone-content.drag-active {
  border-color: #10b981;
  background: #ecfdf5;
}
.upload-view .upload-section .upload-dropzone .dropzone-content .dropzone-icon {
  font-size: 3rem;
  color: #64748b;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.upload-view .upload-section .upload-dropzone .dropzone-content h4 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.upload-view .upload-section .upload-dropzone .dropzone-content p {
  color: #64748b;
  margin-bottom: 1.5rem;
}
.upload-view .upload-section .upload-dropzone .dropzone-content .file-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
}
.upload-view .upload-section .upload-dropzone .dropzone-content .file-info .file-types {
  color: #3b82f6;
  font-weight: 500;
}
.upload-view .upload-section .upload-dropzone .dropzone-content .file-info .file-size {
  color: #64748b;
}
.upload-view .upload-section .upload-dropzone .dropzone-content:hover .dropzone-icon {
  color: #3b82f6;
  transform: scale(1.1);
}
.upload-view .upload-section .upload-dropzone.excel .dropzone-content .dropzone-icon {
  color: #10b981;
}
.upload-view .upload-section .upload-dropzone.excel .dropzone-content:hover {
  border-color: #10b981;
}
.upload-view .upload-section .upload-dropzone.excel .dropzone-content:hover .dropzone-icon {
  color: #059669;
}
.upload-view .upload-section .upload-help {
  margin-top: 3rem;
}
.upload-view .upload-section .upload-help .help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.upload-view .upload-section .upload-help .help-grid .help-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}
.upload-view .upload-section .upload-help .help-grid .help-item .help-icon {
  font-size: 1.5rem;
  color: #3b82f6;
  margin-top: 0.25rem;
}
.upload-view .upload-section .upload-help .help-grid .help-item h5 {
  color: #1e293b;
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1rem;
}
.upload-view .upload-section .upload-help .help-grid .help-item p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* SPLIT LAYOUT - STACKED ROWS */
.split-layout {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2rem;
  min-height: 600px;
}
.split-layout .left-panel,
.split-layout .right-panel {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.split-layout .left-panel {
  padding: 1rem 1.5rem; /* Reduced from 1.5rem 2rem for compactness */
  /* Updated Ready Section Styles */
  /* Mobile responsiveness for ready section */
}
.split-layout .left-panel .panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Reduced from 1rem */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  padding-bottom: 0.75rem; /* Reduced from 1rem */
  border-bottom: 1px solid #e2e8f0;
}
.split-layout .left-panel .panel-header .step-indicator {
  width: 32px; /* Reduced from 40px */
  height: 32px; /* Reduced from 40px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem; /* Reduced from 1rem */
}
.split-layout .left-panel .panel-header .step-indicator.completed {
  background: #10b981;
  color: white;
}
.split-layout .left-panel .panel-header h3 {
  color: #1e293b;
  margin: 0 0 0.125rem; /* Reduced from 0.25rem */
  font-weight: 600;
  font-size: 1.125rem; /* Reduced from 1.25rem */
}
.split-layout .left-panel .panel-header p {
  color: #64748b;
  margin: 0;
  font-size: 0.8rem; /* Reduced from 0.875rem */
}
.split-layout .left-panel .ready-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 1rem;
  border: 1px solid #10b981;
}
.split-layout .left-panel .ready-section .ready-header {
  margin-bottom: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.split-layout .left-panel .ready-section .ready-header .ready-icon {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 0;
}
.split-layout .left-panel .ready-section .ready-header .ready-text h3 {
  color: #1e293b;
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1.25rem;
}
.split-layout .left-panel .ready-section .ready-header .ready-text p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
}
.split-layout .left-panel .ready-section .process-btn {
  flex-shrink: 0;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.split-layout .left-panel .ready-section .process-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}
.split-layout .left-panel .ready-section .process-btn:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .split-layout .left-panel .ready-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem;
  }
  .split-layout .left-panel .ready-section .ready-header {
    justify-content: center;
    text-align: center;
  }
  .split-layout .left-panel .ready-section .process-btn {
    width: 100%;
    justify-content: center;
  }
}
.split-layout .left-panel .upload-section {
  padding: 0.5rem 0; /* Further reduced for compactness */
}
.split-layout .left-panel .upload-section .upload-header {
  margin-bottom: 0.75rem; /* Further reduced */
  text-align: left;
}
.split-layout .left-panel .upload-section .upload-header .upload-main-icon {
  font-size: 1.25rem; /* Further reduced */
  margin-bottom: 0.125rem; /* Further reduced */
}
.split-layout .left-panel .upload-section .upload-header .upload-main-icon.excel {
  color: #10b981;
}
.split-layout .left-panel .upload-section .upload-header h2 {
  font-size: 1.125rem; /* Further reduced */
  margin-bottom: 0.125rem;
}
.split-layout .left-panel .upload-section .upload-header p {
  font-size: 0.75rem; /* Further reduced */
  margin: 0;
}
.split-layout .left-panel .upload-section .upload-dropzone {
  margin: 0.5rem 0; /* Reduced margin */
}
.split-layout .left-panel .upload-section .upload-dropzone .dropzone-content {
  padding: 1.25rem 1rem; /* Significantly reduced padding */
}
.split-layout .left-panel .upload-section .upload-dropzone .dropzone-content .dropzone-icon {
  font-size: 1.5rem; /* Reduced icon size */
  margin-bottom: 0.5rem; /* Reduced margin */
}
.split-layout .left-panel .upload-section .upload-dropzone .dropzone-content h4 {
  font-size: 1rem; /* Reduced font size */
  margin-bottom: 0.125rem; /* Reduced margin */
}
.split-layout .left-panel .upload-section .upload-dropzone .dropzone-content p {
  font-size: 0.8rem; /* Reduced font size */
  margin-bottom: 0.5rem; /* Reduced margin */
}
.split-layout .left-panel .upload-section .upload-dropzone .dropzone-content .file-info {
  font-size: 0.75rem; /* Further reduced */
}
.split-layout .right-panel {
  display: flex;
  flex-direction: column;
  min-height: 500px;
}
.split-layout .right-panel .panel-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.split-layout .right-panel .panel-tabs .tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: none;
  color: #64748b;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}
.split-layout .right-panel .panel-tabs .tab-btn:hover {
  background: #f1f5f9;
  color: #3b82f6;
}
.split-layout .right-panel .panel-tabs .tab-btn.active {
  color: #3b82f6;
  background: white;
  border-bottom-color: #3b82f6;
}
.split-layout .right-panel .panel-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* OVERVIEW TAB */
.overview-content .overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.overview-content .overview-cards .overview-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}
.overview-content .overview-cards .overview-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.overview-content .overview-cards .overview-card .card-icon.fasta {
  background: #dbeafe;
  color: #3b82f6;
}
.overview-content .overview-cards .overview-card .card-icon.valid {
  background: #dcfce7;
  color: #10b981;
}
.overview-content .overview-cards .overview-card .card-icon.invalid {
  background: #f8d7da;
  color: #dc3545;
}
.overview-content .overview-cards .overview-card .card-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.25rem;
}
.overview-content .overview-cards .overview-card .card-content p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
}
.overview-content .error-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8d7da;
  border: 1px solid #fbbf24;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.overview-content .error-alert .error-icon {
  color: #dc3545;
  font-size: 1.25rem;
  margin-top: 0.125rem;
}
.overview-content .error-alert h5 {
  color: #92400e;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.overview-content .error-alert p {
  color: #92400e;
  margin: 0;
  font-size: 0.875rem;
}
.overview-content .excel-upload-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}
.overview-content .excel-upload-section .upload-section-header {
  margin-bottom: 1rem;
  text-align: left;
}
.overview-content .excel-upload-section .upload-section-header h5 {
  color: #1e293b;
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
}
.overview-content .excel-upload-section .upload-section-header p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
}
.overview-content .excel-upload-section .upload-dropzone {
  margin: 0;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content:hover {
  border-color: #10b981;
  background: #f0fdf4;
  transform: translateY(-2px);
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content.drag-active {
  border-color: #10b981;
  background: #ecfdf5;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content .dropzone-icon {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content h4 {
  color: #1e293b;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1rem;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content p {
  color: #64748b;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content .file-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content .file-info .file-types {
  color: #10b981;
  font-weight: 500;
}
.overview-content .excel-upload-section .upload-dropzone .dropzone-content:hover .dropzone-icon {
  color: #059669;
  transform: scale(1.05);
}
.overview-content .next-steps h5 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-weight: 600;
}
.overview-content .next-steps ol {
  color: #64748b;
  margin: 0;
  padding-left: 1.5rem;
}
.overview-content .next-steps ol li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* REVIEW VIEW */
.review-view .alerts-section {
  margin-bottom: 2rem;
}
.review-view .review-header {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.review-view .review-header .review-summary h2 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.review-view .review-header .review-summary .summary-cards {
  display: flex;
  gap: 1.5rem;
}
.review-view .review-header .review-summary .summary-cards .summary-card {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  min-width: 120px;
}
.review-view .review-header .review-summary .summary-cards .summary-card.primary {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 1px solid #93c5fd;
}
.review-view .review-header .review-summary .summary-cards .summary-card.warning {
  background: linear-gradient(135deg, #f8d7da 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
}
.review-view .review-header .review-summary .summary-cards .summary-card.info {
  background: linear-gradient(135deg, #e0f2fe 0%, #e0f7fa 100%);
  border: 1px solid #06b6d4;
}
.review-view .review-header .review-summary .summary-cards .summary-card .card-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.primary .review-view .review-header .review-summary .summary-cards .summary-card .card-number {
  color: #1d4ed8;
}
.warning .review-view .review-header .review-summary .summary-cards .summary-card .card-number {
  color: #d97706;
}
.info .review-view .review-header .review-summary .summary-cards .summary-card .card-number {
  color: #0891b2;
}
.review-view .review-header .review-summary .summary-cards .summary-card .card-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}
.review-view .review-header .review-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  transition: all 0.3s ease;
}
.review-view .review-header .review-actions .btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.review-view .review-header .review-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.review-view .review-tabs {
  display: flex;
  background: white;
  border-radius: 1rem 1rem 0 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}
.review-view .review-tabs .tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: none;
  color: #64748b;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}
.review-view .review-tabs .tab-btn:hover {
  background: #f8fafc;
  color: #3b82f6;
}
.review-view .review-tabs .tab-btn.active {
  color: #3b82f6;
  background: white;
  border-bottom-color: #3b82f6;
}
.review-view .review-content {
  background: white;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* DATA SECTIONS */
.data-section {
  padding: 2rem;
}
.data-section .section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.data-section .section-header.warning .section-icon {
  color: #dc3545;
  font-size: 1.25rem;
  margin-top: 0.125rem;
}
.data-section .section-header h4 {
  color: #1e293b;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.data-section .section-header p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
}

.data-table-container .error-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8d7da;
  border: 1px solid #fbbf24;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
.data-table-container .error-summary .error-icon {
  color: #dc3545;
  font-size: 1.25rem;
}
.data-table-container .error-summary h5 {
  color: #92400e;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.data-table-container .error-summary p {
  color: #92400e;
  margin: 0;
  font-size: 0.875rem;
}
.data-table-container .table-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* COMPLETION VIEW */
/* COMPLETION VIEW - Updated with wider layout */
.completion-view {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  min-width: 100%;
  padding: 2rem; /* Add padding for better spacing */
}
.completion-view .completion-content {
  text-align: center;
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 2000px; /* Increased from 600px to 1000px */
  width: 100%;
}
.completion-view .completion-content .success-animation {
  margin-bottom: 2rem;
}
.completion-view .completion-content .success-animation .success-icon {
  font-size: 4rem;
  color: #10b981;
  animation: bounce 2s infinite;
}
.completion-view .completion-content h2 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.completion-view .completion-content p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.completion-view .completion-content .completion-stats {
  margin: 2rem 0;
}
.completion-view .completion-content .completion-stats .stat-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 1rem;
  border: 1px solid #10b981;
}
.completion-view .completion-content .completion-stats .stat-card .stat-number {
  font-size: 1.5rem;
  font-weight: 400;
  color: #059669;
  margin-bottom: 0.2rem;
}
.completion-view .completion-content .completion-stats .stat-card .stat-label {
  color: #065f46;
  font-weight: 200;
}
.completion-view .completion-content .completion-actions {
  margin: 2rem 0;
}
.completion-view .completion-content .completion-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  transition: all 0.3s ease;
}
.completion-view .completion-content .completion-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.completion-view .completion-content .completion-summary {
  margin-top: 2rem;
  text-align: left;
  /* Ensure the table takes full width */
}
.completion-view .completion-content .completion-summary h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center; /* Center the summary title */
}
.completion-view .completion-content .completion-summary .table-responsive {
  margin-top: 1rem;
}
.completion-view .completion-content .completion-summary .table-responsive .table {
  width: 100%;
}

/* Mobile responsiveness for completion view */
@media (max-width: 1024px) {
  .completion-view {
    padding: 1rem;
  }
  .completion-view .completion-content {
    max-width: 900px; /* Slightly smaller on tablets */
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .completion-view {
    padding: 1rem;
  }
  .completion-view .completion-content {
    margin: 0;
    padding: 2rem 1rem;
    max-width: 100%; /* Full width on mobile */
  }
}
@media (max-width: 576px) {
  .completion-view {
    padding: 0.5rem;
  }
  .completion-view .completion-content {
    padding: 1.5rem 1rem;
    border-radius: 0.75rem;
  }
  .completion-view .completion-content .success-animation .success-icon {
    font-size: 3rem; /* Smaller icon on mobile */
  }
  .completion-view .completion-content .completion-stats .stat-card {
    padding: 1rem;
  }
  .completion-view .completion-content .completion-stats .stat-card .stat-number {
    font-size: 2.5rem; /* Smaller number on mobile */
  }
}
/* ANIMATIONS */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -10px, 0);
  }
  70% {
    transform: translate3d(0, -5px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}
/* TABLE ENHANCEMENTS */
.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.table-responsive .table {
  margin: 0;
}
.table-responsive .table th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  padding: 1rem 0.75rem;
  font-size: 0.875rem;
}
.table-responsive .table th.sortable-header {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.table-responsive .table th.sortable-header:hover {
  background: #f1f5f9;
}
.table-responsive .table td {
  padding: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.table-responsive .table tbody tr {
  transition: background-color 0.2s ease;
}
.table-responsive .table tbody tr:hover {
  background: #f8fafc;
}
.table-responsive .table tbody tr.batch-selected-row {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
}
.table-responsive .table tbody tr.table-danger {
  background: #fee2e2;
  border-left: 3px solid #ef4444;
  color: #991b1b;
}
.table-responsive .table tbody tr.table-danger > th,
.table-responsive .table tbody tr.table-danger > td {
  background: #fee2e2;
  color: #991b1b;
}
.table-responsive .table tbody tr.table-danger:hover {
  background: #fecaca;
}
.table-responsive .table tbody tr.table-warning {
  background: #fff3cd;
  border-left: 3px solid #ffc107;
}
.table-responsive .table tbody tr.table-warning:hover {
  background: #f5c2c7;
  background: #ffe69c;
}
.table-responsive .table tbody tr.table-info {
  background: #e0f2fe;
  border-left: 3px solid #0891b2;
}
.table-responsive .table tbody tr.table-info:hover {
  background: #bae6fd;
}

/* BULK ACTIONS BAR */
.bulk-actions-bar {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.5rem;
}
.bulk-actions-bar .selected-count {
  color: #475569;
  font-size: 0.875rem;
}
.bulk-actions-bar .btn-danger {
  background: #ef4444;
  border-color: #ef4444;
}
.bulk-actions-bar .btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* Process Files Section in Overview Tab */
.process-files-section {
  margin: 2rem 0;
}
.process-files-section .ready-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 1rem;
  border: 1px solid #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}
.process-files-section .ready-section .ready-header {
  margin-bottom: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.process-files-section .ready-section .ready-header .ready-icon {
  font-size: 2.5rem;
  color: #10b981;
  margin-bottom: 0;
}
.process-files-section .ready-section .ready-header .ready-text h3 {
  color: #1e293b;
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1.5rem;
}
.process-files-section .ready-section .ready-header .ready-text p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}
.process-files-section .ready-section .process-btn {
  flex-shrink: 0;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}
.process-files-section .ready-section .process-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}
.process-files-section .ready-section .process-btn:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}
.process-files-section .ready-section .process-btn:active {
  transform: translateY(-1px);
}

/* Animation for the process files section */
.process-files-section {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .split-layout .left-panel {
    order: 2;
  }
  .split-layout .right-panel {
    order: 1;
  }
  .review-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .review-header .summary-cards {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .batch-header-redesigned .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .batch-header-redesigned .header-content .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .batch-header-redesigned .header-content .header-actions .btn {
    flex: 1;
    min-width: 140px;
  }
  .main-content-area {
    padding: 0 1rem 1rem;
  }
  .progress-bar-container {
    padding: 1rem;
  }
  .progress-bar-container .progress-steps .progress-step .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  .progress-bar-container .progress-steps .progress-step .step-label {
    font-size: 0.75rem;
  }
  .upload-view .upload-section {
    padding: 2rem 1rem;
  }
  .upload-view .upload-section .upload-help .help-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .split-layout .left-panel {
    padding: 0.75rem 1rem; /* Further reduced for mobile */
  }
  .split-layout .left-panel .panel-header {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .split-layout .left-panel .panel-header .step-indicator {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .split-layout .left-panel .panel-header h3 {
    font-size: 1rem;
  }
  .split-layout .left-panel .panel-header p {
    font-size: 0.75rem;
  }
  .split-layout .left-panel .upload-section {
    padding: 0.25rem 0; /* Even more compact for mobile */
  }
  .split-layout .left-panel .upload-section .upload-header {
    margin-bottom: 0.5rem;
  }
  .split-layout .left-panel .upload-section .upload-header .upload-main-icon {
    font-size: 1rem;
    margin-bottom: 0.125rem;
  }
  .split-layout .left-panel .upload-section .upload-header h2 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
  }
  .split-layout .left-panel .upload-section .upload-header p {
    font-size: 0.7rem;
  }
  .split-layout .left-panel .upload-section .upload-dropzone {
    margin: 0.25rem 0;
  }
  .split-layout .left-panel .upload-section .upload-dropzone .dropzone-content {
    padding: 1rem 0.75rem; /* More compact for mobile */
  }
  .split-layout .left-panel .upload-section .upload-dropzone .dropzone-content .dropzone-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .split-layout .left-panel .upload-section .upload-dropzone .dropzone-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.125rem;
  }
  .split-layout .left-panel .upload-section .upload-dropzone .dropzone-content p {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
  .split-layout .left-panel .upload-section .upload-dropzone .dropzone-content .file-info {
    font-size: 0.7rem;
  }
  .split-layout .left-panel .ready-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .split-layout .left-panel .ready-section .ready-header {
    justify-content: center;
    text-align: center;
  }
  .split-layout .left-panel .ready-section .process-btn {
    width: 100%;
  }
  .review-header .summary-cards {
    flex-direction: column;
    gap: 1rem;
  }
  .review-header .summary-cards .summary-card {
    min-width: auto;
  }
  .review-tabs {
    flex-wrap: wrap;
  }
  .review-tabs .tab-btn {
    flex: none;
    min-width: 50%;
  }
  .completion-view .completion-content {
    margin: 1rem;
    padding: 2rem 1rem;
  }
}
@media (max-width: 576px) {
  .batch-header-redesigned .header-content {
    padding: 1rem;
  }
  .batch-header-redesigned .header-content .title-section h1 {
    font-size: 1.5rem;
  }
  .batch-header-redesigned .header-content .header-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  .progress-steps .progress-step .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .progress-steps .progress-step .step-label {
    font-size: 0.7rem;
  }
  .table-responsive {
    font-size: 0.875rem;
  }
  .table-responsive .table th,
  .table-responsive .table td {
    padding: 0.5rem 0.25rem;
  }
}
/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  .batch-upload-redesigned {
    background: white;
  }
  .upload-section,
  .left-panel,
  .right-panel,
  .review-content {
    border: 2px solid #000;
  }
}
/* FOCUS INDICATORS */
button:focus,
.btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.tab-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

/* Add this CSS to your batch-upload.scss file */
.tab-btn {
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}
.tab-btn .tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tab-btn .tab-title {
  font-weight: 600;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tab-btn .tab-subtitle {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 400;
}
.tab-btn:hover {
  background-color: #f3f4f6;
}
.tab-btn:hover .tab-title {
  color: #374151;
}
.tab-btn:hover .tab-subtitle {
  color: #6b7280;
}
.tab-btn.active {
  background-color: #eff6ff;
  border-bottom-color: #3b82f6;
}
.tab-btn.active .tab-title {
  color: #1d4ed8;
  font-weight: 700;
}
.tab-btn.active .tab-subtitle {
  color: #3b82f6;
}

/* Additional styles for the tab containers */
.panel-tabs, .review-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
  overflow-x: auto;
}

/* Ensure proper spacing and alignment */
.review-tabs .tab-btn,
.panel-tabs .tab-btn {
  flex-shrink: 0;
  min-width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Small label displayed next to tab titles */
.tab-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}
#login_page {
  font-family: "Rubik", "Futura", "Arial";
  font-weight: lighter !important;
}

.title {
  color: #385cae;
}

#login_title {
  margin-bottom: 0px !important;
}

.email {
  color: #385cae;
}

#login_button {
  background-color: #385cae;
}

.request-access-button {
  background-color: #385cae;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.request-access-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-access-modal {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  outline: none;
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.main-content {
  margin-top: 7rem; /* Adjust this value based on the height of your navbar */
}

.batch-upload-container {
  margin-top: 7rem;
}

.drop-zone-area {
  border: dashed rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border-width: 1.5px;
  background-color: white;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.drop-area-text {
  padding: 2rem 0;
  font-family: "Josefin Sans", "Futura", "Arial";
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.3);
}

.batch-table-row:hover {
  cursor: pointer;
  background-color: rgba(200, 200, 200, 0.2);
}

.batch-selected-row {
  background-color: rgba(65, 131, 236, 0.2);
}
.batch-selected-row:hover {
  cursor: pointer;
  /** @todo should use a slightly different color when hovering a selected row */
  background-color: rgba(65, 131, 236, 0.2);
}

.batch-valid-icon {
  margin-right: 1rem;
  color: #28a745;
}

.batch-invalid-icon {
  margin-right: 1rem;
  color: red;
}

.main-content {
  padding-left: 3rem;
}

.btn-xl {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
}
.phylogenetic-analysis-container {
  margin-top: 4.5rem;
  margin-bottom: -5rem;
  min-height: 65vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1rem 1.5rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
}
.phylogenetic-analysis-container .phylo-loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2050;
  pointer-events: none;
}
.phylogenetic-analysis-container .phylo-loading-overlay.is-visible {
  display: flex;
}
.phylogenetic-analysis-container .phylo-loading-overlay .overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.phylogenetic-analysis-container .phylo-loading-overlay .overlay-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 4rem 4rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #1e293b;
  pointer-events: auto;
  min-width: 320px;
  min-height: 400px;
  border: 1px solid #e2e8f0;
}
.phylogenetic-analysis-container .phylo-loading-overlay .loading-text {
  text-align: center;
  order: 3;
  margin-top: auto;
}
.phylogenetic-analysis-container .phylo-loading-overlay .loading-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}
.phylogenetic-analysis-container .phylo-loading-overlay .loading-text p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.phylogenetic-analysis-container .phylo-loading-overlay .btn-cancel-loading {
  min-width: 140px;
  border: 2px solid #e2e8f0;
  color: #64748b;
  background: white;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  order: 2;
}
.phylogenetic-analysis-container .phylo-loading-overlay .btn-cancel-loading:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}
.phylogenetic-analysis-container .phylo-loading-overlay .dna-spinner,
.phylogenetic-analysis-container .phylo-loading-overlay > *:first-child {
  order: 1;
}
.phylogenetic-analysis-container .phylo-hero-section {
  background: linear-gradient(135deg, #4b42ee 0%, #4b42ee 50%, #4b42ee 100%);
  color: white;
  padding: 0.75rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 10.5vh;
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.25rem;
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 400;
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-stats-row .phylo-stat-item .stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-right: 0.25rem;
}
.phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-stats-row .phylo-stat-item .stat-value {
  font-weight: 600;
  font-size: 0.75rem;
}
.phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}
.phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid .stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid .stat-card .stat-icon {
  font-size: 1rem;
}
.phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid .stat-card .stat-content .stat-title {
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0.125rem;
}
.phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid .stat-card .stat-content .stat-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
}
.phylogenetic-analysis-container .container-fluid {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  max-width: 100%;
}
.phylogenetic-analysis-container .container-fluid .row {
  margin-left: -0.125rem;
  margin-right: -0.125rem;
}
.phylogenetic-analysis-container .container-fluid .row > [class*=col-] {
  padding-left: 0.125rem;
  padding-right: 0.125rem;
}
.phylogenetic-analysis-container .phylo-analysis-container .card,
.phylogenetic-analysis-container .phylo-analysis-container .form-section,
.phylogenetic-analysis-container .phylo-analysis-container .filter-section {
  margin-bottom: 0.5rem;
}
.phylogenetic-analysis-container .phylo-analysis-container .card .card-body,
.phylogenetic-analysis-container .phylo-analysis-container .form-section .card-body,
.phylogenetic-analysis-container .phylo-analysis-container .filter-section .card-body {
  padding: 0.5rem;
}
.phylogenetic-analysis-container .phylo-analysis-container .card .card-header,
.phylogenetic-analysis-container .phylo-analysis-container .form-section .card-header,
.phylogenetic-analysis-container .phylo-analysis-container .filter-section .card-header {
  padding: 0.375rem 0.5rem;
  font-size: 0.8rem;
}
.phylogenetic-analysis-container .phylo-analysis-container .form-group,
.phylogenetic-analysis-container .phylo-analysis-container .mb-3,
.phylogenetic-analysis-container .phylo-analysis-container .mb-4 {
  margin-bottom: 0.375rem !important;
}
.phylogenetic-analysis-container .phylo-analysis-container .form-control,
.phylogenetic-analysis-container .phylo-analysis-container .form-select {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  line-height: 1.3;
}
.phylogenetic-analysis-container .phylo-analysis-container .form-label,
.phylogenetic-analysis-container .phylo-analysis-container label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.phylogenetic-analysis-container .phylo-action-panel {
  margin-top: 0.75rem !important;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card {
  background: rgb(249, 249, 249);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .card-body {
  padding: 1rem;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner {
  margin-bottom: 0.75rem !important;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .status-info .status-text {
  font-weight: 500;
  font-size: 0.875rem;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .status-info .status-text.success {
  color: #059669;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .status-info .status-text.warning {
  color: #d97706;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .status-info .status-subtitle {
  margin-top: 0.25rem;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .status-info .status-subtitle small {
  font-size: 0.75rem;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  min-height: 44px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-generate {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-generate:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-outline-secondary {
  border-color: #d1d5db;
  color: #374151;
  background: white;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-outline-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-outline-primary {
  border-color: #4f46e5;
  color: #4f46e5;
  background: white;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-outline-primary:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-success {
  background: #10b981;
  border-color: #10b981;
  color: white;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action.btn-success:hover {
  background: #059669;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action svg {
  width: 16px;
  height: 16px;
}
.phylogenetic-analysis-container .phylo-action-panel .action-panel-card .status-banner .action-buttons .btn-action:focus {
  outline: 3px solid rgba(79, 70, 229, 0.5);
  outline-offset: 2px;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .phylo-filters-section .card,
.phylogenetic-analysis-container .phylogenetic-analysis-container .required-fields-section .card,
.phylogenetic-analysis-container .phylogenetic-analysis-container .date-range-section .card,
.phylogenetic-analysis-container .phylogenetic-analysis-container .geographic-filters-section .card {
  margin-bottom: 0.375rem;
  border-radius: 6px;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .phylo-filters-section .card .card-header,
.phylogenetic-analysis-container .phylogenetic-analysis-container .required-fields-section .card .card-header,
.phylogenetic-analysis-container .phylogenetic-analysis-container .date-range-section .card .card-header,
.phylogenetic-analysis-container .phylogenetic-analysis-container .geographic-filters-section .card .card-header {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .phylo-filters-section .card .card-header .collapse-icon,
.phylogenetic-analysis-container .phylogenetic-analysis-container .required-fields-section .card .card-header .collapse-icon,
.phylogenetic-analysis-container .phylogenetic-analysis-container .date-range-section .card .card-header .collapse-icon,
.phylogenetic-analysis-container .phylogenetic-analysis-container .geographic-filters-section .card .card-header .collapse-icon {
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .phylo-filters-section .card .card-body,
.phylogenetic-analysis-container .phylogenetic-analysis-container .required-fields-section .card .card-body,
.phylogenetic-analysis-container .phylogenetic-analysis-container .date-range-section .card .card-body,
.phylogenetic-analysis-container .phylogenetic-analysis-container .geographic-filters-section .card .card-body {
  padding: 0.375rem 0.5rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .row {
  margin-bottom: 0.25rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .row .col-md-3,
.phylogenetic-analysis-container .phylogenetic-analysis-container .row .col-md-4,
.phylogenetic-analysis-container .phylogenetic-analysis-container .row .col-lg-3,
.phylogenetic-analysis-container .phylogenetic-analysis-container .row .col-lg-4 {
  padding-bottom: 0.25rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .react-select__control {
  min-height: 28px !important;
  font-size: 0.75rem !important;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .react-select__control .react-select__value-container {
  padding: 0.125rem 0.25rem !important;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .react-select__control .react-select__input-container {
  padding: 0 !important;
  margin: 0 !important;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .react-select__control .react-select__indicators {
  padding: 0.125rem !important;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .react-select__menu {
  font-size: 0.75rem !important;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container input[type=date] {
  padding: 0.25rem 0.375rem;
  font-size: 0.75rem;
  height: 28px;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .text-danger,
.phylogenetic-analysis-container .phylogenetic-analysis-container .error-message {
  font-size: 0.65rem !important;
  margin-top: 0.125rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .text-muted,
.phylogenetic-analysis-container .phylogenetic-analysis-container .help-text {
  font-size: 0.65rem !important;
  margin-top: 0.125rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .alert {
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.375rem;
  font-size: 0.7rem;
}
.phylogenetic-analysis-container .phylogenetic-analysis-container .alert .alert-heading {
  font-size: 0.75rem;
  margin-bottom: 0.125rem;
}
.phylogenetic-analysis-container .phylo-instructions-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  margin-top: 0.75rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-header:hover {
  background-color: #f8fafc;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-header .instructions-title {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.8rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-header .chevron-icon, .phylogenetic-analysis-container .phylo-instructions-card .instructions-header .info-icon {
  color: #64748b;
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content {
  padding: 0.75rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .section-title svg {
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step {
  display: flex;
  margin-bottom: 0.5rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-number {
  background: #4f46e5;
  color: white;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-number.success {
  background: #059669;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-content strong {
  font-size: 0.8rem;
  color: #1e293b;
  display: block;
  margin-bottom: 0.125rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .instruction-steps .instruction-step .step-content .step-detail {
  font-size: 0.7rem;
  color: #64748b;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.375rem;
  font-size: 0.7rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.375rem;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.current-year {
  background: #ef4444;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.previous-year {
  background: #f97316;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.two-years {
  background: #eab308;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-color-box.three-plus-years {
  background: #22c55e;
}
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-shape-circle,
.phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-section .legend-section .legend-items .legend-item .legend-shape-diamond {
  margin-right: 0.375rem;
  color: #64748b;
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .phylo-warning-card {
  border-left: 3px solid #f59e0b;
  background: #fffbeb;
  border-color: #fbbf24;
  padding: 0.5rem;
}
.phylogenetic-analysis-container .phylo-warning-card .alert-heading {
  color: #92400e;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}
.phylogenetic-analysis-container .phylo-warning-card p {
  color: #78350f;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}
.phylogenetic-analysis-container .phylo-warning-card small {
  color: #a16207;
  font-size: 0.7rem;
}
.phylogenetic-analysis-container .modal-header-enhanced {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-icon-wrapper {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-icon-wrapper svg {
  width: 16px;
  height: 16px;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-subtitle .badge {
  font-size: 0.7rem;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-subtitle .badge.badge-primary {
  background: #4f46e5;
  color: white;
}
.phylogenetic-analysis-container .modal-header-enhanced .modal-subtitle .badge.badge-secondary {
  background: #6b7280;
  color: white;
}
.phylogenetic-analysis-container .modal-header-enhanced .btn-close-modal {
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.phylogenetic-analysis-container .modal-body-enhanced {
  padding: 1rem;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}
.phylogenetic-analysis-container .download-panel-modal .download-options .download-item {
  margin-bottom: 0.5rem;
}
.phylogenetic-analysis-container .download-panel-modal .download-options .download-item .btn {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
}
.phylogenetic-analysis-container .download-panel-modal .download-options .download-item .btn svg {
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .download-panel-modal .download-options .download-item small {
  color: #64748b;
  font-size: 0.7rem;
}
.phylogenetic-analysis-container .download-panel-modal .download-options .distance-matrix {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.7rem;
  line-height: 1.3;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #374151;
  padding: 0.5rem !important;
}
.phylogenetic-analysis-container .download-panel-modal .download-options details {
  margin-top: 0.5rem;
}
.phylogenetic-analysis-container .download-panel-modal .download-options details summary {
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: white;
}
.phylogenetic-analysis-container .download-panel-modal .download-options details summary:hover {
  background: #f9fafb;
}
.phylogenetic-analysis-container .download-panel-modal .download-options details summary svg {
  width: 12px;
  height: 12px;
}
.phylogenetic-analysis-container .action-buttons .btn-action {
  position: relative;
  overflow: hidden;
}
.phylogenetic-analysis-container .action-buttons .btn-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.phylogenetic-analysis-container .action-buttons .btn-action:hover::before {
  left: 100%;
}
@media (max-width: 1200px) {
  .phylogenetic-analysis-container .phylo-hero-section {
    padding: 0.5rem 0;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-title {
    font-size: 1.125rem;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-stats-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  .phylogenetic-analysis-container .phylo-quick-stats .quick-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action {
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action.btn-generate {
    font-size: 0.95rem;
    padding: 0.65rem 1.3rem;
  }
}
@media (max-width: 768px) {
  .phylogenetic-analysis-container .container-fluid {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  .phylogenetic-analysis-container .phylo-hero-section {
    padding: 0.375rem 0;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content {
    text-align: center;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .d-flex {
    flex-direction: column;
    text-align: center;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-icon-wrapper {
    margin: 0 auto 0.5rem auto;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-title {
    font-size: 1rem;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-hero-content .phylo-subtitle {
    font-size: 0.8rem;
  }
  .phylogenetic-analysis-container .phylo-action-panel {
    margin-top: 0.5rem !important;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons {
    width: 100%;
    justify-content: stretch;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action {
    flex: 1;
    min-width: 140px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action.btn-generate {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    order: -1;
  }
  .phylogenetic-analysis-container .phylo-instructions-card {
    margin-top: 0.5rem;
  }
  .phylogenetic-analysis-container .phylo-instructions-card .instructions-content {
    padding: 0.5rem;
  }
  .phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-steps .instruction-step {
    margin-bottom: 0.375rem;
  }
  .phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-steps .instruction-step .step-number {
    width: 1rem;
    height: 1rem;
    font-size: 0.6rem;
  }
  .phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-steps .instruction-step .step-content strong {
    font-size: 0.75rem;
  }
  .phylogenetic-analysis-container .phylo-instructions-card .instructions-content .instruction-steps .instruction-step .step-content .step-detail {
    font-size: 0.65rem;
  }
}
@media (max-width: 576px) {
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    min-height: 48px;
  }
  .phylogenetic-analysis-container .phylo-action-panel .action-buttons .btn-action.btn-generate {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    min-height: 52px;
  }
  .phylogenetic-analysis-container .phylo-hero-section .phylo-title {
    font-size: 0.9rem;
  }
  .phylogenetic-analysis-container .modal-header-enhanced {
    padding: 0.5rem;
  }
  .phylogenetic-analysis-container .modal-header-enhanced .modal-title {
    font-size: 0.875rem;
  }
  .phylogenetic-analysis-container .modal-body-enhanced {
    padding: 0.5rem;
  }
}
.phylogenetic-analysis-container .btn:focus {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}
.phylogenetic-analysis-container .instructions-header:focus {
  outline: 2px solid #4f46e5;
  outline-offset: -2px;
}
.phylogenetic-analysis-container .stat-card,
.phylogenetic-analysis-container .action-panel-card,
.phylogenetic-analysis-container .phylo-instructions-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.phylogenetic-analysis-container .stat-card:hover,
.phylogenetic-analysis-container .action-panel-card:hover,
.phylogenetic-analysis-container .phylo-instructions-card:hover {
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.phylogenetic-analysis-container .btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.phylogenetic-analysis-container .text-success {
  color: #059669 !important;
}
.phylogenetic-analysis-container .text-warning {
  color: #d97706 !important;
}
.phylogenetic-analysis-container .text-primary {
  color: #4f46e5 !important;
}
.phylogenetic-analysis-container .text-info {
  color: #0891b2 !important;
}
.phylogenetic-analysis-container .text-muted {
  color: #64748b !important;
}

.ReactModal__Overlay--after-open {
  background-color: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px);
}

.ReactModal__Content--after-open {
  border-radius: 12px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.alert {
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}
.alert.alert-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

@media print {
  .phylogenetic-analysis-container {
    background: white !important;
  }
  .phylogenetic-analysis-container .phylo-hero-section {
    background: #4f46e5 !important;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  .phylogenetic-analysis-container .btn,
  .phylogenetic-analysis-container .modal,
  .phylogenetic-analysis-container .alert {
    display: none !important;
  }
}
.instructions-modal-enhanced {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header Styles */
.modal-header-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-content {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.header-text {
  flex: 1;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.modals-subtitle {
  color: white;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
}

.close-button {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Body Content */
.modal-body-content {
  overflow-y: auto;
  padding: 2rem;
  flex: 1;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.section-icon.start {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.section-icon.chart {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

/* Steps Container */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.step-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.2s ease;
  position: relative;
}

.step-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-number.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.step-icon {
  color: #64748b;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.step-detail {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Legend Grid */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.legend-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
}

.legend-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1rem 0;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shape-icon {
  color: #64748b;
  flex-shrink: 0;
}

.shape-icon.circle {
  color: #3b82f6;
}

.shape-icon.diamond {
  color: #ec4899;
}

.legend-label {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.4;
}

/* Tips Section */
.tips-section {
  margin-top: 2rem;
}

.tips-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.tips-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.tips-content {
  flex: 1;
}

.tips-title {
  font-size: 1rem;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 0.75rem 0;
}

.tips-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tips-list li {
  margin-bottom: 0.5rem;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

/* Footer */
.modal-footer {
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.action-button {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.action-button.primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
}

.action-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.action-button.primary:active {
  transform: translateY(0);
}

/* Scrollbar Styling */
.modal-body-content::-webkit-scrollbar {
  width: 8px;
}

.modal-body-content::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.modal-body-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modal-body-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-header-gradient {
    padding: 1.5rem;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-body-content {
    padding: 1.5rem;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .legend-grid {
    grid-template-columns: 1fr;
  }
  .tips-banner {
    flex-direction: column;
    text-align: center;
  }
}
.lab-database-page {
  padding: 6rem 0 1rem;
  max-width: 100%;
  margin: 0;
  min-height: 100vh;
  background: #dde6f3;
  margin-bottom: -6rem;
}
.lab-database-page .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0;
  background: #ffffff;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.lab-database-page .page-header .header-content {
  flex: 1;
  min-width: 300px;
}
.lab-database-page .page-header .header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.lab-database-page .page-header .header-content .subtitle {
  margin: 0;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
}
.lab-database-page .page-header .lab-context {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.lab-database-page .page-header .lab-context .context-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid #5a8dee;
  min-width: 180px;
}
.lab-database-page .page-header .lab-context .context-card .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #5a8dee;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  display: block;
}
.lab-database-page .page-header .lab-context .context-card .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}
.lab-database-page .page-header .download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: 8px;
  background: #5a8dee;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(90, 141, 238, 0.3);
  color: white;
  cursor: pointer;
}
.lab-database-page .page-header .download-button:hover:not(:disabled) {
  background: #4a7ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(90, 141, 238, 0.4);
}
.lab-database-page .page-header .download-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.lab-database-page .page-header .download-button .downloading-text {
  font-weight: 600;
}
.lab-database-page .main-content {
  display: flex;
  gap: 0;
  padding: 0 2.5rem 1rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.lab-database-page .filters-sidebar {
  width: 25vw;
  min-width: 25vw;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-right: 2rem;
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow: visible;
  border: 1px solid rgba(90, 141, 238, 0.1);
}
.lab-database-page .filters-sidebar .filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #5a8dee 0%, #4a7ed8 100%);
  color: white;
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
}
.lab-database-page .filters-sidebar .filter-header .filter-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
}
.lab-database-page .filters-sidebar .filter-header .filter-title svg {
  font-size: 1rem;
}
.lab-database-page .filters-sidebar .filter-header .filter-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .results-per-page-select {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .results-per-page-select:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .results-per-page-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .results-per-page-select option {
  background: #5a8dee;
  color: white;
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .clear-filters-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.lab-database-page .filters-sidebar .filter-header .filter-actions .clear-filters-btn:hover {
  background: #dc3545;
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
}
.lab-database-page .filters-sidebar .filters-content {
  padding: 1.5rem 1.75rem 3rem;
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
  overflow-x: visible;
}
.lab-database-page .filters-sidebar .filters-content::-webkit-scrollbar {
  width: 6px;
}
.lab-database-page .filters-sidebar .filters-content::-webkit-scrollbar-track {
  background: transparent;
}
.lab-database-page .filters-sidebar .filters-content::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}
.lab-database-page .filters-sidebar .filters-content::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}
.lab-database-page .filters-sidebar .filter-group {
  margin-bottom: 1.5rem;
}
.lab-database-page .filters-sidebar .filter-group:last-child {
  margin-bottom: 0;
}
.lab-database-page .filters-sidebar .filter-group > label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}
.lab-database-page .filters-sidebar .filter-group .search-input {
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.5rem 0.875rem;
  gap: 0.625rem;
  transition: all 0.3s ease;
  background: #ffffff;
}
.lab-database-page .filters-sidebar .filter-group .search-input:hover {
  border-color: #cbd5e0;
  background: #f8f9fa;
}
.lab-database-page .filters-sidebar .filter-group .search-input svg {
  color: #5a8dee;
  font-size: 1rem;
}
.lab-database-page .filters-sidebar .filter-group .search-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
}
.lab-database-page .filters-sidebar .filter-group .search-input input::placeholder {
  color: #adb5bd;
}
.lab-database-page .filters-sidebar .filter-group .search-input:focus-within {
  border-color: #5a8dee;
  box-shadow: 0 0 0 4px rgba(90, 141, 238, 0.1);
  background: #ffffff;
}
.lab-database-page .multiselect-dropdown {
  position: relative;
  width: 100%;
}
.lab-database-page .multiselect-dropdown .multiselect-label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}
.lab-database-page .multiselect-dropdown .multiselect-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lab-database-page .multiselect-dropdown .multiselect-control:hover {
  border-color: #cbd5e0;
  background: #f8f9fa;
}
.lab-database-page .multiselect-dropdown .multiselect-control.open, .lab-database-page .multiselect-dropdown .multiselect-control:focus-within {
  border-color: #5a8dee;
  box-shadow: 0 0 0 4px rgba(90, 141, 238, 0.1);
  background: #ffffff;
}
.lab-database-page .multiselect-dropdown .multiselect-values {
  flex: 1;
  min-width: 0;
}
.lab-database-page .multiselect-dropdown .multiselect-placeholder {
  color: #adb5bd;
  font-size: 0.875rem;
  font-weight: 500;
}
.lab-database-page .multiselect-dropdown .multiselect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.lab-database-page .multiselect-dropdown .multiselect-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  background: #e7f0ff;
  color: #5a8dee;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lab-database-page .multiselect-dropdown .multiselect-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  color: #5a8dee;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.lab-database-page .multiselect-dropdown .multiselect-tag-remove:hover {
  color: #dc3545;
}
.lab-database-page .multiselect-dropdown .multiselect-tag-remove svg {
  width: 10px;
  height: 10px;
}
.lab-database-page .multiselect-dropdown .multiselect-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.lab-database-page .multiselect-dropdown .multiselect-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 4px;
}
.lab-database-page .multiselect-dropdown .multiselect-clear:hover {
  color: #dc3545;
  background: #fff5f5;
}
.lab-database-page .multiselect-dropdown .multiselect-clear svg {
  width: 12px;
  height: 12px;
}
.lab-database-page .multiselect-dropdown .multiselect-arrow {
  color: #5a8dee;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
}
.lab-database-page .multiselect-dropdown .multiselect-arrow.open {
  transform: rotate(180deg);
}
.lab-database-page .multiselect-dropdown .multiselect-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  animation: slideDownFade 0.2s ease-out;
}
.lab-database-page .multiselect-dropdown .multiselect-search {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
  background: #fafbfc;
}
.lab-database-page .multiselect-dropdown .multiselect-search svg {
  color: #5a8dee;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.lab-database-page .multiselect-dropdown .multiselect-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c3e50;
}
.lab-database-page .multiselect-dropdown .multiselect-search input::placeholder {
  color: #adb5bd;
}
.lab-database-page .multiselect-dropdown .multiselect-options {
  flex: 1;
  overflow-y: auto;
  padding: 0.375rem;
}
.lab-database-page .multiselect-dropdown .multiselect-options::-webkit-scrollbar {
  width: 6px;
}
.lab-database-page .multiselect-dropdown .multiselect-options::-webkit-scrollbar-track {
  background: transparent;
}
.lab-database-page .multiselect-dropdown .multiselect-options::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}
.lab-database-page .multiselect-dropdown .multiselect-options::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}
.lab-database-page .multiselect-dropdown .multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
  user-select: none;
}
.lab-database-page .multiselect-dropdown .multiselect-option:hover {
  background: #f8f9fa;
}
.lab-database-page .multiselect-dropdown .multiselect-option.selected {
  background: #e7f0ff;
}
.lab-database-page .multiselect-dropdown .multiselect-option.selected .multiselect-option-label {
  color: #5a8dee;
  font-weight: 600;
}
.lab-database-page .multiselect-dropdown .multiselect-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.lab-database-page .multiselect-dropdown .multiselect-checkbox.checked {
  background: #5a8dee;
  border-color: #5a8dee;
  color: white;
}
.lab-database-page .multiselect-dropdown .multiselect-checkbox svg {
  width: 12px;
  height: 12px;
}
.lab-database-page .multiselect-dropdown .multiselect-option-label {
  flex: 1;
  font-size: 0.875rem;
  color: #2c3e50;
  font-weight: 500;
}
.lab-database-page .multiselect-dropdown .multiselect-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #adb5bd;
  font-size: 0.875rem;
  font-weight: 500;
}
.lab-database-page .multiselect-dropdown .multiselect-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-top: 2px solid #f0f0f0;
  background: #fafbfc;
}
.lab-database-page .multiselect-dropdown .multiselect-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5a8dee;
}
.lab-database-page .multiselect-dropdown .multiselect-footer-clear {
  padding: 0.375rem 0.75rem;
  background: none;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lab-database-page .multiselect-dropdown .multiselect-footer-clear:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}
.lab-database-page .date-range-picker {
  position: relative;
  width: 100%;
}
.lab-database-page .date-range-picker .date-range-label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}
.lab-database-page .date-range-picker .date-range-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lab-database-page .date-range-picker .date-range-control:hover {
  border-color: #cbd5e0;
  background: #f8f9fa;
}
.lab-database-page .date-range-picker .date-range-control.open, .lab-database-page .date-range-picker .date-range-control:focus-within {
  border-color: #5a8dee;
  box-shadow: 0 0 0 4px rgba(90, 141, 238, 0.1);
  background: #ffffff;
}
.lab-database-page .date-range-picker .date-range-display {
  flex: 1;
  font-size: 0.875rem;
  color: #adb5bd;
  font-weight: 500;
}
.lab-database-page .date-range-picker .date-range-display.has-value {
  color: #2c3e50;
  font-weight: 600;
}
.lab-database-page .date-range-picker .date-range-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.lab-database-page .date-range-picker .date-range-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 4px;
}
.lab-database-page .date-range-picker .date-range-clear:hover {
  color: #dc3545;
  background: #fff5f5;
}
.lab-database-page .date-range-picker .date-range-clear svg {
  width: 12px;
  height: 12px;
}
.lab-database-page .date-range-picker .date-range-arrow {
  color: #5a8dee;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
}
.lab-database-page .date-range-picker .date-range-arrow.open {
  transform: rotate(180deg);
}
.lab-database-page .date-range-picker .date-range-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  animation: slideDownFade 0.2s ease-out;
}
.lab-database-page .date-range-picker .date-range-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lab-database-page .date-range-picker .date-range-input-wrapper {
  flex: 1;
}
.lab-database-page .date-range-picker .date-range-input-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a8dee;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lab-database-page .date-range-picker .date-range-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  background: #ffffff;
  font-weight: 500;
  color: #2c3e50;
  font-family: inherit;
}
.lab-database-page .date-range-picker .date-range-input:hover {
  border-color: #cbd5e0;
  background: #f8f9fa;
}
.lab-database-page .date-range-picker .date-range-input:focus {
  border-color: #5a8dee;
  outline: none;
  box-shadow: 0 0 0 4px rgba(90, 141, 238, 0.1);
  background: #ffffff;
}
.lab-database-page .date-range-picker .date-range-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: opacity(0.6);
  transition: filter 0.2s ease;
}
.lab-database-page .date-range-picker .date-range-input::-webkit-calendar-picker-indicator:hover {
  filter: opacity(1);
}
.lab-database-page .date-range-picker .date-range-separator {
  font-size: 1.25rem;
  color: #5a8dee;
  font-weight: 700;
  padding-top: 1.5rem;
  flex-shrink: 0;
}
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lab-database-page .content-area {
  flex: 1;
  min-width: 0;
}
.lab-database-page .content-area .alert {
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
  background: #f8d7da;
  color: #721c24;
}
.lab-database-page .table-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  max-height: calc(80vh - 4rem);
}
.lab-database-page .table-wrapper .table-header-pagination {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}
.lab-database-page .table-wrapper .table-responsive {
  overflow-x: auto;
  overflow-y: auto;
  margin: -0.5rem;
  padding: 0.5rem;
  flex: 1;
  max-height: calc(100vh - 350px);
}
.lab-database-page .table-wrapper table {
  margin-bottom: 0;
  font-size: 0.875rem;
  min-width: 2000px;
  width: 100%;
  border-collapse: collapse;
}
.lab-database-page .table-wrapper table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.lab-database-page .table-wrapper table thead th {
  white-space: nowrap;
  font-weight: 700;
  color: #2c3e50;
  padding: 1rem 0.75rem;
  border-bottom: 2px solid #dee2e6;
  text-transform: none;
  font-size: 0.75rem;
  letter-spacing: normal;
  text-align: left;
}
.lab-database-page .table-wrapper table tbody tr {
  transition: all 0.2s ease;
}
.lab-database-page .table-wrapper table tbody tr:hover {
  background-color: #f8f9fa;
  transform: scale(1.001);
}
.lab-database-page .table-wrapper table tbody tr td {
  vertical-align: middle;
  padding: 0.875rem 0.75rem;
  color: #495057;
  border-bottom: 1px solid #f0f0f0;
  white-space: pre-wrap;
  word-break: break-word;
}
.lab-database-page .table-wrapper .loading-state,
.lab-database-page .table-wrapper .empty-state {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.lab-database-page .table-wrapper .loading-state h3,
.lab-database-page .table-wrapper .empty-state h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.lab-database-page .table-wrapper .loading-state p,
.lab-database-page .table-wrapper .empty-state p {
  color: #6c757d;
  font-size: 1rem;
  margin: 0.5rem 0 0;
}
.lab-database-page .table-wrapper .loading-state .spinner,
.lab-database-page .table-wrapper .empty-state .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #5a8dee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.lab-database-page .btn-view-details {
  padding: 0.375rem 0.75rem;
  background: #5a8dee;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.lab-database-page .btn-view-details:hover {
  background: #4a7ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(90, 141, 238, 0.3);
}
.lab-database-page .btn-view-details:active {
  transform: translateY(0);
}
.lab-database-page .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}
.lab-database-page .modal-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}
.lab-database-page .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #f0f0f0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px 16px 0 0;
}
.lab-database-page .modal-header .modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
}
.lab-database-page .modal-header .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(220, 53, 69, 0.1);
  border: none;
  border-radius: 8px;
  color: #dc3545;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.lab-database-page .modal-header .modal-close:hover {
  background: #dc3545;
  color: white;
  transform: rotate(90deg);
}
.lab-database-page .modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  min-height: 200px;
  max-height: calc(90vh - 180px);
}
.lab-database-page .modal-body::-webkit-scrollbar {
  width: 8px;
}
.lab-database-page .modal-body::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 10px;
}
.lab-database-page .modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}
.lab-database-page .modal-body::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}
.lab-database-page .modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 2rem;
  border-top: 2px solid #f0f0f0;
  background: #fafbfc;
  border-radius: 0 0 16px 16px;
}
.lab-database-page .modal-footer .btn {
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.lab-database-page .modal-footer .btn.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
}
.lab-database-page .modal-footer .btn.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}
.lab-database-page .modal-empty {
  text-align: center;
  color: #adb5bd;
  font-size: 1rem;
  padding: 3rem 1rem;
  margin: 0;
}
.lab-database-page .modal-text-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #495057;
  white-space: pre-wrap;
  word-break: break-word;
}
.lab-database-page .modal-sequence .modal-sequence-info {
  background: #e7f0ff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.lab-database-page .modal-sequence .modal-sequence-info .modal-sequence-length {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5a8dee;
}
.lab-database-page .modal-sequence .modal-sequence-content {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #2c3e50;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  word-break: break-all;
  white-space: pre-wrap;
}
.lab-database-page .modal-tracker-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.lab-database-page .modal-tracker-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid #5a8dee;
}
.lab-database-page .modal-tracker-item .modal-tracker-header {
  font-size: 0.875rem;
  font-weight: 700;
  color: #5a8dee;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.lab-database-page .modal-tracker-item .modal-tracker-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lab-database-page .modal-tracker-item .modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.lab-database-page .modal-tracker-item .modal-field .modal-field-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lab-database-page .modal-tracker-item .modal-field .modal-field-value {
  font-size: 0.9375rem;
  color: #2c3e50;
  font-weight: 500;
  word-break: break-word;
  white-space: pre-wrap;
}
.lab-database-page .modal-json {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #2c3e50;
  overflow-x: auto;
  margin: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lab-database-page .access-restricted {
  margin: 8rem auto;
  max-width: 560px;
  text-align: center;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  border: 2px solid #feb2b2;
  box-shadow: 0 4px 12px rgba(254, 178, 178, 0.2);
}
.lab-database-page .access-restricted .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #e53e3e;
}
.lab-database-page .access-restricted h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #742a2a;
  font-size: 1.75rem;
}
.lab-database-page .access-restricted p {
  color: #742a2a;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .lab-database-page .main-content {
    flex-direction: column;
  }
  .lab-database-page .filters-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-right: 0;
    margin-bottom: 2rem;
    position: relative;
    top: auto;
    max-height: none;
  }
}
@media (max-width: 768px) {
  .lab-database-page {
    padding: 5rem 0 1rem;
  }
  .lab-database-page .page-header {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }
  .lab-database-page .page-header .header-content h1 {
    font-size: 2rem;
  }
  .lab-database-page .page-header .lab-context {
    width: 100%;
  }
  .lab-database-page .page-header .lab-context .context-card {
    flex: 1;
    min-width: 140px;
  }
  .lab-database-page .page-header .download-button {
    width: 100%;
  }
  .lab-database-page .main-content {
    padding: 0 1.5rem 1rem;
  }
  .lab-database-page .filters-sidebar .filter-header {
    padding: 1.25rem 1.5rem;
  }
  .lab-database-page .filters-sidebar .filters-content {
    padding: 1.25rem 1.5rem;
  }
  .lab-database-page .table-wrapper {
    padding: 1.5rem;
  }
  .lab-database-page .table-wrapper table {
    font-size: 0.8125rem;
  }
  .lab-database-page .table-wrapper table th, .lab-database-page .table-wrapper table td {
    padding: 0.625rem 0.5rem;
  }
}
@media (max-width: 480px) {
  .lab-database-page .page-header .header-content h1 {
    font-size: 1.75rem;
  }
  .lab-database-page .page-header .lab-context {
    flex-direction: column;
  }
  .lab-database-page .page-header .lab-context .context-card {
    width: 100%;
  }
  .lab-database-page .filters-sidebar .filter-header {
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
  }
  .lab-database-page .filters-sidebar .filter-header .filter-title {
    flex: 1 1 100%;
    margin-bottom: 0.75rem;
  }
  .lab-database-page .filters-sidebar .filter-header .filter-actions {
    width: 100%;
    justify-content: space-between;
  }
  .lab-database-page .table-wrapper {
    padding: 1rem;
  }
  .lab-database-page .table-wrapper table {
    font-size: 0.75rem;
  }
  .lab-database-page .table-wrapper table th, .lab-database-page .table-wrapper table td {
    padding: 0.5rem 0.375rem;
  }
  .lab-database-page .multiselect-dropdown .multiselect-tag {
    max-width: 100px;
    font-size: 0.7rem;
  }
  .lab-database-page .modal-container {
    max-width: 95vw;
  }
  .lab-database-page .modal-header,
  .lab-database-page .modal-footer {
    padding: 1rem 1.5rem;
  }
  .lab-database-page .modal-body {
    padding: 1.5rem;
  }
}
.access-requests-page {
  background: #f3f4f6;
  min-height: 95vh;
  padding: 120px 1.5rem 40px;
}

.access-requests-container {
  max-width: 1180px;
  margin: 0 auto;
}

.access-requests-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
  width: 70vw;
  margin-left: -15rem;
}

.access-requests-card--restricted {
  text-align: center;
  padding: 3rem;
}

.access-requests-card--restricted h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.access-requests-card--restricted p {
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}

.access-requests-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.access-requests-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.35rem;
}

.access-requests-header p {
  margin: 0;
  color: #6b7280;
  max-width: 640px;
  line-height: 1.6;
}

.access-requests-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.access-requests-header__actions select {
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  padding: 0.6rem 1.25rem;
  background: #f9fafb;
  color: #1f2937;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-requests-header__actions select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.access-requests-button {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.access-requests-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.access-requests-button--primary {
  background: linear-gradient(135deg, #385cae, #5a7ce6);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(56, 92, 174, 0.3);
}

.access-requests-button--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 92, 174, 0.35);
}

.access-requests-button--secondary {
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.access-requests-button--secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.access-requests-button--ghost {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  box-shadow: none;
}

.access-requests-button--ghost:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #cbd5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.access-requests-button--ghost:disabled {
  opacity: 0.6;
}

.access-requests-button--warning {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.12);
}

.access-requests-button--warning:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.18);
  background: #ffedd5;
}

.access-requests-button--danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.12);
}

.access-requests-button--danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.18);
  background: #fecaca;
}

.access-requests-alert {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.access-requests-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.access-requests-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.access-requests-table-wrapper {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
}

.access-requests-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.access-requests-table thead {
  background: #f9fafb;
}

.access-requests-table th,
.access-requests-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.access-requests-table th {
  font-weight: 600;
  color: #1f2937;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #e5e7eb;
}

.access-requests-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease;
}

.access-requests-table tbody tr:hover {
  background: rgba(79, 70, 229, 0.05);
}

.access-requests-email {
  color: #385cae;
  text-decoration: none;
  word-break: break-all;
}

.access-requests-email:hover {
  text-decoration: underline;
}

.access-requests-reason {
  white-space: pre-line;
  max-width: 320px;
  color: #4b5563;
}

.access-requests-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.access-requests-status--approved {
  background: #ecfdf5;
  color: #047857;
}

.access-requests-status--review {
  background: #fef3c7;
  color: #92400e;
}

.access-requests-status--paused {
  background: #dbeafe;
  color: #1d4ed8;
}

.access-requests-status--stopped {
  background: #fef2f2;
  color: #b91c1c;
}

.access-requests-status--deleted {
  background: #ede9fe;
  color: #5b21b6;
}

.access-requests-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.access-requests-no-actions {
  color: #9ca3af;
  font-size: 0.9rem;
}

.access-requests-actions-column {
  width: 240px;
}

.access-requests-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
}

.access-requests-approve-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 10000;
}

.access-requests-approve-modal {
  background: #ffffff;
  border-radius: 20px;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.access-requests-approve-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.access-requests-approve-modal__header-text h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #1f2937;
}

.access-requests-approve-modal__header-text p {
  margin: 0.35rem 0 0;
  color: #4b5563;
  line-height: 1.5;
}

.access-requests-approve-modal__email {
  color: #1d4ed8;
}

.access-requests-approve-modal__close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.access-requests-approve-modal__close:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.access-requests-approve-modal__close:hover:not(:disabled) {
  color: #1f2937;
}

.access-requests-approve-modal__body {
  padding: 1.75rem 2rem 1.5rem;
  overflow-y: auto;
}

.access-requests-approve-modal__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.access-requests-approve-modal__details-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.access-requests-approve-modal__details-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.access-requests-approve-modal__details-value {
  font-weight: 600;
  color: #1f2937;
}

.access-requests-approve-modal__field {
  margin-bottom: 1.5rem;
}

.access-requests-approve-modal__select {
  appearance: none;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1rem + 4px), calc(100% - 13px) calc(1rem + 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.access-requests-approve-modal__field-hint {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.5;
}

.access-requests-approve-modal__label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.35rem;
}

.access-requests-approve-modal__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1rem;
}

.access-requests-approve-modal__input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.access-requests-approve-modal__input-row .access-requests-approve-modal__input {
  flex: 1;
  margin-bottom: 0;
  min-width: 200px;
}

.access-requests-approve-modal__input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.access-requests-approve-modal__input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.access-requests-approve-modal__hint {
  margin: 0 0 1rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.access-requests-approve-modal__actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.access-requests-approve-modal__hash {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.access-requests-approve-modal__hash-field {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #111827;
  background: #f9fafb;
  resize: none;
}

.access-requests-approve-modal__credentials {
  margin-top: 1.5rem;
  border: 1px dashed #cbd5f5;
  border-radius: 12px;
  background: #f8fafc;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.access-requests-approve-modal__credentials-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.access-requests-approve-modal__credentials-value {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  color: #111827;
  word-break: break-word;
}

.access-requests-approve-modal__hash-field:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.access-requests-approve-modal__alert {
  margin: 0;
}

.access-requests-approve-modal__textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 200px;
  resize: vertical;
  color: #111827;
  background: #ffffff;
}

.access-requests-approve-modal__textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.access-requests-approve-modal__textarea::placeholder {
  color: #9ca3af;
}

.access-requests-approve-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.access-requests-approve-modal__footer .access-requests-button {
  min-width: 180px;
}

.access-requests-name span {
  font-weight: 600;
  color: #111827;
}

@media (max-width: 1024px) {
  .access-requests-card {
    padding: 2rem;
  }
  .access-requests-table {
    min-width: 100%;
  }
}
@media (max-width: 768px) {
  .access-requests-page {
    padding-top: 100px;
  }
  .access-requests-card {
    padding: 1.75rem;
  }
  .access-requests-approve-modal {
    width: min(520px, 100%);
  }
  .access-requests-header h1 {
    font-size: 1.6rem;
  }
  .access-requests-header__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 576px) {
  .access-requests-card {
    padding: 1.5rem;
  }
  .access-requests-header h1 {
    font-size: 1.4rem;
  }
  .access-requests-header__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .access-requests-header__actions select,
  .access-requests-button {
    width: 100%;
  }
  .access-requests-approve-modal {
    width: 100%;
    max-height: 100vh;
  }
  .access-requests-approve-modal__header,
  .access-requests-approve-modal__body,
  .access-requests-approve-modal__footer {
    padding: 1.25rem 1.25rem 1rem;
  }
  .access-requests-approve-modal__hash {
    grid-template-columns: 1fr;
  }
  .access-requests-approve-modal__footer {
    flex-direction: column-reverse;
  }
  .access-requests-approve-modal__footer .access-requests-button {
    width: 100%;
  }
}

