/*
 * PayRequest embed button stylesheet
 * Loaded from https://payreque.st/embed/button.css
 * Versioned via the file URL — when restyling, ship a new path (e.g. /embed/button-v2.css)
 * so existing merchant pages keep their look.
 */

.pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    user-select: none;
    box-sizing: border-box;
}

.pr-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pr-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.pr-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Default — PayRequest blue */
.pr-btn--default {
    background-color: #2563eb;
    color: #ffffff;
}

.pr-btn--default:hover {
    background-color: #1d4ed8;
    color: #ffffff;
}

/* Dark — for light pages */
.pr-btn--dark {
    background-color: #18181b;
    color: #ffffff;
}

.pr-btn--dark:hover {
    background-color: #27272a;
    color: #ffffff;
}

/* Outline — minimal */
.pr-btn--outline {
    background-color: transparent;
    color: #18181b;
    border-color: #d4d4d8;
}

.pr-btn--outline:hover {
    background-color: #f4f4f5;
    color: #18181b;
    border-color: #a1a1aa;
}

/* Optional small lock icon prefix when the button has the .pr-btn--secure modifier */
.pr-btn--secure::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}
