[x-cloak] {
    display: none;
}

body {
    font-family: "Public Sans", sans-serif;
    max-width: 480px;
    margin: 0 auto;
}

p {
    margin: 0;
}

.loading-view,
.first-view,
.second-view,
.third-view,
.fourth-view,
.fifth-view {
    min-height: 100vh;
    max-height: -webkit-fill-available;
}

.loading-view {
    max-height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 200px;
    height: 200px;
}

.first-view {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.first-view > .wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 300px;
}

.first-view > .wrapper > .title {
    font-size: 26px;
    width: 285px;
    text-align: center;
    margin: 0;
    font-weight: bold;
    color: #212B36;
}

.first-view > .wrapper > .sub-title {
    margin-top: 25px;
    font-size: 16px;
    width: 285px;
    text-align: center;
    color: #666666;
}

.first-view > .wrapper > .sub-title > span {
    font-weight: 600;
    font-size: 17px;
    color: #AF0000;
}

.first-view > .wrapper > button {
    margin: 70% auto 0 auto;
    width: 80%;
    height: 50px;
    background: #AF0000;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
}

.first-view > .wrapper > button:hover {
    background: #8F0000;
}

.first-view > .wrapper > button > span {
    display: none;
}

.first-view > .wrapper > button > span > svg {
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.second-view {
    max-height: -webkit-fill-available;
    margin: 0 auto;
}

.second-view > .top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20vh;
    max-height: 200px;
    background-color: #8F0000;
    color: #FFFFFF;
}

.second-view > .top-bar > p {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

.second-view > .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.second-view > .wrapper > .sonar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 20vh;
    max-height: 200px;
    margin: 5vh 0;
}

.second-view > .wrapper > .sonar-wrapper > .sonar-navigation {
    display: none;
    width: 50%;
    max-width: 150px;
}

.second-view > .wrapper > .sonar-wrapper > .sonar-end {
    display: none;
    width: 30%;
    max-width: 150px;
}

.check-sended {
    display: none;
    height: 100%;
}

.second-view > .wrapper > .precision-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 15vh;
    max-height: 150px;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.second-view > .wrapper > .precision-card > .precision-title {
    font-size: 14px;
    color: #A6A6A6;
}

.second-view > .wrapper > .precision-card > .precision-result {
    margin-top: 5px;
    font-size: 26px;
    font-weight: bold;
    color: #1890FF;
}

.second-view > .wrapper > .step-card {
    margin-top: 5vh;
    flex-direction: column;
    width: 80%;
    height: 15vh;
    max-height: 120px;
    background-color: #f7f8f9;
    border-radius: 5px;
    padding: 15px 0;
}

.second-view > .wrapper > .step-card > .step-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 40px;
}

.second-view > .wrapper > .step-card > .step-row > .step-bullet {
    width: 12px;
    height: 12px;
    background-color: #1890FF;
    border-radius: 50%;
    margin-right: 16px;
}

.second-view > .wrapper > .step-card > .step-row > .step-title {
    font-size: 14px;
    color: black;
    font-weight: 600;
}

.second-view > .wrapper > .step-card > .step-row > .step-line {
    width: 1px;
    height: 30px;
    background-color: #919EAB3D;
    margin: 5px 22px 5px 5px;
}

.second-view > .wrapper > .step-card > .step-row > .step-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1890FF;
    color: #FFFFFF;
    padding: 4px 15px;
    border-radius: 33px;
    font-size: 12px;
}

.second-view > .wrapper > .step-card > .step-row > .step-button > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    margin-right: 3px;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.second-view > .wrapper > .new-attempt-wrapper {
    margin: 3vh 0 2vh;
    height: 5vh;
    max-height: 50px;
    width: 80%;
}

.second-view > .wrapper > .new-attempt-wrapper > button {
    width: 100%;
    height: 6vh;
    max-height: 50px;
    background-color: #af0000;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: none;
}

.third-view,
.fourth-view,
.fifth-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fourth-view > .title,
.third-view > .title,
.fifth-view > .title {
    display: block;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #8F0000;
    padding: 0 20px;
    margin: 0 auto 30px auto;
}

.fourth-view > .sub-title,
.third-view > .sub-title,
.fifth-view > .sub-title {
    font-weight: 400;
    font-size: 17px;
    color: #A6A6A6;
    text-align: center;
    margin-bottom: 25px;
}

.fourth-view > p,
.third-view > p,
.fifth-view > p {
    display: block;
    max-width: 300px;
}

.fourth-view > p > span,
.third-view > p > span,
.fifth-view > p > span {
    color: black;
}

.refresh-link {
    color: #8F0000 !important;
    font-weight: bolder;
}

.check-icon {
    width: 12px;
    margin-right: 8px;
}

.cross-icon {
    width: 9px;
    height: 10px;
    margin-right: 8px;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
