/* Bentrix Secure - recipient gate + standalone message pages */
:root {
    --bg: #0b0f17;
    --card: #141b28;
    --line: #26324a;
    --text: #e8edf5;
    --text-dim: #8a99b3;
    --primary: #3b82f6;
    --danger: #ef4444;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.gate {
    background: radial-gradient(1200px 600px at 50% -10%, #1b2740, #0b0f17 60%);
    color: var(--text);
    font: 15px/1.6 var(--font);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.gate-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    text-align: center;
}
.gate-brand { font-weight: 800; letter-spacing: .14em; font-size: 15px; margin-bottom: 22px; }
.gate-brand span { display: block; font-size: 9px; letter-spacing: .3em; color: var(--text-dim); font-weight: 600; margin-top: 3px; }
.gate-title { font-size: 18px; margin: 0 0 8px; }
.gate-doc { font-size: 16px; font-weight: 700; margin: 6px 0; word-break: break-word; }
.gate-lead { color: var(--text); margin: 6px 0; }
.gate-sub { color: var(--text-dim); font-size: 13px; margin: 6px 0 18px; }
.gate-note { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.35); color: #bfdbfe;
    border-radius: 8px; padding: 10px 12px; font-size: 12px; margin-bottom: 16px; word-break: break-word; }
.gate-alert { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5;
    border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.gate-link { display: inline-block; margin-top: 16px; color: var(--text-dim); font-size: 13px; }

.field { display: flex; flex-direction: column; gap: 6px; text-align: left; margin-bottom: 14px; }
.field > span { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.gate-card input[type=text], .gate-card input[type=password], .gate-card input[type=email] {
    background: #0b0f17; color: var(--text); border: 1px solid var(--line); border-radius: 9px;
    padding: 12px 13px; font: inherit; letter-spacing: .06em; width: 100%; text-align: center;
}
.gate-card input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.btn { display: inline-block; background: #1d2839; color: var(--text); border: 1px solid var(--line);
    border-radius: 9px; padding: 11px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.gate-expiry { color: var(--text-dim); font-size: 12px; margin-top: 16px; }
.gate-verified { color: #86efac; font-weight: 700; margin-top: 14px; }
