/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

:root {
  --black: #121215;
  --bright-blue: #4477ce;
  --light-blue: #284577;
  --light-grey: #e2e2e2;
  --mid-blue: #192437;
  --mid-grey: #7d7d8c;
  --dark-blue: #1a1d23;
  --dark-yellow: #ffb81e;
  --dark-yellow-trans: rgba(255, 184, 30, 0.08);
  --status-red: #b31e1e;
  --status-success: #3ba021;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin: 0;
}

.top-bar {
  align-items: center;
  background-color: var(--dark-blue);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
  display: flex;
  padding: 24px 40px;
  position: relative;
}

.top-bar-icons {
  flex: 1;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.icon {
  background: none;
  border: none;
  display: block;
  color: var(--dark-yellow);
  cursor: pointer;
  padding: 0;
}

.icon.danger {
  background-color: transparent;
  color: var(--status-red);
}

.icon.success {
  background-color: transparent;
  color: var(--status-success);
}

.icon.active {
  color: var(--white);
  cursor: default;
}

.icon.disabled {
  color: var(--light-blue);
  cursor: default;
}

.gapped-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  font-size: 18px;
  font-variation-settings: "wght" 600;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

h2,
.h2 {
  font-size: 24px;
  font-variation-settings: "wght" 500;
  margin: 0;
}

h3 {
  color: var(--light-grey);
  font-size: 16px;
  font-variation-settings: "wght" 600;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

/* For Quantity and Markup adjustments */
h3.wide {
  width: 132px;
}

.card {
  background-color: var(--dark-blue);
  border: 2px solid var(--mid-blue);
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 34px;
  width: 390px;
}

.header {
  align-items: center;
  background-color: var(--mid-blue);
  display: flex;
  padding: 30px 34px;
  width: 390px;
}

.card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
}

a {
  text-decoration: none;
  color: var(--white);
}

.p1 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-variation-settings: "wght" 400;
  line-height: 24px;
}

button,
input[type="submit"] {
  background-color: var(--dark-yellow-trans);
  border-radius: 12px;
  border-width: 0;
  color: var(--dark-yellow);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-variation-settings: "wght" 600;
  padding: 8px 18px;
}

input[type="submit"] {
  padding: 12px 18px;
}

.fullw {
  width: 100%;
}

button.bright,
input[type="submit"].bright {
  background-color: var(--dark-yellow);
  color: var(--dark-blue);
}

button[disabled],
input[type="submit"][disabled] {
  background-color: var(--mid-blue);
  color: var(--mid-grey);
}

button.danger {
  background-color: var(--status-red);
  color: var(--white);
}

pre {
  font-family: "Roboto Mono";
  margin: 0;
  text-align: right;
}

svg {
  display: block;
}

table {
  border-spacing: 0 10px;
  width: 100%;
}

th {
  color: var(--mid-grey);
  font-family: "Inter";
  font-size: 12px;
  font-variation-settings: "wght" 600;
  letter-spacing: 0.09em;
  padding: 0;
  text-align: end;
  text-transform: uppercase;
}

th:first-of-type {
  text-align: start;
}

td {
  padding: 0;
}

hr {
  border: none;
  border-top: 2px solid var(--mid-blue);
  height: 0;
  margin: 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Only show expanded icon if parent is active, and don't show collapsed one if parent is active */
.expanded {
  display: none;
}

.active .expanded {
  display: block;
}

.active .collapsed {
  display: none;
}

.four-col {
  display: flex;
  align-items: center;
}

.four-col > * {
  overflow: hidden;
  width: 25%;
}

button.plusminus {
  background: none;
  border: none;
  color: var(--dark-yellow);
  cursor: pointer;
  font-family: "Roboto Mono";
  font-size: 18px;
  padding: 0;
}

pre.editable {
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0;
  position: relative; /* Lets .unit-mark be positioned relative to this */
  text-align: center;
}

pre.editable.small {
  width: 42px;
  height: 28px;
  line-height: 1.6;
}

pre.editable.wide {
  width: 64px;
}

ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result {
  align-items: center;
  background: none;
  border: none;
  color: var(--dark-yellow);
  display: block;
  display: flex;
  font-variation-settings: "wght" 400;
  gap: 4px;
  padding: 0;
  text-align: start;
  width: 100%;
}

.search-result-name {
  flex: 1;
}

.task-type {
  align-items: center;
  color: var(--light-grey);
  display: flex;
  font-size: 12px;
  gap: 4px;
}

.task-type svg {
  color: var(--bright-blue);
}

input {
  background-color: var(--mid-blue);
  border: 1px solid var(--dark-yellow);
  border-radius: 6px;
  color: var(--white);
  font-family: "Inter";
  font-size: 16px;
  font-variation-settings: "wght" 400;
  padding: 6px 10px;
  width: 100%;
}

input::placeholder {
  color: var(--white);
  opacity: 1;
}

dialog {
  background-color: var(--mid-blue);
  border: 2px solid var(--light-blue);
  border-radius: 12px;
  padding: 0;
}

form[method="dialog"] {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 34px;
  width: 350px;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}

form.rename {
  display: flex;
  gap: 4px;
  width: 100%;
}

div.project-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: -30px -34px;
  padding: 30px 34px;
  gap: 10px;
}

/* Utility for hiding sections by only swapping classes */
.hidden {
  display: none;
}

.unit-mark {
  position: absolute;
}

p {
  margin: 0;
}

p.notice,
p.alert {
  visibility: hidden;
}

div.tags {
  display: flex;
  gap: 6px;
  overflow: scroll; /* Prevents tags from exceeding column width */
  scrollbar-width: none;
}

div.tag {
  background-color: var(--mid-blue);
  border-radius: 6px;
  color: var(--light-grey);
  font-size: 12px;
  margin-top: 6px;
  padding: 2px 6px;
  white-space: nowrap;
}

.add-fee-form {
  border: solid 2px var(--mid-blue);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area-task-header-qty {
  color: var(--dark-yellow);
  font-size: 16px;
  font-variation-settings: "wght" 500;
}

.devise-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.devise-card {
  background-color: var(--dark-blue);
  width: 400px;
  border-radius: 12px;
  border: 1px solid var(--dark-yellow);
  padding: 36px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.devise-card form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.devise-card .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

.marketing-page {
  --marketing-bg: #121215;
  --marketing-primary: #1a1d23;
  --marketing-highlight: #192437;
  --marketing-small-highlight: #202f48;
  --marketing-brand: #ffb81e;
  --marketing-quiet: #7d7d8c;

  background: var(--marketing-bg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 100vh;
  overflow: hidden;
}

.marketing-page p,
.marketing-page h1,
.marketing-page h2 {
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.marketing-flash {
  background: var(--marketing-brand);
  color: var(--marketing-primary);
  font-size: 16px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 24px;
  text-align: center;
}

.marketing-header {
  align-items: center;
  background: var(--marketing-primary);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 18px 24px;
  position: relative;
  z-index: 2;
}

.marketing-logo {
  display: block;
  height: 24px;
  width: auto;
}

.marketing-login-button,
.marketing-primary-button {
  align-items: center;
  background: var(--marketing-brand);
  border-radius: 12px;
  color: var(--marketing-primary);
  display: inline-flex;
  font-size: 16px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  justify-content: center;
  line-height: 24px;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
}

.marketing-login-button {
  font-size: 12px;
  line-height: 16px;
  min-height: 36px;
  padding: 10px 18px;
}

.marketing-primary-button {
  width: 100%;
}

.marketing-hero {
  align-items: flex-start;
  display: flex;
  height: 387px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.marketing-hero-image,
.marketing-phone-image {
  display: block;
  max-width: none;
  pointer-events: none;
  position: absolute;
}

.marketing-hero-image {
  height: 1043px;
  left: 50%;
  object-fit: cover;
  top: -78px;
  transform: translateX(-50%);
  width: 1547px;
}

.marketing-hero h1 {
  color: var(--white);
  font-size: 16px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  line-height: 24px;
  padding-top: 15px;
  position: relative;
  text-align: center;
  width: min(318px, calc(100% - 72px));
  z-index: 1;
}

.marketing-band {
  align-items: center;
  background: var(--marketing-highlight);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.marketing-intro {
  font-size: 20px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  line-height: 24px;
  padding: 36px 24px;
}

.marketing-intro p,
.marketing-secondary-copy p,
.marketing-cta p {
  max-width: 550px;
}

.marketing-intro p + p,
.marketing-secondary-copy p + p,
.marketing-cta p + p {
  margin-top: 12px;
}

.marketing-signup {
  gap: 24px;
  padding: 36px;
}

.marketing-login-prompt {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.marketing-login-prompt p {
  font-size: 12px;
  line-height: 16px;
}

.marketing-login-prompt a {
  color: var(--marketing-brand);
  font-size: 16px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  line-height: 24px;
}

.marketing-secondary-copy {
  font-size: 16px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  line-height: 24px;
  padding: 24px;
}

.marketing-steps {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.marketing-steps h2 {
  color: var(--white);
  font-size: 18px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.marketing-steps ol {
  gap: 24px;
  max-width: 550px;
  width: 100%;
}

.marketing-steps li {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  min-height: 48px;
}

.marketing-step-icon {
  align-items: center;
  color: var(--marketing-brand);
  display: flex;
  flex: 0 0 80px;
  justify-content: center;
}

.marketing-steps li > span:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.marketing-steps strong {
  color: var(--marketing-brand);
  font-size: 16px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  line-height: 24px;
}

.marketing-steps li span span {
  color: var(--white);
  font-size: 12px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  line-height: 16px;
}

.marketing-phone-section {
  align-items: flex-start;
  display: flex;
  height: 907px;
  justify-content: center;
  overflow: hidden;
  padding: 36px;
  position: relative;
  text-align: center;
}

.marketing-phone-image {
  height: 975px;
  left: 50%;
  object-fit: cover;
  top: -68px;
  transform: translateX(-50%);
  width: 1205px;
}

.marketing-phone-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 16px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  height: 100%;
  justify-content: space-between;
  line-height: 24px;
  max-width: 550px;
  min-width: 0;
  position: relative;
}

.marketing-cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}

.marketing-cta h2 {
  font-size: 24px;
  font-variation-settings: "wght" 500;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 24px;
}

.marketing-cta p {
  font-size: 16px;
  line-height: 24px;
}

.marketing-cta .marketing-primary-button {
  margin-top: 24px;
}

.marketing-footer {
  align-items: center;
  background: var(--marketing-small-highlight);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
}

.marketing-footer hr {
  border-top-color: var(--light-blue);
  width: 200px;
}

.marketing-email {
  color: var(--marketing-quiet);
  font-size: 12px;
  line-height: 16px;
  min-height: 24px;
}

.marketing-canada {
  align-items: center;
  display: flex;
  font-size: 16px;
  gap: 4px;
  justify-content: center;
  line-height: 24px;
}

.marketing-canada span {
  color: #e31b23;
  font-size: 12px;
}

@media (min-width: 700px) {
  .marketing-page {
    background: var(--marketing-bg);
  }

  .marketing-hero {
    height: 561px;
    padding: 30px 36px;
  }

  .marketing-hero-image {
    height: 1463px;
    top: -109px;
    width: 2170px;
  }

  .marketing-hero h1 {
    font-size: 20px;
    padding-top: 0;
    width: 400px;
  }

  .marketing-intro {
    padding: 36px 24px;
  }

  .marketing-signup {
    padding: 36px;
  }

  .marketing-primary-button {
    max-width: 240px;
  }

  .marketing-secondary-copy {
    padding: 24px;
  }

  .marketing-steps {
    padding: 36px;
  }

  .marketing-phone-image {
    height: 1129px;
    top: -129px;
    width: 1395px;
  }

  .marketing-cta {
    padding: 24px;
  }
}

.survey-page {
  --survey-bg: #121215;
  --survey-card: #1a1d23;
  --survey-field: rgba(255, 255, 255, 0.08);
  --survey-field-blue: #192437;
  --survey-track: #202f48;
  --survey-brand: #ffb81e;
  --survey-quiet: #7d7d8c;

  align-items: center;
  background: var(--survey-card);
  color: var(--white);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.survey-page p,
.survey-page button {
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.survey-card {
  align-items: center;
  background: var(--survey-card);
  border: 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 36px;
  width: 100%;
}

.survey-logo-frame {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.survey-logo {
  display: block;
  height: 30px;
  width: auto;
}

.survey-logo-frame p {
  color: var(--white);
  font-size: 12px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  width: 100%;
}

.survey-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.survey-question {
  align-items: flex-start;
  display: flex;
  font-size: 16px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  gap: 8px;
  line-height: 24px;
  width: 100%;
}

.survey-number {
  flex: 0 0 24px;
}

.survey-question p {
  flex: 1;
  min-width: 0;
}

.survey-question strong {
  font-variation-settings: "wght" 600;
  font-weight: 600;
}

.survey-slider-row,
.survey-input-row {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  padding: 8px;
  width: 100%;
}

.survey-slider-row output,
.survey-number-input {
  align-items: center;
  background: var(--survey-field);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  display: flex;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  height: 28px;
  justify-content: center;
  line-height: 24px;
  padding: 0;
  text-align: center;
  width: 42px;
}

.survey-number-input {
  flex: 0 0 auto;
  width: 48px;
}

.survey-money-input {
  width: 48px;
}

.survey-comment-input {
  background: var(--survey-field-blue);
  border: 1px solid var(--survey-brand);
  border-radius: 6px;
  color: var(--white);
  flex: 1;
  font-size: 16px;
  font-variation-settings: "wght" 500;
  font-weight: 500;
  line-height: 24px;
  min-height: 36px;
  min-width: 0;
  padding: 6px 10px;
}

.survey-comment-input::placeholder {
  color: var(--survey-quiet);
}

.survey-page input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background:
    radial-gradient(circle at 0% 50%, #284577 0 2px, transparent 2.5px),
    radial-gradient(circle at 25% 50%, #284577 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 50%, #284577 0 2px, transparent 2.5px),
    radial-gradient(circle at 75% 50%, #284577 0 2px, transparent 2.5px),
    radial-gradient(circle at 100% 50%, #284577 0 2px, transparent 2.5px),
    linear-gradient(var(--survey-track), var(--survey-track));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 6px;
  border: 0;
  cursor: pointer;
  flex: 1;
  height: 28px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.survey-slider-row input[type="range"] {
  background:
    radial-gradient(circle at 100% 50%, #284577 0 2px, transparent 2.5px),
    linear-gradient(var(--survey-field), var(--survey-field));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 6px;
}

.survey-page input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--survey-brand);
  border: 0;
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.survey-page input[type="range"]::-moz-range-thumb {
  background: var(--survey-brand);
  border: 0;
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.survey-likert {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  width: 100%;
}

.survey-likert-labels {
  align-items: flex-start;
  display: flex;
  font-size: 12px;
  font-variation-settings: "wght" 400;
  font-weight: 400;
  justify-content: space-between;
  line-height: 16px;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

.survey-likert-labels span {
  width: 48px;
}

.survey-likert-labels span:first-child,
.survey-likert-labels span:last-child {
  width: 64px;
}

.survey-submit,
input[type="submit"].survey-submit {
  background: var(--survey-brand);
  border: 0;
  border-radius: 12px;
  color: var(--survey-card);
  font-size: 16px;
  font-variation-settings: "wght" 600;
  font-weight: 600;
  line-height: 24px;
  min-height: 48px;
  padding: 12px 18px;
  width: 100%;
}

@media (min-width: 700px) {
  .survey-page {
    align-items: flex-start;
    background: var(--survey-bg);
    padding: 36px;
  }

  .survey-card {
    border: 1px solid var(--survey-brand);
    width: 400px;
  }
}
