/* UAE Tenders & Suppliers Platform — free buyer pages (buyer-register.html, buyer.html) + buyer-tender add-ons on tender.html */
.ub-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 16px}
.ub-steps div{background:#fff;border:1px solid var(--line,#d2ded8);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.ub-steps b{display:flex;align-items:center;gap:8px;color:var(--brown,#14462f);font-size:14.5px}
.ub-steps i{font-style:normal;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#be1526;color:#fff;font-size:13px;flex:none}
.ub-steps small{color:#4d6b5c;font-size:12.5px;line-height:1.6}
.ub-badge{display:inline-flex;align-items:center;gap:5px;background:#fdecee;color:#a3121f;border:1px solid #f3c3c8;border-radius:30px;padding:2px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.ub-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ub-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0 4px}
.ub-stats div{background:#f6f9f7;border:1px solid var(--line,#d2ded8);border-radius:14px;padding:10px 12px;text-align:center}
.ub-stats b{display:block;font-size:24px;color:var(--brown,#14462f)}.ub-stats small{color:#4d6b5c;font-weight:700;font-size:12.5px}
.ub-list{display:grid;gap:12px}
.ub-item{border:1px solid var(--line,#d2ded8);border-radius:16px;padding:14px 16px;background:#fff}
.ub-item h4{margin:6px 0 4px;font-size:16.5px;color:#0e2e1f;line-height:1.6}
.ub-item .meta{display:flex;flex-wrap:wrap;gap:6px 14px;color:#4d6b5c;font-size:13px;font-weight:600}
.ub-item .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.ub-item .why{margin-top:8px;background:#fbf2f3;border-radius:10px;padding:8px 12px;color:#8a2f1c;font-size:13.5px;font-weight:700}
.ub-st{display:inline-block;font-size:12px;font-weight:800;border-radius:30px;padding:3px 11px}
.ub-st.pending{background:#fff4dc;color:#7a5600}.ub-st.approved{background:#e3f3ea;color:#0b6b45}.ub-st.rejected{background:#fbe9eb;color:#a3121f}.ub-st.closed{background:#eef2f0;color:#55675e}
.ub-q{border:1px solid var(--line,#d2ded8);border-radius:16px;padding:14px 16px;background:#fff;display:grid;gap:6px}
.ub-q.new{border-color:#be1526;box-shadow:0 0 0 3px #be152614}
.ub-q .p{font-size:20px;font-weight:900;color:#0b6b45}
.ub-q .kv{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13.5px;color:#30473b}
.ub-q .kv b{color:#0e2e1f}
.ub-q a{color:#0b6b45;font-weight:800}
.ub-files{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.ub-files a{display:inline-flex;gap:8px;align-items:center;color:#0b6b45;font-weight:800;text-decoration:none;border:1px solid var(--line,#d2ded8);border-radius:12px;padding:8px 12px;background:#f7faf8}
.ub-files small{color:#6a7f74;font-weight:600}
.ub-panel{border:2px solid #0b6b45;background:linear-gradient(180deg,#f3faf6,#fff);border-radius:18px;padding:18px;margin:18px 0}
.ub-panel h3{margin:0 0 6px;color:#0b6b45;font-size:19px}
.ub-panel p{margin:0 0 10px;color:#30473b;line-height:1.8}
.ub-form{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.ub-form .full{grid-column:1/-1}
.ub-form label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:14px}
.ub-form input,.ub-form select,.ub-form textarea{border:1px solid #c5d5cd;border-radius:12px;padding:10px 12px;font:inherit;background:#fff}
.ub-form textarea{min-height:110px;resize:vertical}
.ub-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:11px 20px;font:inherit;font-weight:800;cursor:pointer;background:#be1526;color:#fff;text-decoration:none}
.ub-btn.o{background:#fff;color:#14462f;border:1.5px solid #c5d5cd}
.ub-btn[disabled]{opacity:.55;cursor:not-allowed}
.ub-msg{display:none;border-radius:12px;padding:11px 14px;font-weight:700;margin-top:10px}
.ub-msg.ok{display:block;background:#e7f3e6;color:#2d5a2a}.ub-msg.err{display:block;background:#fbf2f3;color:#8a2f1c}
.ub-drop{border:2px dashed #b9cdc3;border-radius:14px;padding:14px;text-align:center;background:#fafcfb;color:#4d6b5c;font-weight:700;cursor:pointer}
.ub-drop input{display:none}
.ub-fl{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.ub-fl li{display:flex;justify-content:space-between;gap:8px;background:#f3f7f5;border-radius:10px;padding:6px 10px;font-size:13px}
.ub-fl button{border:0;background:none;color:#a3121f;font-weight:900;cursor:pointer}
.ub-free{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border:2px solid #be1526;border-radius:18px;padding:16px 18px;margin:0 0 18px;background:linear-gradient(90deg,#fff5f6,#fff)}
.ub-free b{font-size:17px;color:#a3121f}.ub-free p{margin:4px 0 0;color:#30473b;font-size:14px}
@media(max-width:760px){.ub-steps,.ub-stats{grid-template-columns:1fr 1fr}.ub-form{grid-template-columns:1fr}}
