@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg: #1b222c; --bg-2: #12181f; --card: #222b37; --line: #303c4b;
  --text: #eef1f5; --muted: #98a6b5; --pink: #ee5586; --pink-d: #d63a6e;
  --yellow: #f3d64b; --yellow-d: #e3c431; --magenta: #96325f;
  --ok: #3ecf8e; --warn: #f5b942; --bad: #ff6b6b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1 { font-size: 1.7rem; margin: 0 0 .75rem; font-weight: 700; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; font-weight: 600; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.error { color: var(--bad); min-height: 1.4em; margin: .25rem 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.25rem; background: var(--bg-2); border-bottom: 2px solid var(--pink); }
.brand { height: 36px; width: auto; }
.who { display: flex; align-items: center; gap: .75rem; color: var(--muted); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.center { display: grid; place-items: center; padding: 4rem 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.narrow { width: 100%; max-width: 380px; }
label { display: block; margin: .6rem 0; color: var(--muted); font-size: .85rem; }
input, select { width: 100%; margin-top: .25rem; padding: .55rem .7rem; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font: inherit; }
input:focus, select:focus, .btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; }
select { width: auto; margin: 0; }
.btn { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: #1b222c; font-weight: 700; }
.btn-primary:hover { background: var(--yellow-d); border-color: var(--yellow-d); }
.btn-danger { border-color: var(--bad); color: var(--bad); }
.btn-ghost { background: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.vm { cursor: pointer; margin: 0; text-align: left; font: inherit; color: inherit; width: 100%; }
.vm:hover { border-color: var(--pink); }
.vm h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin: .15rem 0 .55rem; }
.bar > i { display: block; height: 100%; background: var(--pink); }
.meter-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.pill { padding: .1rem .6rem; border-radius: 999px; font-size: .78rem; background: var(--bg-2); border: 1px solid var(--line); }
.pill.running { color: var(--ok); border-color: var(--ok); }
.pill.stopped { color: var(--muted); }
.titlebar { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.titlebar h1 { margin: 0; }
.actions, .inline { display: flex; flex-wrap: wrap; gap: .5rem; }
.inline input { flex: 1 1 180px; width: auto; margin: 0; }
.inline { margin-bottom: 1rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.chart svg { width: 100%; height: 80px; background: var(--bg-2); border-radius: 6px; display: block; }
.chart .line { fill: none; stroke: var(--pink); stroke-width: 1.5; }
.chart .line2 { fill: none; stroke: var(--ok); stroke-width: 1.5; }
.chart .cap { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.table th { color: var(--muted); font-weight: 500; }
.table td:last-child { text-align: right; white-space: nowrap; }
.toast { background: var(--bg-2); border-left: 3px solid var(--pink); padding: .5rem .75rem; border-radius: 4px; }
.toast.err { border-color: var(--bad); }
@media (max-width: 520px) { .titlebar { flex-wrap: wrap; } .who span { display: none; } }
.inline label { flex: 1 1 150px; margin: 0; }
.inline label input { width: 100%; margin-top: .25rem; }
#resize-form { align-items: flex-end; }

.small { font-size: .8rem; }
.account { margin-top: 1.5rem; }
.account summary { cursor: pointer; color: var(--muted); }
.account form { margin-top: .75rem; }
.traffic-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.traffic-numbers div { display: flex; flex-direction: column; }
.traffic-numbers strong { font-size: 1.25rem; font-weight: 600; }
.c-in { color: var(--ok); }
.c-out { color: var(--pink); }
#t-chart svg { width: 100%; height: 110px; background: var(--bg-2); border-radius: 6px; display: block; }
#t-chart .bar-in { fill: var(--ok); }
#t-chart .bar-out { fill: var(--pink); }
.bar.over > i { background: var(--bad); }
a.btn-ghost { text-decoration: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-left: .25rem; vertical-align: middle; }
.pill.pending { color: var(--warn); border-color: var(--warn); }
.pill.in_progress { color: #6cb6ff; border-color: #6cb6ff; }
.pill.solved { color: var(--ok); border-color: var(--ok); }
.thread { display: flex; flex-direction: column; gap: .75rem; margin: 1rem 0; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.msg.customer { align-self: flex-end; border-color: var(--pink); }
.msg.internal { border-style: dashed; border-color: var(--warn); background: var(--bg-2); }
.msg .who { font-size: .78rem; color: var(--muted); margin-bottom: .25rem; }
.msg .text { white-space: pre-wrap; overflow-wrap: anywhere; }
.stack { display: flex; flex-direction: column; gap: .25rem; }
.stack .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.card textarea, .card select { width: 100%; }
.card textarea { padding: .55rem .7rem; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font: inherit; margin-top: .25rem; }
.card select { margin-top: .25rem; padding: .55rem .7rem; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.table.clickable tbody tr { cursor: pointer; }
.table.clickable tbody tr:hover { background: var(--bg-2); }
.table tr.unread td:nth-child(2) { font-weight: 700; }
.pill { white-space: nowrap; }

/* ---------- sign-in page (matches the Vpsfarmer website) ---------- */
.btn-block { display: block; width: 100%; text-align: center; margin-top: .5rem; padding: .7rem 1rem; }
.login-page { display: block; padding: 0; }
.hero { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.25rem 7rem; } /* the bottom padding is where the yellow wave rises */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 420px); gap: 3rem; align-items: center; }
.eyebrow { color: var(--pink); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .6rem; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; font-weight: 700; margin: 0 0 1.1rem; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.75; max-width: 34rem; margin: 0 0 1.4rem; }
.lead .hl { color: var(--pink); }
.chips-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips-row li { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .85rem; font-size: .85rem; color: var(--text); background: var(--bg-2); }
.login-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem 1.75rem 1.5rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.login-card h2 { font-size: 1.5rem; font-weight: 700; margin: .5rem 0 .25rem; }
.login-card input { background: var(--bg); padding: .7rem .8rem; }
.randomline { position: relative; height: 10px; width: 64px; }
.randomline .bigline { position: absolute; left: 0; top: 3px; width: 64px; height: 3px; border-radius: 2px; background: var(--yellow); display: block; }
.randomline .smallline { position: absolute; left: 14px; top: 0; width: 24px; height: 3px; border-radius: 2px; background: var(--pink); display: block; }
.plan-panel { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--magenta); border-radius: 18px; margin-top: 3.5rem; padding: 1.5rem 1.25rem; gap: 1rem; }
.plan-item { display: flex; align-items: center; gap: .85rem; padding: .25rem .75rem; }
.plan-item img { width: 46px; height: 46px; flex: none; filter: brightness(0) invert(1); }
.plan-item span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: #fff; }
.plan-item strong { display: block; font-weight: 600; font-size: .95rem; color: #fff; line-height: 1.3; }
.wave-section { background: var(--yellow); color: #1b222c; position: relative; padding: 0 1.25rem 4rem; }
.wave { position: absolute; left: 0; top: -89px; width: 100%; height: 90px; display: block; }
.wave path { fill: var(--yellow); }
.wave-inner { max-width: 1180px; margin: 0 auto; padding-top: 3rem; text-align: center; }
.wave-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 .5rem; }
.wave-sub { margin: 0 0 2.2rem; font-size: 1.05rem; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; text-align: left; }
.feature-card { position: relative; background: #1b222c; color: #fff; border-radius: 14px; padding: 2.2rem 1.6rem 1.7rem; box-shadow: 0 14px 30px rgba(27, 34, 44, .25); }
.feature-card img { width: 44px; height: 44px; filter: brightness(0) invert(1); margin-bottom: .8rem; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5rem; }
.feature-card p { margin: 0; color: #c9d2dc; line-height: 1.7; font-size: .95rem; }
.badge-pink { position: absolute; top: .85rem; right: .85rem; background: var(--magenta); color: #fff; border-radius: 6px; padding: .1rem .6rem; font-size: .72rem; font-weight: 700; }
.site-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 1rem; background: var(--bg-2); border-top: 2px solid var(--pink); }
.site-foot img { height: 28px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .plan-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero { padding-top: 2rem; }
  .plan-panel { grid-template-columns: 1fr; }
}
.delete-vps-card{border-color:#ee558655}.delete-vps-card h2{color:#ffb0c7}.delete-vps-card .delete-ack{display:flex;gap:.7rem;align-items:flex-start;font-size:.8rem}.delete-ack input{width:18px;height:18px;flex:0 0 18px;margin:.2rem 0 0;accent-color:var(--pink)}.delete-external-note{padding:.8rem;border:1px solid #f5b94255;border-radius:8px;color:#f3d89b;font-size:.8rem;background:#f5b9420a}#delete-vps-result:not(:empty){padding:.8rem;border:1px solid var(--line);border-radius:8px;font-size:.85rem}.delete-vps-card select{display:block;width:100%}
