.bottle-return-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.bottle-return-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bottle-return-close {
    color: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.bottle-return-close:hover,
.bottle-return-close:focus {
    color: #333;
}

.bottle-return-modal h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #2E4C8F;
    font-size: 28px;
    font-weight: 700;
}

.bottle-return-info {
    margin-bottom: 20px;
}

.bottle-return-info > p {
    margin: 0 0 15px 0;
}

.bottle-info-box,
.bottle-instruction-box {
    background-color: #F5F8FC;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.bottle-instruction-box {
    background-color: #FFF5F5;
}

.bottle-info-box p,
.bottle-instruction-box p {
    margin: 0 0 10px 0;
}

.bottle-info-box p:last-child,
.bottle-instruction-box p:last-child {
    margin-bottom: 0;
}

.bottle-return-info ul {
    margin: 10px 0;
    padding-left: 25px;
}

.bottle-return-info li {
    margin-bottom: 8px;
}

.bottle-instruction-box a {
    color: #E30613;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.bottle-instruction-box a:hover {
    color: #C00510;
    text-decoration: underline;
}

.bottle-return-info p {
    color: #555;
    line-height: 1.6;
}

.bottle-return-info strong {
    color: #2E4C8F;
}

.bottle-return-consent {
    margin: 24px 0;
    padding: 20px;
    background-color: #F5F8FC;
    border: 2px solid #E8EEF7;
    border-radius: 12px;
}

.bottle-return-consent label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.bottle-return-consent input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.bottle-return-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
}

.bottle-return-actions button {
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.bottle-return-actions #bottle-return-cancel,
.bottle-return-actions #bp-cancel {
    background-color: #ffffff;
    color: #666;
    border: 2px solid #E8EEF7;
}

.bottle-return-actions #bottle-return-cancel:hover,
.bottle-return-actions #bp-cancel:hover {
    background-color: #F5F8FC;
    border-color: #2E4C8F;
    color: #2E4C8F;
}

.bottle-return-actions #bottle-return-submit,
.bottle-return-actions #bp-submit {
    background-color: #E30613;
    color: #ffffff;
    border: 2px solid #E30613;
}

.bottle-return-actions #bottle-return-submit:hover:not(:disabled),
.bottle-return-actions #bp-submit:hover:not(:disabled) {
    background-color: #C00510;
    border-color: #C00510;
}

.bottle-return-actions #bottle-return-submit:disabled,
.bottle-return-actions #bp-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bottle-return-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
}

.bottle-return-message.success {
    background-color: #D4F4DD;
    border: 2px solid #6EBF8B;
    color: #1E5631;
}

.bottle-return-message.error {
    background-color: #FFE8E8;
    border: 2px solid #E30613;
    color: #8B0000;
}

.woocommerce-orders-table__cell-order-actions .bottle_return {
    background-color: #2a3a88 !important;
    border: 2px solid #2a3a88;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
}

.woocommerce-orders-table__cell-order-actions .bottle_return:hover {
    background-color: #1a2663 !important;
    border-color: #1a2663;
    color: #fff !important;
}

.bottle_return_disabled {
    display: block !important;
    background-color: #c9c9c9 !important;
    color: #a0a0a0 !important;
    border-color: #939393 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.bottle_return_disabled .bottle-status-line {
    display: block !important;
    font-size: 0.85em !important;
    opacity: 0.8 !important;
    margin-top: 3px !important;
    font-weight: normal !important;
}

/* Pickup on delivery */
#shortcode-187-29567, #shortcode-186-29567 {
    width: 100%;
}

.bottle-pickup-block-wrepper {
    flex-direction: column;
    display: flex;
    text-align: left;
    border-top-color: #f5f5f5;
    border-right-color: #f5f5f5;
    border-bottom-color: #f5f5f5;
    border-left-color: #f5f5f5;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    gap: 2px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 2rem 0;
}

.bottle-pickup-block {
    width: initial;
    margin: 0 auto;
}

.bottle-pickup-block #bottle-pickup-open-btn:hover {

}

.bottle-pickup-block h3 {
    text-align: center;
}

.bottle-pickup-order-list {
    margin: 10px 0 0;
}

.bottle-pickup-order-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid #E8EEF7;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: border-color 0.3s;
}

.bottle-pickup-order-item:hover {
    border-color: #2E4C8F;
}

.bottle-pickup-order-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bottle-pickup-order-item label {
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.bottle-pickup-order-item .bp-order-info {
    font-weight: 600;
}

.bottle-pickup-order-item .bp-days-left {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    margin-left: 12px;
}

.bottle-pickup-submitted {
    margin: 20px 0;
}

.bottle-pickup-submitted .bottle-info-box {
    background-color: #D4F4DD;
    border: 2px solid #6EBF8B;
}

.bottle-pickup-submitted .bottle-info-box p {
    color: #1E5631;
    margin: 0 0 5px;
}

.bottle-pickup-submitted .bottle-info-box p:last-child {
    margin-bottom: 0;
}
