@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
}

body {
    background-color: #f4f7f6;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333333;
}

.calc-wrapper {
    max-width: 800px;
    padding: 3rem 1rem;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-radius: 10px;
}

.calc-wrapper > div {
    padding: 1.5rem 2.5rem;
}

.calc-content {
    margin-bottom: 1.6rem;
}

.calc-content h2,
.result-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #06d6a0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#calc-form,
.payment-info {
    margin-top: 1.6rem;
}

.form-item {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-name span {
    background-color: #089de2;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.input-name {
    display: flex;
    align-items: center;
}

.input-name label {
    padding-left: 0.8rem;
    font-weight: 500;
    color: #555555;
}

.input-control input {
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.7rem;
    border-radius: 5px;
    width: 100%;
}

.input-control input:focus {
    outline: none;
    border-color: #089de2;
}

.input-control span {
    padding-right: 0.6rem;
    font-weight: 300;
    opacity: 0.7;
}

.btns {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.btns input {
    background-color: #089de2;
    border: none;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #ffffff;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    outline: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btns input:hover {
    background-color: #089de2;
}

.payment-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-info div {
    padding: 1rem 0;
    background: #089de2;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-info div h4 {
    font-weight: 500;
    padding: 0.6rem 0;
}

.payment-info div span {
    font-weight: 400;
    font-size: 1.75rem;
}

@media screen and (max-width: 992px) {
    .payment-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 680px) {
    .form-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .input-name {
        margin-bottom: 0.6rem;
    }
    .input-control span {
        display: block;
    }
    .btns {
        flex-direction: column;
        align-items: center;
    }
    .btns input {
        margin-bottom: 1rem;
        width: 100%;
    }
}
