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

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: .5rem 1rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 1rem;
}

header h1 {
    font-size: 1.5rem;
}

li {
    margin: 5px 0;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.site {
    display: flex;
    align-items: center;
}

.favicon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.status {
    text-decoration: none;
    font-size: 1.1rem;
    flex: 1;
    color: black;
}

.red {
    color: red;
}

.green {
    color: green;
}

small {
    color: #555;
    margin-top: 5px;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #4CAF50;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media (max-width: 600px) {
    .site {
        flex-direction: row;
        align-items: flex-start;
    }
    .favicon {
        width: 20px;
        height: 20px;
    }
    .status {
        font-size: 1rem;
    }
}

/* Stats page styles */
.collapsible {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
}

.collapsible:hover {
    background-color: #45a049;
}

.content {
    padding: 0 15px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}