body {
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    margin: 0;
    background-color: white;
    color: #333;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    padding-top: 8px;
    max-width: 360px;
    margin: 0 auto;
}

.logo img {
    width: 140px;
    margin-bottom: 8px;
}

.container label { margin-top: 6px; margin-bottom: 2px; }
.container input, .container select {
    font-family: inherit;
    font-size: 14px;
    padding: 3px 5px;
    box-sizing: border-box;
}
#machine-name, #password { width: 180px; }
#hours { width: 60px; }
#instance-type { width: 100%; }
.current-info { color: #555; font-size: 13px; min-height: 1.2em; margin-top: 3px; }

.buttons { display: flex; gap: 10px; margin-top: 10px; }
.start-button, .stop-button {
    padding: 6px 16px;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 12px;
}
button:disabled { cursor: default; opacity: 0.6; }

.feedback { text-align: center; }
.error-message { color: #c00; margin-bottom: 8px; }
.stage { color: #555; margin-bottom: 8px; min-height: 1.2em; }
.status-ok { color: #1a7f37; }
.ip-address { font-size: 18px; }
.countdown { font-size: 18px; }

.hosts-file-section {
    text-align: center;
    margin: 12px auto 0;
    max-width: 360px;
    font-size: 13px;
}
.hosts-file-section h3 { font-size: 15px; margin: 8px 0; }
.hosts-file-section textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 6px auto;
    display: block;
    font-size: 13px;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.step { display: flex; flex-direction: column; align-items: center; width: 100%; }
.step[hidden] { display: none; }
.signed-in { font-weight: 700; margin-top: 4px; }
.link-button { background: none; border: none; color: #0b5cad; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 400; padding: 0 0 0 6px; }
.note { color: #777; font-size: 12px; min-height: 1em; margin-top: 2px; text-align: center; }

/* instance type radio list */
.container { max-width: 440px; }
fieldset.types { border: 1px solid #ddd; border-radius: 4px; padding: 6px 10px 8px; margin: 8px 0 0; width: 100%; box-sizing: border-box; }
fieldset.types legend { padding: 0 4px; }
.type-group { margin-top: 4px; }
.type-group-title { font-weight: 700; font-size: 12px; color: #555; margin: 4px 0 1px; }
.type-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 6px; padding: 1px 2px; font-size: 13px; border-radius: 3px; }
.type-row input { margin: 0; }
.type-row.disabled { color: #aaa; }
.type-row.selected { background: #eef5ff; }
.type-row .price { font-variant-numeric: tabular-nums; }
.badge { font-size: 11px; margin-left: 4px; }
.badge.ok { color: #1a7f37; }
.badge.no { color: #b42318; }
.badge.wait { color: #888; }
.badge.cur { color: #0b5cad; }
.cap-progress { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #555; margin: 2px 0 4px; }
.cap-progress progress { flex: 1; height: 10px; }
.cap-progress[hidden], [hidden] { display: none !important; }
