﻿html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #F7F8F8;
    min-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer {
    width: 100vw;
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sp-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

td:first-of-type {
    text-align: end;
    font-size: var(--sp-typography-label-size);
    font-weight: var(--sp-typography-label-weight);
    line-height: var(--sp-typography-label-lineheight);
    letter-spacing: var(--sp-typography-label-letterspacing);
    text-transform: var(--sp-typography-label-text-transform);
}

td:last-of-type:not(:has(input)) {
    background-color: #f7f8f8;
    padding: 0 10px;
}

td:last-of-type {
    border-radius: 10px;
    width: 300px;
}

.contact-form form {
    width: 100%;
}

.refund-form form {
    display: flex;
    flex-direction: column;
}


progress {
    --border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.6em;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    /* to remove */
}

.progress {
    width: 0%;
    height: 100%;
    background-color: var(--sp-palette-primary);
    transition: width 0.5s ease-in-out;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background-color: var(--sp-palette-light-gray);
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
}

.loading-progress-text {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 10px;
}

::-webkit-progress-bar {
    background-color: #DFDFDF;
    border-radius: var(--border-radius);
}

::-webkit-progress-value {
    background-color: var(--sp-palette-primary);
    border-radius: var(--border-radius);
}

::-moz-progress-bar {
    background-color: var(--sp-palette-primary);
}

table thead, table tfoot {
    background-color: var(--sp-palette-light-gray);
}

table.history-results, .history-results th, .history-results td {
    border: 2px solid #dedede;
    border-collapse: collapse;
    padding: 10px 5px;
    text-align: center;
}