/*Import font css*/
@import url(Figtree.css);

:root {
    --mhs-primary-background: hsl(0,0%,95%);
    --mhs-primary-color: hsl(0,0%,10%);
    --mhs-grand-ff-extralight: Figtree-ExtraLight;
    --mhs-grand-ff-light: Figtree-Light;
    --mhs-grand-ff-regular: Figtree-Regular;
    --mhs-grand-ff-medium: Figtree-Medium;
    --mhs-grand-ff-semibold: Figtree-SemiBold;
    --mhs-grand-ff-bold: Figtree-Bold;
    --mhs-grand-ff-extrabold: Figtree-ExtraBold;
    --mhs-grand-ff-black: Figtree-Black;
    --btn-opt1-color: hsl(212,100%,50%);
    --btn_opt1-hover: hsl(212,100%,44%);
    --color-opt1-dark: hsl(270,67%,15%);
    --color-opt-2: hsl(0, 74%, 50%);
    --color-opt-green: hsl(122, 46%, 45%);
    --color-opt-sky: hsl(195, 69%, 82%);
    --color-opt-green-hover: hsl(122, 66%, 45%);
    --color-hero-dark: hsl(216, 21%, 18%);
    --color-dark-blue: hsl(216, 45%, 45%);
    --color-light-blue: hsl(216, 15%, 76%);
    --color-gold: hsl(37, 89%, 72%);
    --color-tooltip: hsl(207, 71%, 93%);
    --hs: 0, 0%,;
    --hsl-100: hsl(var(--hs) 100%);
    --hsl-95: hsl(var(--hs) 95%);
    --hsl-90: hsl(var(--hs) 90%);
    --hsl-85: hsl(var(--hs) 85%);
    --hsl-80: hsl(var(--hs) 80%);
    --hsl-75: hsl(var(--hs) 75%);
    --hsl-70: hsl(var(--hs) 70%);
    --hsl-65: hsl(var(--hs) 65%);
    --hsl-60: hsl(var(--hs) 60%);
    --hsl-55: hsl(var(--hs) 55%);
    --hsl-50: hsl(var(--hs) 50%);
    --hsl-45: hsl(var(--hs) 45%);
    --hsl-40: hsl(var(--hs) 40%);
    --hsl-35: hsl(var(--hs) 35%);
    --hsl-30: hsl(var(--hs) 30%);
    --hsl-25: hsl(var(--hs) 25%);
    --hsl-20: hsl(var(--hs) 20%);
    --hsl-15: hsl(var(--hs) 15%);
    --hsl-10: hsl( var(--hs) 10%);
    --hsl-05: hsl(var(--hs) 5%);
    --hsl-00: hsl(var(--hs) 0%);
    --shadow-color: hsla(0, 0%, 0%, 25%);
    --marker-bg-on: hsl(216, 45%, 35%);
    --marker-text-on: hsl(0, 0%, 100%);
    --marker-bg-off: hsl(0, 0%, 90%);
    --marker-text-off: hsl(0, 0%, 65%);
    --marker-light: hsl(0, 0%, 65%);
    --marker-bg-done: hsl(100, 40%, 45%);
    --bridge-color: hsl(0, 0%, 85%);
    --type-ic: hsl(100, 40%, 45%);
    --type-oc: hsl(216, 40%, 45%);
    --button-ff-color: hsl(0, 0%, 100%);
    --button-bg-color: hsl(216, 40%, 45%);
    --input-outline: hsl(216, 60%, 60%);
    --input-label-color: hsl(0, 0%, 35%);
    --input-bg: hsl(0, 0%, 100%);
    --input-border: hsl(0, 0%, 85%);
    --stealth-color: hsl(0, 0%, 10%);
    --stealth-hover: hsl(0, 0%, 85%);
    --review-lable-color: hsl(0, 0%, 10%);
    --review-value-color: hsl(0, 0%, 35%);
    --footer-border: #e5e5e5;
    --footer-link: #0077cc;
    --footer-bg: hsl(0, 0%, 100%);
    --footer-text: hsl(0, 0%, 40%);
    --brand-wordmark: #23354F;
    --theme-toggle-bg: hsl(0, 0%, 100%);
    --theme-toggle-border: hsl(0, 0%, 85%);
    --theme-toggle-hover: hsl(0, 0%, 90%);
    --submitted-meta-color: hsl(0, 0%, 40%);
    --privacy-panel-bg: hsl(0, 0%, 100%);
    --privacy-panel-text: hsl(0, 0%, 15%);
    --privacy-panel-muted: hsl(0, 0%, 40%);
    --privacy-backdrop: hsla(216, 21%, 10%, 0.45);
    --site-footer-height: 64px;
}

/* Dark tokens: explicit preference or OS preference when unset */
:root[data-theme="dark"],
:root[data-bs-theme="dark"] {
    --mhs-primary-background: hsl(216, 21%, 12%);
    --mhs-primary-color: hsl(0, 0%, 92%);
    --hsl-100: hsl(216, 18%, 16%);
    --hsl-95: hsl(216, 16%, 18%);
    --hsl-90: hsl(216, 14%, 22%);
    --hsl-85: hsl(216, 12%, 28%);
    --hsl-80: hsl(216, 10%, 34%);
    --hsl-10: hsl(0, 0%, 92%);
    --marker-bg-on: hsl(216, 50%, 48%);
    --marker-bg-off: hsl(216, 12%, 24%);
    --marker-text-off: hsl(0, 0%, 62%);
    --marker-light: hsl(0, 0%, 62%);
    --marker-bg-done: hsl(122, 35%, 38%);
    --bridge-color: hsl(216, 12%, 30%);
    --type-ic: hsl(122, 35%, 38%);
    --type-oc: hsl(216, 45%, 48%);
    --button-bg-color: hsl(216, 50%, 48%);
    --input-outline: hsl(216, 55%, 55%);
    --input-label-color: hsl(0, 0%, 72%);
    --input-bg: hsl(216, 18%, 16%);
    --input-border: hsl(216, 12%, 32%);
    --stealth-color: hsl(0, 0%, 90%);
    --stealth-hover: hsl(216, 14%, 22%);
    --review-lable-color: hsl(0, 0%, 94%);
    --review-value-color: hsl(0, 0%, 72%);
    --footer-border: hsl(216, 12%, 24%);
    --footer-link: hsl(210, 80%, 70%);
    --footer-bg: hsl(216, 21%, 10%);
    --footer-text: hsl(0, 0%, 70%);
    --brand-wordmark: hsl(0, 0%, 92%);
    --theme-toggle-bg: hsl(216, 18%, 16%);
    --theme-toggle-border: hsl(216, 12%, 32%);
    --theme-toggle-hover: hsl(216, 14%, 22%);
    --submitted-meta-color: hsl(0, 0%, 65%);
    --privacy-panel-bg: hsl(216, 21%, 12%);
    --privacy-panel-text: hsl(0, 0%, 92%);
    --privacy-panel-muted: hsl(0, 0%, 68%);
    --privacy-backdrop: hsla(0, 0%, 0%, 0.55);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-bs-theme="light"]) {
        --mhs-primary-background: hsl(216, 21%, 12%);
        --mhs-primary-color: hsl(0, 0%, 92%);
        --hsl-100: hsl(216, 18%, 16%);
        --hsl-95: hsl(216, 16%, 18%);
        --hsl-90: hsl(216, 14%, 22%);
        --hsl-85: hsl(216, 12%, 28%);
        --hsl-80: hsl(216, 10%, 34%);
        --hsl-10: hsl(0, 0%, 92%);
        --marker-bg-on: hsl(216, 50%, 48%);
        --marker-bg-off: hsl(216, 12%, 24%);
        --marker-text-off: hsl(0, 0%, 62%);
        --marker-light: hsl(0, 0%, 62%);
        --marker-bg-done: hsl(122, 35%, 38%);
        --bridge-color: hsl(216, 12%, 30%);
        --type-ic: hsl(122, 35%, 38%);
        --type-oc: hsl(216, 45%, 48%);
        --button-bg-color: hsl(216, 50%, 48%);
        --input-outline: hsl(216, 55%, 55%);
        --input-label-color: hsl(0, 0%, 72%);
        --input-bg: hsl(216, 18%, 16%);
        --input-border: hsl(216, 12%, 32%);
        --stealth-color: hsl(0, 0%, 90%);
        --stealth-hover: hsl(216, 14%, 22%);
        --review-lable-color: hsl(0, 0%, 94%);
        --review-value-color: hsl(0, 0%, 72%);
        --footer-border: hsl(216, 12%, 24%);
        --footer-link: hsl(210, 80%, 70%);
        --footer-bg: hsl(216, 21%, 10%);
        --footer-text: hsl(0, 0%, 70%);
        --brand-wordmark: hsl(0, 0%, 92%);
        --theme-toggle-bg: hsl(216, 18%, 16%);
        --theme-toggle-border: hsl(216, 12%, 32%);
        --theme-toggle-hover: hsl(216, 14%, 22%);
        --submitted-meta-color: hsl(0, 0%, 65%);
        --privacy-panel-bg: hsl(216, 21%, 12%);
        --privacy-panel-text: hsl(0, 0%, 92%);
        --privacy-panel-muted: hsl(0, 0%, 68%);
        --privacy-backdrop: hsla(0, 0%, 0%, 0.55);
        color-scheme: dark;
    }
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: var(--mhs-grand-ff-regular), "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased; /* Smoothens fonts */
    background-color: var(--mhs-primary-background);
    color: var(--mhs-primary-color);
    margin-bottom: 0;
    padding-bottom: calc(var(--site-footer-height) + 24px);
}

body.privacy-open {
    overflow: hidden;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

header {
    margin-top: 60px;
}

header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.header-brand {
    display: flex;
    flex-direction: column;
}

.brand-wordmark path {
    fill: var(--brand-wordmark);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--theme-toggle-border);
    background-color: var(--theme-toggle-bg);
    color: var(--mhs-primary-color);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 180ms;
}

.theme-toggle:hover {
    background-color: var(--theme-toggle-hover);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
    width: 20px;
    height: 20px;
}

/* Show moon in light mode (click to go dark); sun in dark mode (click to go light) */
html[data-theme="light"] .theme-toggle .icon-moon,
html[data-bs-theme="light"] .theme-toggle .icon-moon,
html:not([data-theme]):not([data-bs-theme]) .theme-toggle .icon-moon {
    display: block;
}

html[data-theme="dark"] .theme-toggle .icon-sun,
html[data-bs-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]):not([data-bs-theme]) .theme-toggle .icon-moon {
        display: none;
    }

    html:not([data-theme]):not([data-bs-theme]) .theme-toggle .icon-sun {
        display: block;
    }
}

/* Fixed site footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--site-footer-height);
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    box-shadow: 0 -2px 12px hsla(0, 0%, 0%, 0.06);
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-height: var(--site-footer-height);
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-footer-brand-mark {
    flex-shrink: 0;
    height: 28px;
    width: auto;
}

.site-footer-brand-name {
    font-family: var(--mhs-grand-ff-semibold);
    font-size: 0.9rem;
    color: var(--mhs-primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 0.875rem;
}

.site-footer-copy {
    color: var(--footer-text);
}

.footer-privacy-link {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-family: var(--mhs-grand-ff-medium);
    color: var(--footer-link);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
    color: var(--button-bg-color);
    outline: none;
}

/* Privacy flyout */
.privacy-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--privacy-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.privacy-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.privacy-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    width: min(480px, 100vw);
    display: flex;
    flex-direction: column;
    background-color: var(--privacy-panel-bg);
    color: var(--privacy-panel-text);
    box-shadow: -8px 0 32px hsla(0, 0%, 0%, 0.18);
    transform: translateX(100%);
    transition: transform 240ms ease;
    visibility: hidden;
}

.privacy-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.privacy-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--footer-border);
    flex-shrink: 0;
}

.privacy-panel-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-family: var(--mhs-grand-ff-bold);
}

.privacy-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--theme-toggle-border);
    background-color: var(--theme-toggle-bg);
    color: var(--mhs-primary-color);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.privacy-panel-close:hover {
    background-color: var(--theme-toggle-hover);
}

.privacy-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.privacy-content h3 {
    font-size: 1.05rem;
    font-family: var(--mhs-grand-ff-bold);
    margin: 1.5rem 0 0.5rem;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--privacy-panel-text);
}

.privacy-content .privacy-meta {
    color: var(--privacy-panel-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.privacy-content ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.privacy-content a {
    color: var(--footer-link);
}

.submitted-meta {
    color: var(--submitted-meta-color);
    margin-top: 8px;
    font-size: 0.95rem;
}

.thankyou-actions {
    margin-top: 32px;
}

@media (max-width: 576px) {
    .site-footer-brand-name {
        font-size: 0.8rem;
    }

    .site-footer-meta {
        width: 100%;
        justify-content: space-between;
    }
}

.pace-container {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%; 
}

.primary-button {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    height: 48px;
    padding: 0px 20px;
    font-family: var(--mhs-grand-ff-medium);
    cursor: pointer;
    transition: background-color 180ms;
    text-decoration: none;
}

a.primary-button:hover {
    text-decoration: none;
}

    .primary-button.accent {
        color: var(--button-ff-color);
        background-color: var(--button-bg-color);
        fill: var(--button-ff-color);
    }

    .primary-button.stealth {
        color: var(--stealth-color);
        fill: var(--stealth-color);
        background-color: transparent;
    }

    .primary-button.stealth:hover {
        background-color: var(--stealth-hover);
    }

    

.container-limit {
    max-width: 800px;
}

.container-split {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
}

.input-container {
    display: flex;
    flex-direction: column;
    max-width: 380px;
    flex-grow: 1
}

.input-container.right  {
    justify-self: end;
}

.input-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.input-class {
    height: 40px;
    padding-left: 12px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--mhs-primary-color);
    font-family: var(--mhs-grand-ff-medium);
    line-height: 30px;
    width: 100%;
}

.input-class:focus {
    border-bottom: 2px solid var(--input-outline);
    outline: none;
}

.input-label {
    font-family: var(--mhs-grand-ff-bold);
    color: var(--input-label-color);
}

.title-container {
    margin-top: 16px;
    margin-bottom: 16px;
}

.title-header {
    font-size: 1.25rem;
    font-family: var(--mhs-grand-ff-extrabold);
}

.tracker-bar {
    display: flex;
    flex-direction: row;
    max-width: 400px;
    margin-bottom: 60px;
}

    .tracker-bar .track-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .tracker-bar .marker {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 16px;
    }

    .t-on .marker {
        background-color: var(--marker-bg-on);
        color: var(--marker-text-on);
        font-family: var(--mhs-grand-ff-bold);
    }

    .t-on .label {
        font-family: var(--mhs-grand-ff-bold);
    }

    .t-off .marker {
        background-color: var(--marker-bg-off);
        color: var(--marker-text-off);
        font-family: var(--mhs-grand-ff-bold);
    }

    .t-off .label {
        color: var(--marker-light);
    }

.t-done .marker {
    background-color: var(--marker-bg-done);
}

    .t-done .label {
        color: var(--marker-light);
    }

    .tracker-bar .bridge {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 32px;
    }

    .tracker-bar .bridge-marker {
        width: 100px;
        height: 2px;
        border-radius: 2px;
        background-color: var(--bridge-color);
    }

.welcome-container {
    margin-bottom: 60px;
}

.welcome-header {
    font-size: 2.5rem;
    font-family: var(--mhs-grand-ff-bold);
}

.selector-label {
    font-family: var(--mhs-grand-ff-bold);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.type-selector {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.type-button {
    display: inline-flex;
    padding: 12px 32px;
    border-radius: 12px;
    font-family: var(--mhs-grand-ff-medium);
    font-size: 1.25rem;
    color: var(--button-ff-color);
    cursor: pointer;
    transition: opacity 180ms;
}

    .type-button:hover {
        opacity: 90%;
    }

    .type-button.ic {
        background-color: var(--type-ic);
        border: none;
    }

    .type-button.oc {
        background-color: var(--type-oc);
        border: none;
    }

.ad-2 {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.st-i {
    width: 100px;
}

.zc-i {
    width: 120px;
}

.form-select select {
    outline: none;
}

.review-label {
    font-family: var(--mhs-grand-ff-bold);
    color: var(--review-lable-color);
}

.review-value {
    color: var(--review-value-color);
}