@charset "UTF-8";
/* Rolly Hosting control panel (styled to match Rolly Radio) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #f6f6f6; --panel: #fff; --ink: #191919; --muted: #777; --line: #e7e7e7;
  --brand: #c51f32; --brand-2: #e13a4d; --brand-dark: #a7192a; --brand-soft: #fff0f1; --brand-ink: #fff; --side: #101010;
  --ok: #059669; --ok-bg: #ecfdf5; --bad: #dc2626; --bad-bg: #fef2f2; --warn: #b45309; --warn-bg: #fffbeb;
  --info: #1d4ed8; --info-bg: #f3f6fb; --radius: 12px;
  font-family: 'DM Sans', "Segoe UI", Arial, sans-serif;
}
h1, h2, h3, legend, .po-name, .po-price, .stat .num, .price { font-family: Manrope, "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--brand); color: #fff; border-radius: 11px; font: 800 14px Manrope, "Segoe UI", Arial, sans-serif; letter-spacing: 0; flex: none; }
.brand-mark.lg { width: 48px; height: 48px; font-size: 17px; border-radius: 13px; }
.brand-text { font: 800 13px/1.15 Manrope, "Segoe UI", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { display: block; font-size: 8.5px; letter-spacing: .28em; color: #aaa; font-weight: 700; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; color: #941525; }
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .85em; background: #f1f5f9; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
h1 { font-size: 1.6rem; margin: 0 0 .2rem; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; margin: 0 0 .8rem; }
.mt { margin-top: 1.6rem; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.right { text-align: right; white-space: nowrap; }
.hidden { display: none !important; }

.shell { display: flex; min-height: 100vh; }
.sidebar { width: 236px; flex: none; background: var(--side); color: #ccc; border-right: 3px solid var(--brand); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; padding: 4px 8px 22px; }
.brand:hover { text-decoration: none; }
.brand:hover { color: #fff; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a { color: #ddd; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.sidebar nav a:hover { background: #1f1f1f; text-decoration: none; color: #fff; }
.sidebar nav a.on { background: rgba(197,31,50,.22); color: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.worker { font-size: .8rem; display: flex; align-items: center; gap: 8px; }
.worker .dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.worker.up .dot { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.main { flex: 1; padding: 28px 36px 60px; max-width: 1280px; min-width: 0; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.with-icon { display: flex; gap: 16px; align-items: center; }
.btn-row { display: flex; gap: 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-2 > .card { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 4px; }
.stat { display: flex; flex-direction: column; color: var(--muted); }
.stat .num { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.empty { color: var(--muted); padding: 10px 0; margin: 0; }

.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #cbd5e1; text-decoration: none; background: #f8fafc; }
.btn.primary { background: var(--brand); border-color: transparent; color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.danger { color: var(--bad); border-color: #fecaca; }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost { background: transparent; }
.sidebar .btn.ghost { color: #ddd; border-color: #383838; background: transparent; }
.btn.small { padding: 5px 10px; font-size: .82rem; }
.btn.wide { width: 100%; justify-content: center; padding: 11px; }
form.inline { display: inline; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid transparent; }
.alert.ok { background: var(--ok-bg); color: #065f46; border-color: #a7f3d0; }
.alert.bad { background: var(--bad-bg); color: #991b1b; border-color: #fecaca; }
.alert.warn { background: var(--warn-bg); color: #92400e; border-color: #fde68a; }
.alert.info { background: var(--info-bg); color: #1e3a8a; border-color: #bfdbfe; }
.result-box a { font-weight: 600; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #f1f5f9; color: var(--muted); text-transform: capitalize; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.busy { background: var(--brand-soft); color: var(--brand); }
.tag { display: inline-block; font-size: .72rem; padding: 1px 7px; border-radius: 5px; background: #f1f5f9; color: var(--muted); margin-right: 4px; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td .btn + .btn, .table td form + form, .table td .btn + form { margin-left: 4px; }

.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.app-grid.big { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.app { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); margin: 0; transition: transform .12s, box-shadow .12s, border-color .12s; }
.app:hover { text-decoration: none; transform: translateY(-2px); border-color: #f0b3ba; box-shadow: 0 8px 24px rgba(197,31,50,.10); }
.app p { margin: 4px 0 8px; }
.app .ver { font-size: .72rem; color: var(--muted); margin-left: 6px; }
.app-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.1rem; background: var(--brand); }
.app-icon.lg { width: 54px; height: 54px; font-size: 1.5rem; border-radius: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--muted); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
#app-search { min-width: 260px; }

input, select { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(197,31,50,.15); border-color: var(--brand); }
input[type=checkbox] { width: auto; }
input[type=number] { width: 90px; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
label > input, label > select, label > .input-prefix, label > .input-action { margin-top: 6px; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.grid-form { max-width: 820px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > label { min-width: 160px; }
.row.end { align-items: flex-end; }
.row.end > .btn { margin-bottom: 14px; }
.grow { flex: 1; }
.hint { color: var(--muted); font-size: .82rem; margin: -6px 0 14px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 10px; background: #f8fafc; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; color: var(--muted); font-weight: 500; }
.input-prefix input { border-radius: 0 8px 8px 0; }
.input-action { display: flex; gap: 8px; }
.actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .86rem; }
.kv dd { margin: 0; word-break: break-word; }
.log { background: #111; color: #e5e5e5; padding: 16px; border-radius: 10px; max-height: 520px; overflow: auto; font: .8rem/1.55 Consolas, "Cascadia Mono", monospace; white-space: pre-wrap; margin: 0; }
.danger-zone { border-color: #fecaca; }

.login-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 20% 0%, #2a0d12, #101010 55%); border-top: 3px solid var(--brand); }
.login { width: 360px; text-align: center; padding: 34px 30px; }
.login h1 { margin-top: 10px; }
.login h1 span { color: var(--brand); }
.login label { text-align: left; }

@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { width: auto; height: auto; position: static; }
  .sidebar nav { flex-direction: row; flex-wrap: wrap; }
  .side-foot { flex-direction: row; justify-content: space-between; margin-top: 12px; }
  .main { padding: 20px; }
  .grid-2, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .grid-2, .stats { grid-template-columns: 1fr; } }

/* ---- accounts, sign-up, billing ---- */
.auth-wrap { width: min(560px, 94vw); padding: 30px 0; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.auth-brand:hover { text-decoration: none; }
.auth-brand:hover { color: #fff; }
.login, .signup { width: 100%; text-align: left; padding: 30px; }
.login h1, .signup h1 { margin: 0; }
.auth-links { text-align: center; margin: 14px 0 0; color: var(--muted); }
.hp { position: absolute; left: -10000px; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.plan-pick.compact { margin: 6px 0 14px; }
.plan-option { position: relative; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; color: var(--ink); font-weight: 400; margin: 0; }
.plan-option:hover { border-color: #f0b3ba; text-decoration: none; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option:has(input:checked), .plan-option.on { border: 2px solid var(--brand); background: var(--brand-soft); padding: 11px; }
.plan-option.hot::after { content: "Popular"; position: absolute; top: -9px; right: 10px; background: var(--brand); color: #fff; font-size: .65rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.po-name { font-weight: 700; }
.po-price { font-size: 1.25rem; font-weight: 800; }
.po-price small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.po-meta { font-size: .75rem; color: var(--muted); }
.plan-option .btn, .plan-option .badge, .plan-option form { margin-top: 8px; align-self: flex-start; }
.ticklist { list-style: none; padding: 0; margin: 10px 0 18px; }
.ticklist li { padding: 4px 0; }
.ticklist li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.total strong { font-size: 1.5rem; }
#paypal-buttons { margin: 16px 0 8px; min-height: 120px; }
.plan-now { display: flex; justify-content: space-between; align-items: center; }
.plan-now .po-name { font-size: 1.4rem; }
.plan-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stats.biz { margin-bottom: 20px; }
.stats.biz .num { font-size: 1.6rem; }
.who { color: #eee; line-height: 1.35; }
.linkish { background: none; border: 0; color: var(--brand); padding: 0; font: inherit; cursor: pointer; }
.btn-row.wrap { flex-wrap: wrap; margin-top: 6px; }
.subnav { display: flex; gap: 18px; margin: -6px 0 18px; flex-wrap: wrap; }
.subnav a { font-weight: 600; }
.steps { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.steps li { margin-bottom: 4px; }
.plan-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.plan-edit { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
textarea { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; width: 100%; margin-top: 6px; resize: vertical; }
.narrow-card { max-width: 640px; }
@media (max-width: 700px) { .plan-pick { grid-template-columns: 1fr; } }

/* ---- support, notifications, invoices ---- */
.recovery-key { font: 700 1.5rem/1.4 Consolas, "Cascadia Mono", monospace; letter-spacing: .06em; background: #111; color: #ffb3bc; padding: 18px 20px; border-radius: 10px; text-align: center; margin-bottom: 14px; word-break: break-all; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 14px 4px; border-bottom: 1px solid #f1f5f9; }
.notes li.unread { background: #fff6f7; border-left: 3px solid var(--brand); padding-left: 12px; }
.note-head { display: flex; justify-content: space-between; gap: 12px; }
.note-body { color: #334155; margin: 4px 0; font-size: .92rem; }
.chips a.chip { text-decoration: none; }
.thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; max-width: 860px; }
.msg.staff { border-color: #f0b3ba; background: #fff6f7; margin-left: 40px; }
.msg-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.msg-body { white-space: normal; word-wrap: break-word; }
.invoice-body { background: #f6f6f6; padding: 30px 16px; }
.invoice-tools { max-width: 760px; margin: 0 auto 14px; display: flex; justify-content: space-between; }
.invoice { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.invoice header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.invoice h1 { font-size: 1.4rem; margin: 8px 0 4px; }
.invoice h2 { margin: 0 0 6px; font-size: 1.6rem; }
.invoice .paid { display: inline-block; border: 2px solid var(--muted); color: var(--muted); font-weight: 800; padding: 2px 12px; border-radius: 6px; letter-spacing: .1em; }
.invoice .paid.ok { border-color: var(--ok); color: var(--ok); }
.bill-to { margin-bottom: 24px; }
.invoice .tot td { font-weight: 800; border-top: 2px solid var(--ink); }
@media print {
  .invoice-tools, .sidebar, .btn { display: none !important; }
  .invoice-body, body { background: #fff; padding: 0; }
  .invoice { border: 0; padding: 0; }
}

/* ---- Free address / connect your domain (RWH Update) ---- */
.input-suffix input { border-radius: 0; }
.input-suffix span:last-child { border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--panel); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.choice input { width: auto; flex: none; margin: 4px 0 0; accent-color: var(--brand); }
.choice > span { flex: 1; text-align: left; }
.choice small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.dns-table td, .dns-table th { vertical-align: middle; }
.dns-table code { font-size: .95em; }
.copy { margin-left: 6px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--muted); display: inline-block; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
.guides details { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; background: var(--panel); }
.guides summary { cursor: pointer; font-weight: 600; }
.guides ol { margin: .6rem 0 0; padding-left: 1.2rem; }
.temp-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); vertical-align: middle; margin-left: 6px; }
.mt-s { margin-top: .6rem; }

/* ---- File Manager (RWH Update) ---- */
.fm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.crumbs span { color: var(--muted); }
.pop { position: relative; display: inline-block; }
.pop > summary { list-style: none; cursor: pointer; }
.pop > summary::-webkit-details-marker { display: none; }
.pop-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 260px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.upload-btn { cursor: pointer; margin: 0; }
.fm-drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 16px; text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 12px; transition: background .15s, border-color .15s; }
.fm-drop.over { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.fm-progress { margin-top: 10px; }
.fm-progress .bar { height: 8px; background: #eee; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.fm-progress .bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.fm-table td { vertical-align: middle; }
.fm-table .cb { width: 34px; }
.fm-name { word-break: break-all; }
.fi-ico { display: inline-block; width: 20px; color: var(--muted); }
.fi-ico.dir { color: var(--brand); }
.fm-actions .btn { margin-left: 4px; }
.editor-card textarea.code { width: 100%; min-height: 62vh; font: 13px/1.5 Consolas, "Cascadia Mono", monospace; tab-size: 4; white-space: pre; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbfb; resize: vertical; }
.actions .grow { flex: 1; }
@media (max-width: 700px) { .fm-table th:nth-child(4), .fm-table td:nth-child(4) { display: none; } .fm-actions .btn { margin: 2px 0; } }
.finish-card { border: 2px solid var(--brand); }
.finish-steps { margin: 0; padding-left: 1.3rem; }
.finish-steps > li { margin: .7rem 0; }
.setup-table { margin-top: .5rem; max-width: 640px; }
.setup-table th { width: 220px; font-weight: 600; text-align: left; }
.setup-table td, .setup-table th { padding: 6px 10px; vertical-align: middle; }
