/* style.css */
body {
    font-family: Arial, sans-serif;
    background: #f3f5f9;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.section-form {
    margin: 20px auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    width: 75%;
    background-color: white;
}

.form-container {
    padding: 20px;
    border-radius: 10px;
    max-width: 70%;
    width: 100%;
    border: 1px solid #ccc;
}

.offer-header {
    display: flex;
    column-gap: 20px;
}

.offer-header p {
    text-align: left;
    font-size: 18px;
    color: #c73126;
    font-weight: 700;
}

.offer-header-img {
    width: 76px;
    height: 77px;
}

.discount-badge {
    background: green;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.new-price {
    color: green;
    font-weight: bold;
}



.quantity-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.option {
    display: flex;
    flex: 1 1 calc(50% - 10px);
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.option img {
    width: 130px;

}

.option-right {
    display: flex;
    flex-direction: column;
}

.option-right-x {
    font-size: 30px;
    font-weight: bold;
}

.option-name {
    font-size: 16px;
    font-weight: bold;
}

.option-prices {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.option-old-price {
    text-decoration: line-through;
    color: #888;
}

.option-new-price {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.option.selected {
    border-color: green;
    box-shadow: 0 0 5px green;
}

.option.popular {
    padding-top: 20px;
}

.badge {
    background: #397ff5 ;
    color: white;
    font-size: 0.75em;
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 6px;
    width: 100%;
}

form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.benefits li {
    margin: 5px 0;
}

.benefits li img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

.benefits li span {
    font-weight: bold;
    font-size: 18px;
}

.form-step {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.submit-button {
    background: #00b500;
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    font-family: Montserrat;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.submit-button:hover {
    background: #009e00;
}


/* Media query for tablets (max-width: 780px) */
@media (max-width: 780px) {
    body {
        padding: 20px 0;
    }
    
    .section-form {
        width: 90%;
        padding: 15px;
    }
    
    .form-container {
        max-width: 90%;
        padding: 15px;
    }
    
    .quantity-options {
        gap: 8px;
    }
    
    .option img {
        width: 100px;
    }
    
    .option-right-x {
        font-size: 24px;
    }
    
    .option-name {
        font-size: 14px;
    }
}

/* Media query for mobile phones (max-width: 480px) */
@media (max-width: 480px) {
    body {
        padding: 10px 0;
    }
    
    .section-form {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
    }
    
    .form-container {
        max-width: 100%;
        padding: 10px;
        border: none;
    }
    
    .offer-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .offer-header p {
        text-align: center;
        font-size: 16px;
    }
    
    .quantity-options {
        flex-direction: column;
    }
    
    .option {
        flex-basis: 100%;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }
    
    .option img {
        width: 70px;
    }
    
    .option-prices {
        position: static;
    }
    
    .benefits li span {
        font-size: 14px;
    }
    
    .form-step {
        font-size: 16px;
    }
}
