* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;

    background: #f4f5f7;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: #181818;
}

.container {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;
    padding: 30px 16px 60px;
}

.logo {
    text-align: center;

    font-size: 26px;
    font-weight: 800;

    letter-spacing: 1px;
}

.subtitle {
    text-align: center;

    color: #747474;

    margin-top: 5px;
    margin-bottom: 28px;
}

.card {
    background: white;

    border-radius: 18px;

    padding: 22px;

    margin-bottom: 16px;

    box-shadow:
        0 4px 24px
        rgba(0, 0, 0, 0.06);
}

h1 {
    font-size: 22px;
    margin-top: 0;
}

h2 {
    font-size: 19px;
    margin-top: 0;
}

input {
    width: 100%;

    padding: 16px;

    border: 1px solid #d9dce1;
    border-radius: 12px;

    font-size: 16px;

    margin-bottom: 12px;

    outline: none;
}

input:focus {
    border-color: #222;
}

.button {
    display: block;

    width: 100%;

    border: 0;
    border-radius: 12px;

    padding: 16px;

    background: #181818;
    color: white;

    text-decoration: none;

    text-align: center;

    font-weight: 700;
    font-size: 16px;

    cursor: pointer;
}

.button.secondary {
    margin-top: 20px;

    background: #eceef1;
    color: #181818;
}

.car-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.car-item {
    display: block;

    padding: 14px;

    border-radius: 10px;

    background: #f4f5f7;

    text-decoration: none;
    color: #181818;

    font-size: 15px;
}

.car-item:active {
    background: #e7e9ed;
}

.car-title {
    font-size: 19px;
    font-weight: 750;

    margin-bottom: 20px;
}

.price-row,
.total-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;
}

.price-row span,
.total-row span {
    color: #656565;
}

.price-row strong,
.total-row strong {
    text-align: right;
}

.total-row strong {
    font-size: 17px;
}

.divider {
    height: 1px;

    background: #ececec;

    margin: 12px 0;
}

.hint {
    color: #777;

    line-height: 1.5;
}

.success {
    text-align: center;

    padding-top: 40px;
    padding-bottom: 40px;
}

.success-icon {
    width: 66px;
    height: 66px;

    border-radius: 50%;

    background: #181818;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    font-size: 30px;
    font-weight: bold;
}
