/*
 * Dashboard touch-up. A lighter, tighter look in the spirit of Cloudflare's dashboard:
 * Inter (variable), medium weights, tighter large text, 8px corners, a hairline shadow.
 * Loaded after each page's own styles, so it only overrides small details.
 * Shared by app/index.html and app/pages/*.html. Change the look in this one file.
 */

html, body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings: medium weight and slightly tighter, instead of bold */
.page-title { font-weight: 600; letter-spacing: -.02em; }
.card-head-title { font-size: 14px; font-weight: 500; letter-spacing: -.005em; color: var(--gray-900); }
/* Only the Overview "Plan" heading: light grey */
.card-head-title.plan-head { color: #8a94a3; }
.card-head-title.inv-head { color: #8a94a3; }
.topbar-breadcrumb .current { font-weight: 500; letter-spacing: -.005em; }

/* Cards: 8px corners and a hairline shadow */
.card, .section-card {
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

/* Buttons: 6px corners, medium weight, outline buttons get the same hairline shadow */
.btn { border-radius: 6px; font-weight: 500; }
.btn-ghost { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.btn-ghost:hover { border-color: var(--gray-300); }

/* Small labels read a touch lighter */
.plan-meta, .page-sub { color: var(--gray-500); }
.plan-meta span { font-weight: 500; }

/* Package icons (see plan-icons.js): vector version of the supplied icons, one soft blue-slate colour */
.plan-ico { flex: 0 0 auto; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.plan-ico { color: var(--plan-ico-color, #3C668F); }
/* Package names: same soft blue as the icons, extra thick */
.plan-title, .plan-name-text, .np-plan-name, .pc-name .pc-title, .pc-name { color: var(--plan-ico-color, #3C668F) !important; font-weight: 800 !important; letter-spacing: -.02em; }
.plan-ico svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.plan-ico.sm { width: 26px; height: 26px; }
.pc-name { display: flex; align-items: center; gap: 9px; }

/* "Your workspace is ready" dialog (provisioning-ready.js) */
.rdy-box { text-align: left !important; max-width: 420px !important; padding: 28px 28px 22px !important; }
.rdy-title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #1a3a5c; margin-bottom: 6px; }
.rdy-sub { font-size: 13px; color: #6b7280; line-height: 1.6; margin-bottom: 18px; }
.rdy-list { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 18px; background: #f9fafb; }
.rdy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #e5e7eb; }
.rdy-row:last-child { border-bottom: 0; }
.rdy-main { min-width: 0; }
.rdy-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; margin-bottom: 2px; }
.rdy-value { font-size: 14px; font-weight: 600; color: #111827; word-break: break-all; }
.rdy-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.rdy-copy { flex: 0 0 auto; padding: 5px 11px; font: 500 12px Inter, sans-serif; color: #2F73B5; background: #fff; border: 1px solid #d1d5db; border-radius: 6px; cursor: pointer; }
.rdy-copy:hover { background: #f3f4f6; }
.rdy-go { display: block; text-align: center; padding: 11px 16px; background: #1a3a5c; color: #fff !important; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.rdy-go:hover { background: #15304d; }
.rdy-close { display: block; width: 100%; margin-top: 10px; padding: 8px; background: none; border: 0; font: 500 13px Inter, sans-serif; color: #6b7280; cursor: pointer; }
.rdy-close:hover { color: #374151; }

/* Free trial: quiet second button under each package, and the trial tag on the plan card */
.np-trial-btn { width: 100%; margin-top: 8px; padding: 11px 14px; font: 600 14px Inter, sans-serif; color: #fff; background: #dc2626; border: 1px solid #dc2626; border-radius: 6px; cursor: pointer; transition: background .15s; }
.np-trial-btn:hover { background: #b91c1c; border-color: #b91c1c; }
.trial-go { background: #dc2626 !important; border-color: #dc2626 !important; }
.trial-go:hover { background: #b91c1c !important; border-color: #b91c1c !important; }
.np-trial-banner { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 11px 14px; background: #f1f6fc; border: 1px solid #d6e6f6; border-radius: 8px; font-size: 13px; color: #1a3a5c; }
.np-trial-banner strong { font-weight: 700; }
.trial-tag { font-size: 13px; font-weight: 700; color: #2F73B5; }
