/* style.css */

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Fundo preto para a câmera em tela cheia */
}

.camera-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container {
    flex-grow: 1;
    position: relative;
    background-color: #000; /* Fundo preto para a câmera em tela cheia */
}

video,
canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-options,
.approval-buttons {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5); /* Fundo semitransparente para botões */
}

.camera-option,
.approval-button {
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
}

.approval-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hidden {
    display: none !important;
}

/* Estilos para fazer o modal fullscreen */
.modal-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
}

.modal-dialog-fullscreen {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
}

.modal-content-fullscreen {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

.rec-container {
    z-index: 10;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.rec-button {
    display: flex;
    align-items: center;
}

.rec-button i {
    margin-right: 5px;
}

#timer {
    font-weight: bold;
    margin-left: 5px;
}
