* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0d1117;
    color: #e6edf3;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 40px auto;
}

h1 {
    margin-bottom: 35px;
}

.host-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.host-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.host-header h2 {
    margin: 0;
}

.system {
    color: #8b949e;
    font-size: 14px;
}

.status {
    font-weight: bold;
}

.online {
    color: #3fb950;
}

.offline {
    color: #f85149;
}

.host-info {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    color: #8b949e;
    font-size: 14px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(200px, 1fr)
    );
    gap: 20px;
    margin-top: 25px;
}

.metric {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 18px;
}

.metric-title {
    color: #8b949e;
    font-size: 14px;
}

.metric-value {
    font-size: 27px;
    margin-top: 8px;
    font-weight: bold;
}

.small {
    color: #8b949e;
    margin-top: 5px;
    font-size: 13px;
}

.bar {
    height: 7px;
    background: #30363d;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #238636;
}

.websites {
    margin-top: 30px;
}

.websites h3 {
    border-bottom: 1px solid #30363d;
    padding-bottom: 12px;
}

.website {
    display: flex;
    justify-content: space-between;
    padding: 13px 5px;
    border-bottom: 1px solid #21262d;
}

.website a {
    color: #58a6ff;
    text-decoration: none;
}

.website a:hover {
    text-decoration: underline;
}

.website-info {
    color: #8b949e;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 10px;
}

.green {
    background: #3fb950;
}

.red {
    background: #f85149;
}

.empty {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 30px;
    border-radius: 10px;
    color: #8b949e;
}

@media(max-width: 650px) {

    .host-info {
        flex-direction: column;
        gap: 6px;
    }

    .website {
        flex-direction: column;
        gap: 5px;
    }

}
