.online {
    color: #66FF66;
}
.offline {
    color: #FF6666;
}

.warn {
    color: #E69900;
}

.card.online {
    border-bottom: 3px solid #66FF66;
}

.card.offline {
    border-bottom: 3px solid #FF6666;
}

.card.warn {
    border-bottom: 3px solid #E69900;
}

* {
    font-family: "Poppins", sans-serif;
}

body {
    opacity: 0;
    animation: fadeIn 1s forwards;
    background-color: #2b2b2b;
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    min-height: 100vh;
}
  
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
  

#statusCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}
  
.card {
    background: #2e2e2e;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    color: #fff;
    flex: 1 1 200px;
    max-width: 225px;
    min-width: 180px;
}
  
.row {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
}
  
.label {
    font-weight: bold;
}

#filter {
    margin-bottom: 20px;
    position: fixed;
    top: 10px;
    background: #2e2e2e;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    width: max-content;
}
  
#filter button {
    margin: 0 5px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background: #444;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 480px) {
    body {
        padding-top: 55px;
        padding-bottom: 55px;
    }
}

#lastUpdated {
    position: fixed;
    bottom: 10px;
    background: #2e2e2e;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    width: max-content;
    font-size: 13px;
}