.note_content {
    background:linear-gradient(90deg, #ff6a71, #ffa667) !important;
}
.note_content p {
    font-weight:600;
    color:#fff;
}
ul.order_notes.leanpay li.system-note .note_content::after{
    border-color:#ff6a71 transparent;
}


#woocommerce_wc_leanpay_module_success_url optgroup {
    height: 0px !important;
    color: transparent;
}

#woocommerce_wc_leanpay_module_success_url optgroup option {
    display: block !important;
}

#woocommerce_wc_leanpay_module_failure_url optgroup {
    height: 0px !important;
    color: transparent;
}

#woocommerce_wc_leanpay_module_failure_url optgroup option {
    display: block !important;
}

/* Debug log: full details modal */
.leanpay-debug-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.leanpay-debug-modal-inner {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    box-sizing: border-box;
}
.leanpay-debug-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}
.leanpay-debug-modal-header .leanpay-debug-modal-close {
    min-width: 36px;
    font-size: 20px;
    line-height: 1;
    padding: 0 8px;
}
.leanpay-debug-modal-textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 200px;
    margin: 0;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 1.45;
    box-sizing: border-box;
    resize: vertical;
}
.leanpay-debug-detail-preview {
    font-size: 12px;
    line-height: 1.4;
}