/* app/static/css/camera.css */


.camera-preview {
    background-color: var(--bg-secondary);
    aspect-ratio: 16/9;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.camera-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

.camera-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.camera-status {
    padding: 0.5rem;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Botões personalizados */
.btn-start, .btn-stop {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}


.btn-start:hover {
    background-color: gray;
}

.btn-stop:hover {
    background-color: gray;
}

/* Status bar fixa */
.status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Estilo para a descrição da câmera */
.camera-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
