* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f7;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Helvetica Neue",
        sans-serif;

    color: #1d1d1f;

    padding: 40px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 40px;
}

h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    margin-bottom: 20px;
}

.button {
    background: white;

    border: none;

    border-radius: 14px;

    padding: 12px 18px;

    font-size: 15px;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);

    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary-btn {
    background: #0071e3;

    color: white;

    border: none;

    border-radius: 14px;

    padding: 10px 16px;

    cursor: pointer;

    font-size: 14px;
}

.danger-btn {
    background: #ff3b30;

    color: white;

    border: none;

    border-radius: 14px;

    padding: 10px 16px;

    cursor: pointer;

    font-size: 14px;
}

.card {
    background: rgba(255,255,255,0.8);

    backdrop-filter: blur(20px);

    border-radius: 28px;

    padding: 28px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.07);
}

input {
    width: 100%;

    padding: 14px;

    border-radius: 14px;

    border: 1px solid #d2d2d7;

    margin-bottom: 20px;

    font-size: 15px;

    background: white;
}

a {
    text-decoration: none;
}

.center-box {
    max-width: 500px;
    margin: auto;
    margin-top: 80px;
}

.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(20px);

    border-radius: 24px;

    padding: 30px;

    min-width: 180px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

.stat-card h2 {
    font-size: 40px;
    margin-bottom: 8px;
}

.stat-card p {
    color: #6e6e73;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 24px;
}

.status {
    font-size: 14px;

    font-weight: 600;

    padding: 8px 14px;

    border-radius: 999px;
}

.online {
    background: rgba(52,199,89,0.15);
    color: #1f8f45;
}

.offline {
    background: rgba(255,59,48,0.15);
    color: #c62828;
}
