:root {
    --primary: #1a73e8;
    --primary-dark: #1558b0;
    --ok: #1e8e3e;
    --bad: #d93025;
    --bg: #f1f3f4;
    --text: #202124;
    --muted: #5f6368;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    padding: 20px;
}

.card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 28px;
}

.brand { text-align: center; margin-bottom: 24px; }
.brand h1 { margin: 0; font-size: 24px; color: var(--primary); letter-spacing: -0.5px; }
.company { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-weight: 500; }
.subtitle { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

form { display: flex; flex-direction: column; }

label { font-size: 13px; font-weight: 600; margin: 14px 0 6px; }

input {
    padding: 12px 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.15s;
}
input:focus { outline: none; border-color: var(--primary); }

button {
    margin-top: 24px;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
button:hover { background: var(--primary-dark); }

.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; }

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}
.alert-error { background: #fce8e6; color: var(--bad); }

/* Status page */
.status-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; color: #fff;
    margin: 8px auto 16px;
}
.status-icon.ok { background: var(--ok); }
.status-icon.bad { background: var(--bad); }

.status-title { text-align: center; margin: 0 0 20px; font-size: 20px; }
.status-title.ok { color: var(--ok); }
.status-title.bad { color: var(--bad); }

.details { width: 100%; border-collapse: collapse; font-size: 14px; }
.details th, .details td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.details th { color: var(--muted); font-weight: 600; width: 42%; }

.btn-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 12px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.btn-link:hover { background: var(--primary-dark); }
