@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-color);

    --text-color: black;
}

body {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
}

strong {
    font-weight: 500;
}

.underline {
    text-decoration: underline;
}

h1 {
    font-size: 24px;
    font-weight: 500;
}

.container {
    max-width: 575px;
    width: 100%;
}

.bar-container {
    width: 100%;
    padding: 16px;
}

.bar {
    width: 100%;
    height: 8px;
    background-color: #dbdbdb;
    border-radius: 16px;
}

.bar-fill {
    width: 70%;
    height: 8px;
    background-color: #577ef3;
    border-radius: 16px;
}

.logo {
    width: 100%;
    border-radius: 12px 12px 0px 0px;
    background-color: white;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-height: 150px;
}

.separator {
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
}

.body {
    width: 100%;
    border-radius: 0px 0px 12px 12px;
    background-color: white;
    padding: 16px 32px;
    display: flex;
    text-align: start;
    flex-direction: column;
    gap: 16px;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0px 16px 0px;
}

.input-container {
    width: 100%;
}

.description {
    color: #8f939c;
    display: flex;
    width: 100%;
    padding: 8px 0px;
}

.description div {
    color: #8f939c;
}

.space-between {
    justify-content: space-between;
}

.end {
    justify-content: flex-end;
}

.input-row {
    display: flex;
    gap: 8px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

input[type="text"] {
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #8f939c;
    outline: none;
    box-shadow: inset 2px 2px 4px 0px rgba(0,0,0,0.2);
    font-size: 16px;
}

.shipping-option {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #cdcdcd;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}

.shipping-text {
    font-size: 16px;
    font-weight: 500;
}

.shipping-description {
    margin-top: 4px;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

.shipping-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-info img {
    height: 32px;
}

.shipping-price {
    font-size: 16px;
    font-weight: 500;
}

.shipping {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shipping-active {
    background-color: #f2feee;
    border: 2px solid #47b425;
}

.shipping-active .radio-outline {
    stroke: #47b425;
}

.shipping-active .radio-dot {
    fill: #47b425;
}

.fulfillment {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 8px;
}

.fulfillment img {
    height: 16px;
}

.option-checkbox {
    width: 24px;
    height: 24px;
    border: 1px solid #8f939c;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.option-title {
    font-weight: 500;
}

.option-price {
    color: #228d25;
    font-weight: 500;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
    background-color: #9de79c;
}

.option-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-description {
    color: #8f939c;
    font-size: 14px;
}

.option {
    padding: 24px 16px;
    border: 2px solid #25b803;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

.option-tag {
    background-color: #25b803;
    padding: 4px 8px;
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    border-radius: 6px;
    position: absolute;
    top: -12px;
    left: 12px;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 0px;
}

.order-button {
    background: linear-gradient(180deg, rgba(60,192,1,1) 0%, rgba(3,172,1,1) 100%);
    border: none;
    color: white;
    font-size: 30px;
    font-weight: 500;
    padding: 16px 32px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.insurance {
    display: flex;
    align-items: center;
    margin-top: 32px;
    gap: 8px;
}

.insurance img {
    width: 80px
}

.insurance-title {
    font-weight: 500;
}

.centering {
    display: flex;
    justify-content: center;
}

footer {
    margin-top: 48px;
    background-color: #161e28;
    width: 100%;
}


.last-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.last-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.last-item img {
   width: 32px;
}

.icons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    gap: 8px;
}

.icons img {
    width: 56px;
}

.copyright {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #99a0a7;
    font-size: 12px;
    border-top: 1px solid #232f3e;
}

.security {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 8px 16px;
    gap: 16px;
}

.security img {
    width: 128px;
}

.security svg {
    width: 24px;
    height: 24px;
}

.security-header {
    display: flex;
    gap: 4px;
    align-items: center;
}

.security-title {
    font-size: 16px;
    font-weight: bold;
    color: #99a0a7;
}

.security-description {
    color: #99a0a7;
    font-size: 12px;
    margin-top: 4px;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0px;
    border-bottom: 1px solid #f0f2f5;
}

.table-row:last-child {
    border-bottom: none;
}

.table-item {
    color: #5f6061;
}

.table-price {
    color: #5f6061;
    font-weight: 500;
}

.total {
    margin: 16px 0px;
}

.etrust-items {
    display: flex;
    gap: 8px;
}

.etrust-item {
    display: flex;
    gap: 4px;
    flex: 1;
    font-size: 12px;
}

.etrust-item-text { 
    font-size: 12px;
}

.etrust-item svg {
    min-width: 16px;
    width: 16px;
}

.etrust-logo img {
    height: 32px;
    padding-left: 8px;
    border-left: 1px solid #f0f2f5;
}

.etrust-logo {
    width: 120px;
}

.etrust {
    display: flex;
    align-items: center;
}

#amount {
    padding: 4px 8px;
    font-size: 20px;
    margin-right: 4px;
    border: 1px solid black;
    border-radius: 4px;
}

#amount:focus {
    outline: none;
}

@media only screen and (max-width: 500px) {
    .etrust {
        flex-direction: column;
        gap: 48px;
    }

    .etrust-logo img {
        border: none;
        height: 45px;
        margin-left: -10px;
    }

    .review-stars{
        font-size: 20px;
        padding-left: 5px;
    }



    input[type="text"]{
        font-size: 18px;
    }

    .option-description { 
    font-size: 18px;
    }

    .option-tag {
        font-size: 16px;
    }

    .order-button{
        font-size: 30px;
    }

    .etrust-item-text { 
    font-size: 16px;
    }

    .insurance-title {
    font-size: 20px;
    }

    .insurance-description{
    font-size: 20px;
    }

    .last-item{
        font-size: 20px;
    }

}

@media only screen and (max-width: 575px) {
    .body {
        padding: 16px 8px 32px 8px;
    }
}

.loader {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-bottom-color: rgb(199, 199, 199);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 0.7s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.invalid {
    border: 1px solid red !important;
    color: red !important;
}