@import "../../../vendor/css/style.css";
@import "../../../vendor/css/superfish.css";

/* UI Components try to respect [BEM](http://getbem.com/naming/) for the naming of their CSS classes */
@import "../../../frontend/booth/components/PageHeader.css";
@import "../../../frontend/booth/components/Progress.css";
@import "../../../frontend/booth/components/PageFooter.css";
@import "../../../frontend/booth/components/NiceButton.css";
@import "../../../frontend/booth/components/NiceInput.css";
@import "../../../frontend/booth/components/common.css";

@import "./common.css";
@import "./NavMenu.css";

#main {
  padding: 18px;
}

body {
  background: var(--body-background);
  background-image: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.06) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--font-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (max-width: 640px) {
  body {
    margin: 0;
  }
}

@media screen and (min-width: 640px) {
  body {
    margin: 16px;
  }
}

@media print {
  .noprint {
    display: none !important;
  }
}

.page {
  max-width: 880px;
  margin: 0 auto;
  margin-bottom: 100px; /* leave some space for sticky footer */
  box-shadow: var(--page-shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-body {
  background: var(--background-light);
}

.cookie-disclaimer {
  padding: 12px 16px;
  margin: 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.sticky-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding: 6px 0;
}

.container--center {
    text-align: center;
}

.separator--clear {
    clear: both;
}

.status--failure {
    color: #dc2626;
}

a {
    color: var(--accent);
    transition: color 0.15s ease;
}
a:hover {
    color: var(--accent-hover);
}

#audit-footer {
    line-height: 1.5em;
}

#start {
    font-size: 35px;
}

#see-accepted-ballots {
    font-size: 25px;
}

.contribute-to-translations {
    font-size: 80%;
    font-style: italic;
    text-align: right;
}
