.gb-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 15px 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}


.gb-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}


.gb-section {
    margin-bottom: 15px;
}



.gb-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
}





/*
    Allgemeine Formularfelder
*/


.gb-form-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}



.gb-form-wrapper input,
.gb-form-wrapper textarea {

    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 15px;

}



.gb-form-wrapper input:focus,
.gb-form-wrapper textarea:focus {

    outline: none;
    border-color: #2271b1;

}






/*
    Wertgutschein
*/

.gb-value-input {

    display: flex;
    align-items: center;
    gap: 8px;

}



.gb-value-input input {

    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;

    height: 38px !important;
    min-height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    text-align: center;

    line-height: 38px !important;

    font-size: 16px;

    box-sizing: border-box;
	-moz-appearance: textfield;

}

.gb-value-input input::-webkit-inner-spin-button,
.gb-value-input input::-webkit-outer-spin-button {

    -webkit-appearance: none;
    margin: 0;

}


.gb-value-input span {

    font-weight: 600;

}


/*
    Gutschein Zeilen
*/


.gb-voucher-row {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #eeeeee;

}



.gb-voucher-name {

    flex: 1;
    font-weight: 600;

}



.gb-voucher-price {

    width: 80px;
    text-align: right;

}



.gb-counter {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 38px;

}

.gb-counter button {

    position: relative !important;

    width: 24px !important;
    height: 24px !important;

    min-width: 24px !important;
    min-height: 24px !important;

    max-width: 24px !important;
    max-height: 24px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: #2271b1;
    color: #ffffff;

    display: block !important;

    box-sizing: border-box !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    cursor: pointer;
}


/* PLUS */

.gb-counter button.gb-plus::before,
.gb-counter button.gb-plus::after {

    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 11px;
    height: 2px;

    background: #ffffff;

    border-radius: 1px;

    transform: translate(-50%, -50%);

}


/* vertikaler Balken beim PLUS */

.gb-counter button.gb-plus::after {

    transform:
        translate(-50%, -50%)
        rotate(90deg);

}


/* MINUS */

.gb-counter button.gb-minus::before {

    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 11px;
    height: 2px;

    background: #ffffff;

    border-radius: 1px;

    transform: translate(-50%, -50%);

}

.gb-counter input::-webkit-inner-spin-button,
.gb-counter input::-webkit-outer-spin-button {

    -webkit-appearance: none;
    margin: 0;

}

.gb-counter button:hover {

    opacity: 0.85;

}

.gb-counter input {

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    line-height: 38px !important;

    background: #f5f5f5;

    border-radius: 8px;

    font-size: 16px;

    box-sizing: border-box;

}

.gb-order-info {

    margin-top: 20px;

    font-size: 14px;

    line-height: 1.5;

    color: #555;

}


.gb-order-info p {

    margin-bottom: 12px;

}


.gb-voucher-name sup {

    font-size: 0.65em;

    position: relative;

    top: -0.55em;

    line-height: 0;

    margin-left: 2px;

    font-weight: normal;

    vertical-align: baseline;

}


/*
    Gesamtsumme
*/


.gb-total-box {

    margin: 30px 0;

    padding: 20px;

    background: #f4f8fb;

    border-radius: 10px;

    text-align: center;

}



.gb-total-box label {

    font-size: 18px;

}



#gb-total {

    font-size: 30px;
    font-weight: 700;

    margin-top: 10px;

}






/*
    Name nebeneinander
*/


.gb-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}






/*
    Absende Button
*/


.gb-submit {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #2271b1;

    color: white;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

}



.gb-submit:hover {

    opacity: 0.9;

}



.gb-submit:disabled {

    opacity: 0.6;

    cursor: wait;

}






/*
    Meldungen
*/


#gb-message {

    margin-top: 20px;

}



.gb-success {

    padding: 15px;

    background: #e7f7e7;

    border-radius: 8px;

    color: #207520;

}



.gb-error {

    padding: 15px;

    background: #fdeaea;

    border-radius: 8px;

    color: #a00000;

}






/*
    Honeypot verstecken
*/


.gb-hidden-field {

    position: absolute;

    left: -9999px;

    height: 0;

    overflow: hidden;

}

.gb-required {
    color: #b94a48; !important;
    font-weight: 700; !important;
    margin-left: 2px; !important;
}



/*
    Mobile Ansicht
*/


@media screen and (max-width: 600px) {


    .gb-form-wrapper {

        padding: 12px 15px;

        margin: 20px 10px;

    }



    .gb-voucher-row {

        flex-wrap: wrap;

    }



    .gb-voucher-name {

        width: 100%;

    }



    .gb-voucher-price {

        width: auto;

        text-align: left;

    }



    .gb-grid {

        grid-template-columns: 1fr;

        gap: 0;

    }



}