/* UBD Registration Manager — Public UI v1.2.0 */
.ubdrm-shell,
.ubdrm-dashboard-app,
.ubdrm-login-wrap {
    --ubdrm-ink: #12213f;
    --ubdrm-muted: #68758a;
    --ubdrm-line: #dfe6ef;
    --ubdrm-soft: #f5f8fc;
    --ubdrm-white: #ffffff;
    font-family: "Hind Siliguri", "Noto Sans Bengali", Inter, Arial, sans-serif;
    color: var(--ubdrm-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ubdrm-shell *,
.ubdrm-dashboard-app *,
.ubdrm-login-wrap * {
    box-sizing: border-box;
}

/* Prevent theme underline/border styles inside the plugin. */
.ubdrm-shell a,
.ubdrm-shell a:hover,
.ubdrm-shell a:focus,
.ubdrm-shell a:active,
.ubdrm-dashboard-app a,
.ubdrm-dashboard-app a:hover,
.ubdrm-dashboard-app a:focus,
.ubdrm-dashboard-app a:active,
.ubdrm-login-wrap a,
.ubdrm-login-wrap a:hover,
.ubdrm-login-wrap a:focus,
.ubdrm-login-wrap a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.ubdrm-shell {
    width: 100%;
    max-width: 1180px;
    margin: 38px auto;
    padding: 0 18px;
}

.ubdrm-hero,
.ubdrm-form-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 18%, rgba(255,255,255,.17), transparent 24%),
        linear-gradient(135deg, var(--ubdrm-primary) 0%, #123b7c 52%, #08295b 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 46px;
    box-shadow: 0 24px 70px rgba(11,42,100,.22);
}

.ubdrm-hero::before,
.ubdrm-form-head::before {
    content: "";
    position: absolute;
    inset: -60% -15%;
    z-index: -2;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.11) 48%, transparent 61%);
    transform: translateX(-55%);
    animation: ubdrm-shimmer 8s ease-in-out infinite;
}

.ubdrm-hero::after,
.ubdrm-form-head::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    top: -130px;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025);
}

.ubdrm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #ffd3c4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}

.ubdrm-kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 99px;
    background: var(--ubdrm-accent);
    box-shadow: 0 0 14px rgba(239,91,42,.55);
}

.ubdrm-hero h2,
.ubdrm-form-head h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.ubdrm-hero p,
.ubdrm-form-head p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.7;
}

.ubdrm-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
    margin-top: 26px;
}

.ubdrm-service-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 245px;
    padding: 28px;
    color: var(--ubdrm-ink) !important;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    border: 1px solid #e1e8f1;
    border-radius: 20px;
    box-shadow: 0 14px 42px rgba(16,36,70,.08);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.ubdrm-service-card::after {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -74px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239,91,42,.13), rgba(11,42,100,.04));
    transition: transform .35s ease;
}

.ubdrm-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(239,91,42,.48);
    box-shadow: 0 22px 52px rgba(16,36,70,.14);
}

.ubdrm-service-card:hover::after { transform: scale(1.18); }

.ubdrm-card-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce7f7;
    border-radius: 17px;
    color: var(--ubdrm-primary);
    background: linear-gradient(145deg,#f5f9ff,#eaf1fc);
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(15,52,112,.08);
    font-size: 21px;
    font-weight: 900;
}

.ubdrm-service-card h3 { margin: 20px 0 8px; font-size: 21px; line-height: 1.3; }
.ubdrm-service-card p { margin: 0 0 22px; color: #657087; line-height: 1.65; }
.ubdrm-link-label { position: relative; z-index: 1; color: var(--ubdrm-accent); font-weight: 800; }

.ubdrm-hub-actions,
.ubdrm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ubdrm-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    padding: 12px 19px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ubdrm-accent), #f17442);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(239,91,42,.22);
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.ubdrm-btn::after {
    content: "";
    position: absolute;
    inset: -80% auto -80% -42%;
    z-index: -1;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.ubdrm-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(239,91,42,.28); filter: saturate(1.05); }
.ubdrm-btn:hover::after { left: 112%; }
.ubdrm-btn:focus-visible { outline: 3px solid rgba(239,91,42,.23); outline-offset: 3px; }
.ubdrm-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.ubdrm-btn-secondary { background: linear-gradient(135deg,var(--ubdrm-primary),#174783); box-shadow: 0 10px 22px rgba(11,42,100,.2); }
.ubdrm-btn-ghost { color: #23334f !important; background: #eef2f7; box-shadow: none; }
.ubdrm-btn-whatsapp { background: linear-gradient(135deg,#0fa958,#20c66e); box-shadow: 0 10px 22px rgba(22,167,92,.21); }
.ubdrm-btn-block { width: 100%; }

/* Premium forms */
.ubdrm-form-shell { max-width: 1120px; }

.ubdrm-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px 40px;
    border-radius: 24px 24px 0 0;
}

.ubdrm-progress-pill {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 10px 16px;
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 800;
}

.ubdrm-progress-pill::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #58e397;
    box-shadow: 0 0 0 5px rgba(88,227,151,.13);
    animation: ubdrm-pulse 2s ease-in-out infinite;
}

.ubdrm-form {
    position: relative;
    counter-reset: ubdrm-section;
    padding: 30px;
    background:
        linear-gradient(rgba(248,250,253,.92),rgba(248,250,253,.92)),
        radial-gradient(circle at 12% 15%,rgba(239,91,42,.08),transparent 22%),
        radial-gradient(circle at 90% 80%,rgba(11,42,100,.07),transparent 25%);
    border: 1px solid #dfe6ef;
    border-top: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 26px 72px rgba(16,36,70,.10);
}

.ubdrm-form-section {
    position: relative;
    counter-increment: ubdrm-section;
    margin-bottom: 20px;
    padding: 25px;
    background: rgba(255,255,255,.94);
    border: 1px solid #e1e8f1;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17,38,76,.055);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
    animation: ubdrm-section-in .52s both;
}

.ubdrm-form-section:nth-of-type(2) { animation-delay: .05s; }
.ubdrm-form-section:nth-of-type(3) { animation-delay: .10s; }
.ubdrm-form-section:nth-of-type(4) { animation-delay: .15s; }
.ubdrm-form-section:nth-of-type(5) { animation-delay: .20s; }

.ubdrm-form-section:hover {
    transform: translateY(-2px);
    border-color: #d4dfea;
    box-shadow: 0 16px 34px rgba(17,38,76,.075);
}

.ubdrm-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 21px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f6;
}

.ubdrm-section-title::before {
    content: counter(ubdrm-section, decimal-leading-zero);
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,var(--ubdrm-primary),#1c4d8d);
    border-radius: 13px;
    box-shadow: 0 9px 20px rgba(11,42,100,.18);
    font-size: 13px;
    font-weight: 900;
}

.ubdrm-section-title > span { display: none; }
.ubdrm-section-title h3 { margin: 1px 0 0; color: var(--ubdrm-primary); font-size: 20px; line-height: 1.3; }
.ubdrm-section-title p { margin: 4px 0 0; color: #748096; line-height: 1.55; }

.ubdrm-fields-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.ubdrm-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.ubdrm-field-full { grid-column: 1 / -1; }

.ubdrm-field label {
    color: #263754;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
}

.ubdrm-field label span { color: #d92d20; }

.ubdrm-field input,
.ubdrm-field select,
.ubdrm-field textarea,
.ubdrm-lookup-form input {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 13px 14px;
    color: #17243e;
    background: linear-gradient(180deg,#fff,#fbfcfe);
    border: 1px solid #ced8e5;
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(16,36,70,.025);
    outline: 0;
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.ubdrm-field textarea { min-height: 116px; resize: vertical; line-height: 1.6; }
.ubdrm-field input::placeholder,
.ubdrm-field textarea::placeholder,
.ubdrm-lookup-form input::placeholder { color: #98a3b4; opacity: 1; }

.ubdrm-field input:hover,
.ubdrm-field select:hover,
.ubdrm-field textarea:hover { border-color: #b9c6d7; }

.ubdrm-field input:focus,
.ubdrm-field select:focus,
.ubdrm-field textarea:focus,
.ubdrm-lookup-form input:focus {
    background: #fff;
    border-color: var(--ubdrm-accent);
    box-shadow: 0 0 0 4px rgba(239,91,42,.11), 0 8px 22px rgba(16,36,70,.055);
    transform: translateY(-1px);
}

.ubdrm-field input[type="file"] {
    min-height: 62px;
    padding: 8px;
    color: #536176;
    background: #f8fbff;
    border-style: dashed;
}

.ubdrm-field input[type="file"]::file-selector-button {
    height: 44px;
    margin-right: 12px;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(135deg,var(--ubdrm-primary),#1b4b89);
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ubdrm-check-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}

.ubdrm-check-grid label {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    background: linear-gradient(180deg,#fff,#f9fbfe);
    border: 1px solid #e0e6ef;
    border-radius: 11px;
    font-weight: 650;
    cursor: pointer;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.ubdrm-check-grid label:hover { transform: translateY(-1px); border-color: #c7d4e5; box-shadow: 0 7px 16px rgba(16,36,70,.05); }
.ubdrm-check-grid input { width: 18px; height: 18px; min-height: 0; accent-color: var(--ubdrm-accent); }

.ubdrm-form-submit {
    padding: 14px 4px 3px;
    text-align: center;
}

.ubdrm-checkbox-line {
    display: flex;
    max-width: 760px;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 18px;
    color: #47546a;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.ubdrm-checkbox-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ubdrm-accent); }
.ubdrm-submit-btn { min-width: 300px; }
.ubdrm-form-note { margin: 11px 0 0; color: #718096; font-size: 13px; }

.ubdrm-alert { margin: 15px 0; padding: 15px 17px; border-radius: 12px; }
.ubdrm-alert-error { color: #a62222; background: #fff1f1; border: 1px solid #ffc9c9; }

.ubdrm-success-box {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 25px;
    background: linear-gradient(135deg,#effcf5,#f8fffb);
    border: 1px solid #bcebcf;
    border-radius: 18px;
    box-shadow: 0 15px 38px rgba(24,164,91,.09);
}

.ubdrm-success-icon {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,#18a45b,#29c773);
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(24,164,91,.22);
    font-size: 24px;
    font-weight: 900;
}

.ubdrm-success-box h3 { margin: 0 0 7px; }
.ubdrm-success-box p { margin: 5px 0; color: #526074; }

.ubdrm-lookup-shell { max-width: 800px; }
.ubdrm-lookup-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 13px;
    align-items: end;
    margin-top: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e0e6ef;
    border-radius: 17px;
    box-shadow: 0 14px 38px rgba(20,42,80,.08);
}
.ubdrm-lookup-result { margin-top: 18px; padding: 24px; background: #fff; border: 1px solid #dce4ef; border-radius: 17px; box-shadow: 0 13px 34px rgba(20,42,80,.06); }
.ubdrm-lookup-result h3 { margin: 12px 0 4px; }
.ubdrm-lookup-result p { margin: 6px 0; color: #56647a; }

.ubdrm-status-badge { display: inline-flex; align-items: center; padding: 6px 10px; color: #44546c; background: #eef2f7; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-approved,.status-paid,.status-token_sent,.status-entered { color: #16854b !important; background: #e7f8ee !important; }
.status-pending,.status-under_review { color: #a76100 !important; background: #fff6e6 !important; }
.status-correction_required,.status-partially_paid,.status-payment_pending { color: #b45600 !important; background: #fff0dc !important; }
.status-rejected,.status-cancelled { color: #bd2525 !important; background: #ffe9e9 !important; }

.ubdrm-login-wrap {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 16px;
    background:
        radial-gradient(circle at 20% 20%,rgba(239,91,42,.09),transparent 25%),
        radial-gradient(circle at 85% 72%,rgba(11,42,100,.1),transparent 28%),
        linear-gradient(135deg,#f2f6fc,#fff);
}

.ubdrm-login-card {
    width: 100%;
    max-width: 480px;
    padding: 34px;
    background: rgba(255,255,255,.96);
    border: 1px solid #e0e6ef;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(18,43,84,.15);
    backdrop-filter: blur(12px);
}

.ubdrm-login-brand { margin-bottom: 24px; }
.ubdrm-login-brand h2 { margin: 0 0 8px; color: var(--ubdrm-primary); font-size: 30px; }
.ubdrm-login-brand p { margin: 0; color: #68758a; }
.ubdrm-login-card form { display: grid; gap: 16px; }
.ubdrm-forgot { display: block; color: var(--ubdrm-primary) !important; text-align: center; font-size: 14px; }
.ubdrm-help-text { color: #768197; font-size: 12px; line-height: 1.55; }

@keyframes ubdrm-shimmer { 0%,55% { transform: translateX(-58%); } 82%,100% { transform: translateX(68%); } }
@keyframes ubdrm-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .72; } }
@keyframes ubdrm-section-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .ubdrm-card-grid { grid-template-columns: 1fr; }
    .ubdrm-fields-grid { grid-template-columns: 1fr; }
    .ubdrm-check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ubdrm-form-head { align-items: flex-start; }
    .ubdrm-lookup-form { grid-template-columns: 1fr; }
    .ubdrm-progress-pill { display: none; }
}

@media (max-width: 600px) {
    .ubdrm-shell { margin: 16px auto; padding: 0 10px; }
    .ubdrm-hero,
    .ubdrm-form-head { padding: 26px 20px; border-radius: 18px 18px 0 0; }
    .ubdrm-hero { border-radius: 18px; }
    .ubdrm-hero h2,
    .ubdrm-form-head h2 { font-size: 26px; }
    .ubdrm-hero p,
    .ubdrm-form-head p { font-size: 14px; line-height: 1.62; }
    .ubdrm-form { padding: 11px; border-radius: 0 0 18px 18px; }
    .ubdrm-form-section { padding: 16px 14px; border-radius: 15px; }
    .ubdrm-form-section:hover { transform: none; }
    .ubdrm-section-title { gap: 10px; margin-bottom: 17px; padding-bottom: 13px; }
    .ubdrm-section-title::before { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
    .ubdrm-section-title h3 { font-size: 18px; }
    .ubdrm-fields-grid { gap: 15px; }
    .ubdrm-field input,
    .ubdrm-field select,
    .ubdrm-field textarea,
    .ubdrm-lookup-form input { min-height: 50px; font-size: 16px; }
    .ubdrm-field input[type="file"] { min-height: 62px; font-size: 14px; }
    .ubdrm-check-grid { grid-template-columns: 1fr; }
    .ubdrm-submit-btn,
    .ubdrm-hub-actions .ubdrm-btn,
    .ubdrm-actions .ubdrm-btn { width: 100%; min-width: 0; }
    .ubdrm-service-card { min-height: 0; padding: 22px; border-radius: 17px; }
    .ubdrm-login-card { padding: 24px 20px; border-radius: 18px; }
    .ubdrm-success-box { flex-direction: column; padding: 20px; }
    .ubdrm-lookup-form { padding: 15px; }
}

@media (max-width: 380px) {
    .ubdrm-hero h2,
    .ubdrm-form-head h2 { font-size: 23px; }
    .ubdrm-form-section { padding: 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ubdrm-hero::before,
    .ubdrm-form-head::before,
    .ubdrm-progress-pill::before,
    .ubdrm-form-section { animation: none !important; }
    .ubdrm-btn,
    .ubdrm-service-card,
    .ubdrm-form-section,
    .ubdrm-field input,
    .ubdrm-field select,
    .ubdrm-field textarea { transition: none !important; }
}


/* QR Scanner — v1.2.0 */
.ubdrm-scanner-shell { max-width: 1040px; }
.ubdrm-scanner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
    margin-top: 20px;
}
.ubdrm-scanner-card {
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    box-shadow: 0 15px 42px rgba(16,36,70,.08);
}
.ubdrm-scanner-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.ubdrm-scanner-card-head > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,var(--ubdrm-primary),#1b4b89);
    border-radius: 12px;
    font-weight: 900;
}
.ubdrm-scanner-card-head h3 { margin: 0 0 4px; font-size: 20px; }
.ubdrm-scanner-card-head p { margin: 0; color: #6f7c90; font-size: 13px; line-height: 1.5; }
.ubdrm-qr-reader {
    overflow: hidden;
    min-height: 300px;
    background: #f4f7fb;
    border: 1px dashed #cdd8e6;
    border-radius: 15px;
}
.ubdrm-qr-reader #html5-qrcode-button-camera-permission,
.ubdrm-qr-reader #html5-qrcode-button-camera-start,
.ubdrm-qr-reader #html5-qrcode-button-camera-stop,
.ubdrm-qr-reader #html5-qrcode-button-file-selection {
    min-height: 42px;
    padding: 9px 14px;
    color: #fff;
    background: var(--ubdrm-primary);
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.ubdrm-qr-reader select {
    max-width: calc(100% - 20px);
    min-height: 42px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #ccd7e5;
    border-radius: 9px;
    font: inherit;
}
.ubdrm-qr-reader img { max-width: 95px; }
.ubdrm-scan-message {
    margin-top: 12px;
    padding: 11px 13px;
    color: #285c44;
    background: #eefaf4;
    border: 1px solid #ccebdc;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.ubdrm-scan-message.is-error { color: #9e2c2c; background: #fff1f1; border-color: #f5c7c7; }
.ubdrm-manual-scan-form { display: grid; gap: 13px; }
.ubdrm-manual-result { margin-top: 16px; padding: 16px; background: #f7faff; border: 1px solid #dce5f1; border-radius: 13px; }
.ubdrm-manual-result h4 { margin: 10px 0 3px; font-size: 19px; }
.ubdrm-manual-result p { margin: 0 0 13px; color: #6f7b8e; font-size: 13px; }
.ubdrm-field-full { grid-column: 1 / -1; }

@media (max-width: 820px) {
    .ubdrm-scanner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ubdrm-scanner-card { padding: 15px; border-radius: 15px; }
    .ubdrm-qr-reader { min-height: 250px; }
}
.ubdrm-scanner-footer { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width:600px){.ubdrm-scanner-footer .ubdrm-btn{width:100%}}
