.wc-block-components-address-form__simpleorder-kiosk_first_name,
.wc-block-components-address-form__simpleorder-kiosk_last_name,
.wc-block-components-select-input-simpleorder-pickup_date,
.wc-block-components-select-input-simpleorder-pickup_time {
    display: inline-block !important;
    width: calc(50% - 8px) !important;
    vertical-align: top !important;
}

.wc-block-components-address-form__simpleorder-kiosk_first_name,
.wc-block-components-address-form__simpleorder-kiosk_last_name {
    margin-top: 16px !important;
}

.wc-block-components-address-form__simpleorder-kiosk_first_name,
.wc-block-components-select-input-simpleorder-pickup_date {
    margin-right: 16px !important;
}

.wc-block-components-text-input-simpleorder-placement_number {
    width: 100%;
    display: block;
}

.simpleorder-added-notice {
    position: absolute;
    top: -180px;
    background: rgba(255, 255, 255, .9);
    padding: 10px;
    margin: 5px !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .1);
    border: 0px solid #fff;
    border-radius: 3px;
    z-index: 2;
}
a.button {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
}

@media (max-width: 600px) {
    .wc-block-components-address-form__simpleorder-kiosk_first_name,
    .wc-block-components-address-form__simpleorder-kiosk_last_name,
    .wc-block-components-select-input-simpleorder-pickup_date,
    .wc-block-components-select-input-simpleorder-pickup_time {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* My Account > Orders: spacing between action buttons (View / Order again). */
.woocommerce-orders-table__cell-order-actions .button + .button,
.woocommerce-orders-table__cell-order-actions a + a {
    margin-left: 8px;
}

/* Cutoff time warning messages */
.simpleorder-cutoff-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.simpleorder-cutoff-warning-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.simpleorder-cutoff-warning-text {
    flex: 1;
}

/* Approaching cutoff - warning state (yellow/orange) */
.simpleorder-cutoff-approaching {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

/* Exceeded cutoff - error state (red) */
.simpleorder-cutoff-exceeded {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .simpleorder-cutoff-warning {
        padding: 12px 16px;
        font-size: 14px;
        gap: 10px;
    }
    
    .simpleorder-cutoff-warning-icon {
        font-size: 20px;
    }
}
