/* Shared overrides for pages that use both frontend and backend styling.
   Keep this file low-risk: add only common rules that are intended to apply
   across layouts after the vendor styles have loaded. */

:root {
    --qr-primary: #0051bb;
    --qr-primary-dark: #1d3e94;
    --qr-surface: #ffffff;
    --qr-border: #e6ecf5;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]) {
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box;
}

.qr-optional-badge,
.vcard-section-note,
.design-style-note,
.greeting-optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0d0d0d;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.greeting-grid .form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}
