body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#camera-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#camera-image {
    width: min(80%, 1280px);
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

#timestamp {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.button-container button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}

#login-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
}

/* Status Row Styles */
#summary-row,
#status-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    color: gray;
}

.light_off,
.locked,
.motion,
.closed {
    color: red;
}

.light_on,
.unlocked,
.no-motion,
.open {
    color: green;
}

#status-row {
    display: none;
}
