.vinladan-form {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #000;
    box-sizing: border-box;
}

/* Bootstrap-like breakpoints */
@media (min-width: 576px) {
    .vinladan-form {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .vinladan-form {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .vinladan-form {
        max-width: 960px;
    }

    .trappor{
        max-width: 70%;
    }
}

@media (min-width: 1200px) {
    .vinladan-form {
        max-width: 1200px;
    }
}

.vinladan-platform {
    padding-left: 15px;
    padding-right: 15px;
    width: 75%;
    margin-left: 7.3333%;
}

.vinladan-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.form-block {
    margin-bottom: 2rem;
}
.form-block input,
.form-block textarea{
    font-family: "Source Sans 3", Sans-serif;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.form-row.double > * {
    flex: 1;
    min-width: 0;
}

.form-row.double > div {
    flex: 1;
    min-width: 0;
}

.form-row.double {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* NEW: Better structure for input/label group */
.input-group {
    display: flex;
    flex-direction: column;
    /*padding-left: 15px;*/
    /*padding-right: 15px;*/
    /*margin-bottom: 1rem;*/
    flex: 1 1 100%;
    /*margin-top:2rem;*/
    position:relative;
}

.input-group.settings-group{
    margin-top: 30px;
}


.input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;

}

.mian-form label{
    color: #b9b9b9;
    position:absolute;
    top:5px;
    left: 10px;
    width:100%;
}

.lower-block .label-text{
    color: #585858;
    position:absolute;
    top:5px;
    left: 10px;
    width:100%;
}

.mian-form .input-group{
    margin-top:0px;
    margin-bottom: -5px;
}


.vinladan-form .form-block.lower-block h2{
    margin-top:1rem;
    margin-bottom:2rem;
}

.vinladan-form .input-group textarea{
    min-height: 110px;
}

.input-new-group{
    margin-top:0px;
}
.mb-0{
    margin-bottom:0px;
}

/* Improved input appearance */
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group textarea,
.input-group select {
    display: block;
    width: 100%;
    /*padding: 0.75rem 1rem;*/
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    border: 1px solid rgb(130 130 130);
    border-radius: 0px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /*max-width: 810px;*/
    min-height: 30px;
    padding: 30px 0px 7px 11px;
    box-sizing: border-box;
}

/* Keep general inputs for backward compatibility */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Remove broken asterisk from required */
input:required::after,
textarea:required::after {
    content: "";
}

.checkbox {
    font-size: 0.95rem;
}

.checkbox input {
    margin-right: 0.5em;
}

.checkbox a {
    color: #d49a00;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 5px;
}

button[type="submit"] {
    background-color: #5e8575;
    color: white;
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #476e5e;
}

.highlight {
    color: #d49a00;
    font-weight: bold;
    margin-left:3px;
}

input[type="radio"] {
    margin-right: 0.5em;
    cursor:pointer;
}

.form-block label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    font-weight: 400;
    color:#585858;
}

.input-group.required label::after {
    content: " *";
    color: #d49a00;
    font-weight: bold;
    margin-left: 0.25em;
    position: absolute;
    right: 25px;

}
.form-row.checkbox label{
    width:100%;
    margin-top:3px;
}

#pickup_location{
    max-height: 35px;
    padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
}

#box-quantity{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    background-color:#fff;
}

.checkbox .form-row{
    margin-top: 20px;
}

.form-row button[type="submit"]{
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 26px;
    background-color: #10423a;
    color: #f5ebcc;
    height: 50px;
    width: 200px;
}

.pickup-location select:disabled {
    background-color: #f1f4f6;
    color: #999;
    cursor: not-allowed;
}

.disabled_pickup label{
    color:#bcbcbc;
}

.disabled_pickup .pickup-note{
    color: #bcbcbc;
}

.pickup-note {

    margin-top: 0.25rem;
}

.vinladan-order-summary {
    background-color: #eef2f2;
    padding: 2rem 6rem;
    /*margin-bottom: 3rem;*/
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}


.vinladan-order-summary h2 {
    font-size: 30pt;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 600;
}

.spacing-reducer{
    margin-top: 0px;
}

.spacing-reducer-bottom .input-group, .spacing-reducer-bottom .pickup-note,.spacing-reducer-bottom {
    margin-bottom: 0px;
}



.vinladan-form .form-block h2{
    margin-top: 1.5rem;
    margin-bottom:1.5rem;
}

.vinladan-order-summary strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-top: 40px;
}

.p-bottom{
    margin-top: 0px;
    font-family: 'Source Sans Pro', sans-serif ;
    font-size: 14pt ;
    margin-bottom: 30px;
}

.p-top{
    margin-bottom: 0px;
    font-family: 'Source Sans Pro', sans-serif ;
    font-size: 14pt ;
}

.last-total{
    border-top: 1px solid #000;
    padding-top:25px;
}

.vinladan-order-summary .product-price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top:0px;
}

.vinladan-order-summary .form-group {
    margin-bottom: 1rem;
}

.vinladan-order-summary input[type="number"],
.vinladan-order-summary select {
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 113px;
    background-color: #fff;
    margin-top: 10px;
}

.vinladan-order-summary .last-total{
    margin-top: 0px;
}

.vinladan-order-summary .label-inline {
    display: inline-block;
    margin-right: 0.5rem;
    font-weight: 500;
}

.vinladan-order-summary .total {
    margin-top: 2rem;
    border-top: 1px solid #000;
    padding-top: 1rem;
}

.vinladan-order-summary .total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1f4a3c;
}

.box-quantity-label{
    width:100%;
    display:block;
}

.total-price{
    font-size: 30pt;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 600;
    margin-top: 0px;
    color: #10423a;
}


.payment-form-wrapper {
    margin-top: 2rem;
    background-color: #f7f7f7;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.payment-form-wrapper h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.payment-form-wrapper .form-row {
    margin-bottom: 1.2rem;
}

.payment-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.payment-form-wrapper input[type="text"],
.payment-form-wrapper input[type="number"],
.payment-form-wrapper input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
}

.payment-form-wrapper button {
    margin-top: 1.5rem;
    background-color: #5e8575;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-form-wrapper button:hover {
    background-color: #476e5e;
}

 .thank-you-message {
     text-align: center;
     margin-top: 3rem;
     padding: 2rem;
     background-color: #e6f7ec;
     border: 1px solid #b2dfbd;
     border-radius: 8px;
     color: #155724;
     font-size: 1.2rem;
     font-weight: 500;
 }

.thank-you-message h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1rem;
    line-height: 1.6;
}

.prova{
    margin-bottom:0px;
}

