.dpl-offers-block ::-webkit-input-placeholder,
.dpl-offers-block ::placeholder {
    color: #babec1;
}

.dpl-offers-block {
    position: relative;
}

.dpl-offers-headline {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.dpl-info-text {
    font-size: 1.5rem;
}

@media (min-width: 1700px) {
    .dpl-offers-headline {
        margin-left: 0;
    }
}

.dpl-progress-circle {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    display: none;
}

@media (min-width: 1700px) {
    .dpl-progress-circle {
        display: block;
    }
}

.dpl-progress-circle img {
    display: block;
    object-fit: contain;
}

.dpl-offers-block-spinner.visible {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 50;
}

.dpl-offer-block-spinner:not(.visible) {
    display: none;
}

.dpl-offers-block h2 {
    font-size: 2rem;
    font-weight: bold;
}

@media (min-width: 900px) {
    .dpl-offers-block h2 {
        font-size: 3rem;
    }
}

.dpl-dropdown {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

#dpl-customer-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 1000px) {
    .dpl-dropdown,
    #dpl-customer-selection {
        flex-direction: column;
        align-items: center;
    }
}

#dpl-customer-region {
    text-transform: uppercase;
}

#dpl-form {
    margin: 0;
    padding: 0 0 80px 0;
    background-image: url('img/stapel_hintergrund.png');
    background-repeat: no-repeat;
    background-position: center right;
}

.dpl-entry-row {
    margin-bottom: 20px;
}

.dpl-entry-row.bigger-margin {
    margin-bottom: 40px;
}

.dpl-entry-row input {
    border: none;
    height: 48px;
    padding: 10px;
}

.row-50,
.row-100 {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .row-100,
    .row-50 {
        grid-template-columns: repeat(2, minmax(248px, 1fr));
    }
}

.salutation-row,
.salutation-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    flex-wrap: wrap;
}

.salutation-row > * {
    margin-right: 10px;
}

.white-background {
    background-color: #fff;
}

.dpl-box {
    width: 248px;
    height: 248px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dpl-box img {
    object-fit: contain;
    padding: 10px;
}

.white-background .dplbox,
.white-background .dpl-box {
    border: 6px solid transparent;
    position: relative;
}

.white-background .dpl-box:not(.dpl-preview-box)::before {
    display: block;
    position: absolute;
    content: '';
    border: 1px solid #011C40;
    top: 0;
    bottom: 0;
    width: 100%;
}

.white-background .dpl-box.selected:not(.dpl-preview-box)::before {
    border: 6px solid #569528;
}

.dpl-box-mini,
.dpl-box {
    border: 6px solid transparent;
}

.dpl-box-mini.selected,
.dpl-box.selected {
    border: 6px solid #569528;
}

.dpl-delivery.dpl-box.selected {
    border: 12px solid #569528;
}

.dpl-box-mini.selected::before,
.dpl-box.selected::before {
    border: none;
}

.dpl-box-mini {
    width: 248px;
    height: 90px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.dpl-box-mini span,
.dpl-box span {
    font-weight: bold;
}

.dpl-selection {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

.dpl-pallet-selection,
.dpl-business-selection,
.dpl-quality-selection,
.dpl-delivery-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dpl-pallet-selection .dpl-box {
    /*justify-content: space-between;*/
    padding: 0 !important;
}

.dpl-quality {
    justify-content: space-between;
}

.dpl-quality,
.dpl-delivery {
    background-color: #fff;
    padding: 0;
}

.dpl-preview-box {
    background-color: #ccc;
    cursor: not-allowed !important;
}

.dpl-quality img,
.dpl-delivery div {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpl-pallet span:last-child,
.dpl-quality span:last-child {
    padding-top: 10px;
}

/* Should not be displayed */
.dpl-quality-frontname {
    display: none;
}

.data-entry-wrapper {
    margin-top: 0;
}

.dpl-entry-field {
    padding: 10px 20px !important;
    height: 175px !important;
    font-size: 1.25rem;
}

.dpl-entry-field.dpl-amount-selection {
    height: 90px !important;
    padding: 10px 20px !important;
    font-size: 1.25rem;
    width: 248px;
}

.dpl-customer-data {
    max-width: 1024px;
}

.dpl-customer-data h2 {
    margin-top: 0;
}

.dpl-submit-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.dpl-submit-wrapper .daschu-text {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

#daschu {
    margin-top: 10px;
}

.dpl-submit-button {
    font-weight: bold;
}

.dpl-submit-button:hover,
.dpl-submit-button:focus,
.dpl-submit-button:active{
    border-color: var(--wp--preset--color--quaternary) !important;
}

/* Status Message */
.dpl-status-message {
    display: none;
    cursor: pointer;
}

.dpl-status-message.visible {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.message-content {
    max-width: 500px;
    width: 100%;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 2rem;
}

.dpl-status-message.success .message-content {
    background-color: #4CAF50;
}

.dpl-status-message.error .message-content {
    background-color: #f44336;
}

.message-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
}

.pallet-pdf-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.pallet-pdf-icon::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('img/circle-info-solid.svg');
}