﻿* {
    color: white;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #0F1628;
    background-image: url("../images/background.svg");
}

html, body, .main-content, #error-404 {
    height: 100%;
    margin: 0 auto;
}

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

.margin-top-4rem {
    margin-top: 4rem;
}

h2.text-center {
    color: rgb(255, 255, 255, 0.5);
}

.main-content {
    max-width: 540px;
    margin: auto;
}

#choice-page {
    max-height: calc(100vh - 120px);
    overflow: scroll;
}

.top-bar {
    margin-bottom: 1rem;
}

.list-item {

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.list-item-frame {
    max-width: 340px;
    margin: auto;
}

.list-item-frame::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.6;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

.icon-frame {
    margin: 1rem 0;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: rgb(240, 240, 240, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 20px;
    height: 20px;
}

.scenario-title {
    font-size: 14px;
    line-height: 20px;
}

#confirmation-page, #step-to-follow {
    margin: 0 1rem;
    text-align: center;
}

.confirmation-header {
    color: rgb(255, 255, 255, 0.5);
    margin-top: 1rem;
}

.confirmation-header > img {
    width: 40px;
}

.confirmation-header > p {
    color: rgb(255, 255, 255, 0.5);
    margin: 0;
}

.confirmation-title:after, .confirmation-header:after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.6;
    position: relative;
    top: 10px;
    left: 0;
    width: 100%;
}

.confirmation-button-default, .success-message, .step-to-follow, #error-message {
    border-radius: 10px;
    border: solid 1px white;
}

.confirmation-button-default, .success-message {
    padding: 15px;
    font-weight: bold;
}

.confirmation-button-default {
    height: 140px;
    font-size: 16px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
}

.confirmation-button-default:disabled {
    opacity: 0.5;
}

.confirmation-button {
    background-color: rgba( 208, 2, 27, 0.25);
    margin-bottom: 2rem;
}

.cancel-button, .success-message {
    background-color: rgba( 184, 233, 134, 0.25 );
}

.success-message {
    margin-bottom: 1rem;
}

.steps-to-follow {
    white-space: pre-wrap;
}



#error-message {
    left: 10px;
    min-height: 48px;
    background-color: #a4060636;
    position: absolute;
    bottom: 2rem;
    width: calc(100% - 20px);
}

#technical-error .reload-button {
    width: 230px;
    height: 92px;
    background: #000000;
    border-radius: 8px;
    outline: none;
    box-shadow: unset;
    border: none;
    margin: 3rem calc(50% - 115px) 0;
    font-size: 24px
}

#technical-error .reload-button:hover {
    cursor: pointer;
    border: none;
}

#error-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#error-404 > .logo-404 {
    width: 50%;
}

#error-404 > .error-404-description {
    padding: 0 25px;
    text-align: center;
}