/* Custom Edit Request user/admin UI consistency fix — matches the main RVCX blue/white theme */
:root{--rvcx-brand:#1685f0;--rvcx-brand-dark:#0f6fd1;--rvcx-border:#e2e8f0;--rvcx-muted:#64748b;--rvcx-soft:#f8fafc}
.rvc-custom-page,.rvc-ca-page{color:#0f172a}
.rvc-custom-card,.rvc-custom-detail-head,.rvc-custom-user-stats>div,.rvc-custom-request-row,.rvc-custom-empty,.rvc-ca-card,.rvc-ca-row,.rvc-ca-stats>button{border-color:var(--rvcx-border)!important;box-shadow:0 8px 24px rgba(15,23,42,.035)!important;background:#fff!important}
.rvc-custom-heading-art,.rvc-custom-step,.rvc-custom-summary-icon,.rvc-custom-detail-files a>div{background:#eff6ff!important;color:var(--rvcx-brand)!important}
.rvc-custom-tab.active{color:var(--rvcx-brand)!important;border-color:var(--rvcx-brand)!important}
.rvc-custom-primary,.rvc-custom-browse,.rvc-custom-user-reply button,.rvc-custom-pay-now,.rvc-caw-pay,.rvc-ca-save,.rvc-ca-row>button,.rvc-ca-refresh,.rvc-ca-message-form button,#rvc-ca-message-form button{background:var(--rvcx-brand)!important;color:#fff!important;border:1px solid var(--rvcx-brand)!important;box-shadow:none!important}
.rvc-custom-primary:hover,.rvc-custom-browse:hover,.rvc-custom-user-reply button:hover,.rvc-custom-pay-now:hover,.rvc-caw-pay:hover,.rvc-ca-save:hover{background:var(--rvcx-brand-dark)!important;border-color:var(--rvcx-brand-dark)!important}
.rvc-custom-secondary,.rvc-custom-view,.rvc-custom-reference,.rvc-ca-link{background:#fff!important;color:var(--rvcx-brand)!important;border-color:#bfdbfe!important}
.rvc-custom-secondary:hover,.rvc-custom-view:hover,.rvc-custom-reference:hover{background:#eff6ff!important}
.rvc-custom-field input,.rvc-custom-field select,.rvc-custom-field textarea,.rvc-custom-list-tools input,.rvc-custom-list-tools select,.rvc-custom-user-reply textarea,.rvc-custom-user-reply input,.rvc-ca-manage input,.rvc-ca-manage select,.rvc-ca-manage textarea,#rvc-ca-message-form textarea{border-color:#dbe3ef!important;background:#fff!important;color:#0f172a!important;box-shadow:none!important}
.rvc-custom-field input:focus,.rvc-custom-field select:focus,.rvc-custom-field textarea:focus,.rvc-custom-user-reply textarea:focus,.rvc-ca-manage input:focus,.rvc-ca-manage select:focus,.rvc-ca-manage textarea:focus{border-color:var(--rvcx-brand)!important;box-shadow:0 0 0 3px rgba(22,133,240,.12)!important;outline:none!important}
.rvc-custom-note,.rvc-custom-note.purple,.rvc-custom-admin-note,.rvc-caw-note{background:#f8fafc!important;color:#475569!important;border-color:#e2e8f0!important}
.rvc-custom-admin-note strong,.rvc-custom-message-list strong,.rvc-caw-messages strong,.rvc-ca-messages strong{color:var(--rvcx-brand)!important}
.rvc-custom-message-list>div,.rvc-caw-messages>div,.rvc-ca-messages>div{background:#f8fafc!important;border-color:#e2e8f0!important}
.rvc-custom-message-list>div.admin,.rvc-caw-messages>div.admin,.rvc-ca-messages>div.admin{background:#eff6ff!important;border-color:#bfdbfe!important}
.rvc-custom-timeline>div.active i,.rvc-ca-timeline>div i{background:var(--rvcx-brand)!important;box-shadow:0 0 0 4px #dbeafe!important}
.rvc-custom-status.in_progress,.rvc-custom-status.ready_for_review,.rvc-custom-status.deal_confirmed,.rvc-custom-status.discussion_in_progress{background:#eff6ff!important;color:#0f6fd1!important}
.rvc-custom-status.rejected,.rvc-custom-status.cancelled{background:#fff1f2!important;color:#be123c!important}
.rvc-custom-payment.waiting_for_payment{background:#fff7ed!important;color:#c2410c!important}
.rvc-custom-payment.payment_completed{background:#ecfdf5!important;color:#047857!important}
.rvc-custom-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.rvc-custom-pay-now{min-height:38px;padding:9px 15px;border-radius:10px;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.rvc-custom-pay-now:disabled{opacity:.65;cursor:not-allowed}
.rvc-custom-payment-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:18px;align-items:center;margin:0 0 18px;padding:20px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#fff)}
.rvc-custom-payment-dashboard>div:first-child>span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#dbeafe;color:#0f6fd1;font-size:10px;font-weight:750}
.rvc-custom-payment-dashboard h2{margin:8px 0 4px;font-size:18px}.rvc-custom-payment-dashboard p{margin:0;color:#64748b;font-size:11px}
.rvc-custom-payment-dashboard-list{display:grid;gap:8px}.rvc-custom-payment-dashboard-list>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #dbeafe;border-radius:11px;background:#fff}.rvc-custom-payment-dashboard-list span{font-size:10px;color:#64748b}.rvc-custom-payment-dashboard-list strong{font-size:12px}
.rvc-custom-user-reply{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.rvc-custom-user-reply label>span{display:block;margin-bottom:6px;font-size:11px;font-weight:650;color:#334155}.rvc-custom-user-reply textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #dbe3ef;border-radius:12px;padding:12px;font:inherit;font-size:12px}.rvc-custom-reply-file{display:block;border:1px dashed #cbd5e1;border-radius:11px;padding:11px;background:#f8fafc}.rvc-custom-reply-file input{width:100%;font-size:11px}.rvc-custom-user-reply button{justify-self:start;border-radius:10px;padding:10px 18px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.rvc-custom-reply-message{min-height:18px;font-size:11px;color:#64748b}.rvc-custom-reply-message.success{color:#047857}.rvc-custom-reply-message.error{color:#be123c}.rvc-custom-message-empty{padding:14px;border:1px dashed #cbd5e1;border-radius:11px;color:#64748b;font-size:11px;background:#f8fafc}
.rvc-custom-detail-head>div:last-child .rvc-custom-pay-now{width:100%;margin-top:5px}.rvc-custom-sticky>.rvc-custom-pay-now{width:100%;margin-top:14px;min-height:44px;font-size:13px}
.rvc-custom-home-payment{position:relative;z-index:2;max-width:1180px;margin:18px auto 0;padding:0 24px}.rvc-custom-home-payment-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#fff);padding:18px 20px}.rvc-custom-home-payment-card small{display:block;color:#0f6fd1;font-weight:750;margin-bottom:4px}.rvc-custom-home-payment-card h3{margin:0 0 4px;font-size:17px}.rvc-custom-home-payment-card p{margin:0;color:#64748b;font-size:11px}.rvc-custom-home-payment-actions{display:flex;align-items:center;gap:10px}.rvc-custom-home-payment-actions strong{white-space:nowrap}
@media(max-width:900px){.rvc-custom-payment-dashboard{grid-template-columns:1fr}.rvc-custom-request-actions{justify-content:flex-start}.rvc-custom-home-payment{padding:0 16px}.rvc-custom-home-payment-card{align-items:flex-start;flex-direction:column}.rvc-custom-home-payment-actions{width:100%;justify-content:space-between}}
@media(max-width:640px){.rvc-custom-request-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.rvc-custom-request-actions>*{width:100%}.rvc-custom-payment-dashboard-list>div{grid-template-columns:1fr auto}.rvc-custom-payment-dashboard-list .rvc-custom-pay-now{grid-column:1/-1;width:100%}.rvc-custom-detail-head>div:last-child{width:100%}.rvc-custom-detail-head>div:last-child .rvc-custom-pay-now{width:100%}.rvc-custom-home-payment-actions{display:grid;grid-template-columns:1fr}.rvc-custom-home-payment-actions .rvc-custom-pay-now{width:100%}}

/* 2026-07-13: match the main website blue/white/slate theme and remove old violet accents */
.rvc-custom-quick button{background:#fff!important;border-color:#dbe3ef!important;color:#334155!important;box-shadow:none!important}
.rvc-custom-quick button:hover,.rvc-custom-quick button:focus{background:#f8fafc!important;border-color:#bfdbfe!important;color:#0f6fd1!important;outline:none!important}
.rvc-custom-request-code{background:#eff6ff!important;color:#0f6fd1!important;border:1px solid #bfdbfe!important}
.rvc-custom-files-head button,.rvc-custom-gate svg,.rvc-custom-video-thumb{color:#1685f0!important}
.rvc-custom-video-thumb{background:#eff6ff!important}
.rvc-custom-drop.dragging{border-color:#1685f0!important;background:#eff6ff!important}
.rvc-custom-progress-track{background:#dbeafe!important}.rvc-custom-progress-bar{background:#1685f0!important}
.rvc-custom-status.in_progress{background:#eff6ff!important;color:#0f6fd1!important}
