﻿:root {
    /* Colors */
    --falck-red: #ff1e2d;
    --body-text: #4d4d4d;
    --header-text: #66182a;
    --outline-gray: #cccccc;
    --divider-gray: #ebebeb;
    --border-gray: #cecece;
    --frame-border: #d1d4d3;
    --input-border: #d4d4d4;
    --header-border: #e6e6e6;
    --wash-code-background: #f0f0f0;
    /* Layout */
    --gutter: 5%;
    --border-radius: 20px;
    /* Typography */
    --body-font-family: Mark OT, Helvetica, Arial, sans-serif;
    --header-font-family: Mark OT Bold, Helvetica, Arial, sans-serif;
}

/* General */

@font-face {
    font-family: "Mark OT";
    src: url('/Fonts/MarkW01-Regular.woff2');
}

@font-face {
    font-family: "Mark OT Medium";
    src: url('/Fonts/MarkW01-Medium.woff2');
}

@font-face {
    font-family: "Mark OT Heavy";
    src: url('/Fonts/MarkW01-Heavy.woff2');
}

@font-face {
    font-family: "Mark OT Bold";
    src: url('/Fonts/MarkW01-Heavy.woff2');
}

* {
    box-sizing: border-box;
    font-family: var(--body-font-family);
    color: var(--body-text);
}

body {
    margin: 0;
    text-align: center;
    padding: 30px;
    line-height: 26px;
}

a {
    text-decoration: none;
    color: var(--falck-red);
    letter-spacing: 1px;
}

ul {
    text-align: left;
    padding-left: 1rem;
    margin: 0;
}

.hidden {
    display: none;
}

h1 {
    font-size: 32px;
    line-height: 42px;
    font-weight: 800;
    border-bottom: 1px solid var(--header-border);
    padding-bottom: 20px;
    font-family: var(--header-font-family);
    color: var(--header-text);
}

h2 {
    font-weight: 700;
    color: var(--header-text);
    font-size: 24px;
    line-height: 34px;
    margin: 0;
    font-family: var(--header-font-family);
}

/* Components */
.button {
    margin: var(--gutter) auto;
    border-radius: var(--border-radius);
    color: white;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 20px;
    background-color: var(--falck-red);
    border: none;
    font-size: 14px;
    display: block;
    width: fit-content;
    font-weight: 800;
    font-family: var(--header-font-family);
    letter-spacing: 2px;
    line-height: 24px;
}

.button:disabled,
.button[disabled] {
    opacity: 0.3;
    pointer-events: none;
}

.footer {
    margin: 20px 0 0 0;
    display: flex;
    justify-content: space-between;
    column-gap: 15px;
}

.start__summary {
    margin: 40px 40px 60px;
}

.start__washes-number {
    font-size: 28px;
    line-height: 38px;
}

.start__washes-number {
    font-size: 100px;
    text-align: center;
    font-weight: 800;
    font-family: var(--header-font-family);
    color: var(--header-text);
    line-height: normal;
}

.start__header {
    line-height: 38px;
    font-size: 28px;
}

.start__see-used-washes {
    font-weight: 700;
}

.footer__caption {
    font-weight: 700;
    font-size: 15px;
    color: var(--header-text);
}

.footer__icon {
    display: block;
    margin: 10px auto;
}

.footer__button {
    padding: 20px;
    cursor: pointer;
    border: 1px solid var(--header-text);
    border-radius: 20px;
}

.input {
    margin: var(--gutter) 0;
}

.input__field {
    width: 100%;
    padding: calc(var(--gutter) / 2);
    border-radius: var(--border-radius);
    border: 1px solid var(--outline-gray);
}

.input__label {
    font-family: var(--body-font-family);
    font-size: 14px;
    color: var(--body-text);
    display: block;
    margin-bottom: calc(var(--gutter) / 2);
}

.input__field--number {
    text-align: center;
    -moz-appearance: textfield;
}

[data-test-id] {
    display: inline;
}

.spinner {
    width: 90px;
    margin-top: 50%;
}

/* Pages */
.connection-error__emphasis
{
    font-weight: 700;
}

.washes-log__list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.washes-log__list li:first-child {
    border-top: 1px solid var(--border-gray);
}

.washes-log__list li {
    border-bottom: 1px solid var(--border-gray);
    padding: 10px;
    font-family: var(--header-font-family);
    font-size: 16px;
}

.washes-log__list li::after {
    content: "";
    display: inline-block;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 32px;
    height: 27px;
    float: right;
}

.washes-log-icon__q8::after {
    background-image: url('/Icons/q8.png');
}

.washes-log-icon__f24::after {
    background-image: url('/Icons/f24.png');
}

.car-wash-info__logo, 
.car-wash-info__building
{
    display: block;
    margin: 0 auto 20px;
}

.display-code__qr {
    width: 80%;
}

.display-code__timer {
    margin: 0 0 20px;
}

.display-code__instruction-list {
    padding-left: var(--gutter);
    margin-top: 0;
    text-align: left;
}

.display-code__instruction-list li {
    margin-bottom: calc(var(--gutter) / 2);
}

.display-code__numeric-code {
    margin-top: 5px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--divider-gray);
}

.display-code__numeric-code-value {
    font-family: var(--header-font-family);
    font-size: 20px;
    line-height: 30px;
    background-color: var(--wash-code-background);
    padding: 4px 5px 5px 8px;
    text-align: center;
    letter-spacing: 3px;
}

.wash-expired__emphasis
{
    font-weight: 700;
}

.hero__header {
    margin-top: 5px;
}

.frame {
    border: 1px solid var(--frame-border);
    border-radius: var(--border-radius);
    padding: 10px 20px;
}