body {
    font-family: Arial, sans-serif;
    background-color: #3c3c3c; /* Dark gray background */
    margin: 0;
}

.container {
    max-width: none;
    margin: 0;
    padding: 20px;
    background-color: #3c3c3c;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#camera-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.camera-card {
    background-color: #4c4c4c;
    padding: 20px;
    border: 1px solid #6c5ce7; /* Deep purple border */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.camera-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.camera-card h2 {
    margin-top: 0;
    color: #6c5ce7; /* Deep purple text */
}

.camera-card p {
    color: #aaa;
}

#large-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#large-image-container.show {
    display: flex;
}

#large-image-container img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

@media (max-width: 768px) {
    #camera-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    #camera-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

#refresh-controls {
    margin-bottom: 20px;
}

#refresh-controls label {
    margin-right: 10px;
}

#refresh-controls select {
    margin-right: 20px;
}

#refresh-controls button {
    margin-right: 10px;
}
