/* wdp-upgrade.css — the portal's card checkout and the "Send to West Digital for edit" box
   (assets/js/wdp-upgrade.js). The portal's colours: orange #f26722 on white, dark #1a1a1a. */

.wdp2u-backdrop {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(26, 26, 26, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box;
}
.wdp2u-modal {
    position: relative; background: #fff; color: #1a1a1a;
    width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
    border-radius: 10px; border-top: 4px solid #f26722;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    padding: 22px 22px 18px; box-sizing: border-box;
    font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.wdp2u-modal:focus { outline: none; }
.wdp2u-title {
    font-family: Oswald, Arial, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
    font-size: 20px; margin: 0 28px 6px 0; color: #1a1a1a;
}
.wdp2u-sub { margin: 0 0 12px; color: #6b6b6b; }
.wdp2u-sub:empty { display: none; }
.wdp2u-x {
    position: absolute; top: 10px; right: 12px; border: 0; background: none; cursor: pointer;
    font-size: 24px; line-height: 1; color: #6b6b6b; padding: 4px 6px;
}
.wdp2u-x:hover, .wdp2u-x:focus-visible { color: #1a1a1a; }
.wdp2u-features { margin: 0 0 12px; padding: 0; list-style: none; }
.wdp2u-features li { padding: 3px 0 3px 22px; position: relative; }
.wdp2u-features li::before { content: "✓"; position: absolute; left: 2px; color: #f26722; font-weight: 700; }
.wdp2u-price {
    margin: 0 0 14px; padding: 10px 12px; border-radius: 6px;
    background: rgba(242, 103, 34, .07); font-weight: 700; font-size: 16px;
}
.wdp2u-card { margin: 0 0 12px; min-height: 40px; }
.wdp2u-err { margin: 0 0 12px; color: #c62828; }
.wdp2u-done { margin: 0 0 12px; color: #2e7d4f; font-weight: 600; }
.wdp2u-err a, .wdp2u-send-note a { color: inherit; text-decoration: underline; }
.wdp2u-actions { display: flex; justify-content: flex-end; gap: 10px; }
.wdp2u-cancel, .wdp2u-pay, .wdp2u-send-btn {
    font: inherit; font-weight: 600; border-radius: 6px; padding: 9px 18px; cursor: pointer; border: 1px solid transparent;
}
.wdp2u-cancel { background: #fff; color: #1a1a1a; border-color: rgba(26, 26, 26, .2); }
.wdp2u-pay, .wdp2u-send-btn { background: #f26722; color: #fff; }
.wdp2u-pay:hover:not(:disabled), .wdp2u-send-btn:hover:not(:disabled) { background: #d9551a; }
.wdp2u-cancel:disabled, .wdp2u-pay:disabled, .wdp2u-send-btn:disabled { opacity: .55; cursor: default; }
.wdp2u-cancel:focus-visible, .wdp2u-pay:focus-visible, .wdp2u-send-btn:focus-visible, .wdp2u-x:focus-visible {
    outline: 2px solid #f26722; outline-offset: 2px;
}

/* The box under the video on Review and Edit. */
.wdp2a-sendtowd { margin-top: 14px; }
.wdp2u-send { padding: 12px 14px; border: 1px solid rgba(242, 103, 34, .18); border-radius: 8px; background: #fff; }
.wdp2u-send p { margin: 0 0 8px; }
.wdp2u-send p:last-child { margin-bottom: 0; }
.wdp2u-send-sent { color: #2e7d4f; font-weight: 600; }
.wdp2u-send-price, .wdp2u-send-note { color: #6b6b6b; font-size: 13px; }
.wdp2u-send-btn { margin-bottom: 6px; }
.wdp2u-send-msg { color: #c62828; font-size: 13px; }

@media (max-width: 480px) {
    .wdp2u-modal { padding: 18px 16px 14px; }
    .wdp2u-actions { flex-direction: column-reverse; }
    .wdp2u-actions button { width: 100%; }
}
