/* WeBid2Win US Marketplace — landing / dashboard / customers */

.w2w-us-landing, .w2w-us-dash, .w2w-us-customers {
    --us-primary: #215387;
    --us-primary-hover: #1a4370;
    --us-border: #e2e8f0;
    --us-muted: #64748b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    max-width: 1080px;
    margin: 0 auto;
    line-height: 1.55;
}

.w2w-us-note { padding: 18px; background: #f8fafc; border-radius: 8px; }
.w2w-us-muted { color: var(--us-muted); }
.w2w-us-nowrap { white-space: nowrap; }

/* Buttons */
.w2w-us-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--us-primary); color: #fff; border: 1px solid var(--us-primary); border-radius: 8px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.w2w-us-btn:hover { background: var(--us-primary-hover); color: #fff; text-decoration: none; }
.w2w-us-btn-lg { padding: 12px 22px; font-size: 15px; }
.w2w-us-btn-sm { padding: 5px 11px; font-size: 12px; }
.w2w-us-btn-ghost { background: #f1f5f9; color: #1e293b; border-color: var(--us-border); }
.w2w-us-btn-ghost:hover { background: #e2e8f0; color: #0f172a; }
.w2w-us-btn-bad { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.w2w-us-btn-bad:hover { background: #fecaca; color: #991b1b; }
.w2w-us-link { background: none; border: none; color: var(--us-primary); font-size: 12px; cursor: pointer; padding: 0 0 0 8px; }

/* Geo banner */
.w2w-us-geo-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }
.w2w-us-geo-banner a { color: #92400e; font-weight: 700; }
.w2w-us-geo-dismiss { margin-left: auto; background: none; border: none; font-size: 20px; line-height: 1; color: #92400e; cursor: pointer; }

/* Hero + how */
.w2w-us-hero { text-align: center; padding: 32px 12px 24px; }
.w2w-us-hero h1 { font-size: 30px; margin: 0 0 12px; }
.w2w-us-hero p { max-width: 620px; margin: 0 auto 20px; color: #334155; }
.w2w-us-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w2w-us-hero .w2w-us-fine { margin-top: 12px; }
.w2w-us-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 36px; }
.w2w-us-how-item { background: #fff; border: 1px solid var(--us-border); border-radius: 10px; padding: 18px; }
.w2w-us-how-item span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--us-primary); color: #fff; border-radius: 50%; font-weight: 700; font-size: 13px; }
.w2w-us-how-item h4 { margin: 10px 0 4px; font-size: 15px; }
.w2w-us-how-item p { margin: 0; font-size: 13px; color: var(--us-muted); }

/* Card */
.w2w-us-card { background: #fff; border: 1px solid var(--us-border); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.w2w-us-card h3 { margin: 0 0 12px; font-size: 16px; }
.w2w-us-register h2 { text-align: center; }

/* Form */
.w2w-us-form h3 { margin: 18px 0 10px; font-size: 14px; color: #334155; }
.w2w-us-form h3:first-of-type { margin-top: 0; }
.w2w-us-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.w2w-us-form label { display: block; font-size: 12px; font-weight: 600; color: #475569; }
.w2w-us-form input, .w2w-us-form select { width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; font-weight: 400; font-family: inherit; margin-top: 4px; }
.w2w-us-form input[readonly] { background: #f8fafc; color: var(--us-muted); }
.w2w-us-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 400; margin: 16px 0; }
.w2w-us-check input { width: auto; margin-top: 3px; }
.w2w-us-hp { position: absolute; left: -9999px; }
.w2w-us-invited { background: #dcfce7; color: #166534; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.w2w-us-form-msg { padding: 10px 12px; border-radius: 8px; margin: 12px 0; font-size: 14px; background: #fee2e2; color: #991b1b; }
.w2w-us-form-msg.ok { background: #dcfce7; color: #166534; }
.w2w-us-fine { font-size: 13px; color: var(--us-muted); margin-top: 12px; }

/* Dashboard */
.w2w-us-dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.w2w-us-dash-head h2 { margin: 0; font-size: 20px; }
.w2w-us-dash-sub { margin: 2px 0 0; color: var(--us-muted); font-size: 13px; }
.w2w-us-pending { border-left: 4px solid #f59e0b; }
.w2w-us-cta { border-left: 4px solid var(--us-primary); }
.w2w-us-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 0 0 14px; }
.w2w-us-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: .3px; color: var(--us-muted); }
.w2w-us-dl dd { margin: 2px 0 0; font-weight: 600; }

/* Tables */
.w2w-us-table-wrap { overflow-x: auto; }
.w2w-us-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.w2w-us-table th, .w2w-us-table td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--us-border); vertical-align: top; }
.w2w-us-table th { background: #f8fafc; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; color: var(--us-muted); }
.w2w-us-invite-url { width: 100%; min-width: 220px; padding: 5px 8px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12px; color: var(--us-muted); }

/* Customers */
.w2w-us-tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.w2w-us-tab { padding: 7px 14px; border-radius: 8px 8px 0 0; text-decoration: none; color: var(--us-muted); font-weight: 600; font-size: 13px; border: 1px solid transparent; }
.w2w-us-tab.active { color: #1e293b; border-color: var(--us-border); border-bottom-color: #fff; background: #fff; }
.w2w-us-badge { background: #ede9fe; color: #6d28d9; border-radius: 999px; padding: 1px 7px; font-size: 11px; }
.w2w-us-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; }
.w2w-us-st-pending { background: #fef9c3; color: #854d0e; }
.w2w-us-st-ok { background: #dcfce7; color: #15803d; }
.w2w-us-st-bad { background: #fee2e2; color: #b91c1c; }
.w2w-us-actions { white-space: nowrap; }
.w2w-us-actions .w2w-us-btn { margin: 1px; }
.w2w-us-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 6px 0; }
.w2w-us-detail p { margin: 2px 0; font-size: 13px; }
.w2w-us-offer-list { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.w2w-us-detail-row td { background: #f8fafc; }

@media (max-width: 720px) {
    .w2w-us-how { grid-template-columns: 1fr; }
    .w2w-us-grid2, .w2w-us-detail { grid-template-columns: 1fr; }
    .w2w-us-hero h1 { font-size: 24px; }
}
