body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111827;
    color: white;
}

header {
    background: #1f2937;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    margin: 0;
    font-size: 3rem;
}

header p {
    color: #cbd5e1;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    line-height: 1.8;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

/* BŁĄD: wcześniej brakowało { } – reguła była pusta,
   a input[type=password] był przypadkowo jej "ciałem" */
.button:hover {
    background: #1d4ed8;
}

input[type=password] {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin-bottom: 15px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

button {
    padding: 10px 20px;
    cursor: pointer;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 0.2s;
}

button:hover {
    background: #1d4ed8;
}

.error {
    color: #f87171;
    margin-bottom: 12px;
}

footer {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}

.location-card h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #555;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
    transition: background .25s, box-shadow .25s;
}
.status-dot[data-state="online"]  { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.status-dot[data-state="offline"] { background: #f87171; }
.status-dot[data-state="stale"]   { background: #facc15; }
.status-age {
    margin-left: auto;
    font-size: .7rem;
    color: #888;
    font-weight: normal;
}