body {
    background-color: #f8f9fa;
    height: 100vh;
    top:100px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container-login{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    background-color: #002383;
    padding: 40px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    height: 250px;
    text-align: center;
}

.logo-container p{
    margin-top: 30px;
    color: white;
    font-size: 20px;
}

.logo-container img {
    display: block;
    margin: 0 auto;
}
/* Container das informações */
.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 20px 20px 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin-top: -40px; /* Ajuste para sobreposição */
}
.btn-primary {
    background-color: #002383;
    border-color: #002383;
}
.btn-primary:hover {
    background-color: #001757;
    border-color: #001757;
}

.p {
    color:#f8f9fa;
}

.navbar {
    height: 70px;
    background-color: #fff;
}

.navbar-brand img {
    max-width: 80px; /* Tamanho ajustado da logo no menu */
}

.card {
    display: flex;
    flex-direction: row;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 150px; /* Definindo a altura fixa do card */
}

.icon-card {
    font-size: 70px;
    margin: 20px;
    opacity: 10%;
}

.card p {
    margin-bottom: 0.5rem;
}

.btn-equipment {
    width: 100px; /* Largura do botão */
    height: 100%; /* Altura do botão igual à altura total do card */
    background-color: #002383;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-equipment:hover {
    background-color: #00144d;
}

.btn-equipment:disabled {
    background-color: #00144d;
    border-color: #00144d;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.row {
    justify-content: center;
    margin-top: 100px;
    min-width:300px;
    max-width:600px;
    /*white-space: nowrap;*/
}


.scanner-container {
    width: 450px;
    height: 450px;
    top: 10px;
    background-color: #0c0c0c;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-bar {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.camera-area {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

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

/* Divs para criar o efeito de máscara escura */
.mask {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.mask.top {
    top: 0;
    left: 0;
    width: 100%;
    height: calc(50% - 100px); /* Metade menos a metade da altura do recorte */
}

.mask.bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(50% - 100px);
}

.mask.left {
    top: calc(50% - 100px);
    left: 0;
    width: calc(50% - 100px);
    height: 200px;
}

.mask.right {
    top: calc(50% - 100px);
    right: 0;
    width: calc(50% - 100px);
    height: 200px;
}

/* Área de recorte com cantos verdes */
.scan-area {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Cantos verdes */
.scan-area::before, .scan-area::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid #00ff00;
}

/* Canto superior esquerdo */
.scan-area::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Canto inferior direito */
.scan-area::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.button-container {
    position: absolute;
    top: calc(100px + 260px - 30px); /* Alinhando o botão entre a faixa e a câmera */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 4;
}

.button {
    width: 60px;
    height: 60px;
    background-color: #002383;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
}

.hidden-input {
    display: none;
}

.message {
    color: white;
    margin-top: 45px;
    margin-bottom: 25px;
}

.scanner-container h4 {
    color:white;
    font-size: 17px;
}

.container-box {
    background-color: white;
    width: 440px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
}

.container-view {
    margin-top: 100px;
}

.title {
    background-color: #002383;
    color: white;
    text-align: center;
    padding: 10px;
    margin: 0;
    border-radius: 5px 5px 0 0;
    width: 100%;
    display: block;
}

.list-container {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 400px;
    height: 270px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.list-container-admin {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 400px;
    height: 320px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.list-container-transf {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 400px;
    height: 220px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.list-item {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-item:last-child {
    border-bottom: none;
}

.selected {
    background-color: #002383;
    color: white;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

.btn-add-form {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #002383;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.btn-add-back {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #002383;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.btn-add-form i,
.btn-add-back i {
    padding: 8px;
}

.button:hover {
    background-color: #001757;
}

.row-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Espaçamento de 20px entre as listas */
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.list-container li {
    display: flex;
    justify-content: space-between;
}

/* Novo estilo para o campo de pesquisa */
.search-box {
    margin-bottom: 10px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

@media (max-width: 640px) {
    .card p {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .btn-equipment {
        width: 80px;
    }

    .page-home .navbar-brand img {
        max-width: 50px; 
    }

    .icon-card {
        visibility: hidden;
        width: 0;
        margin: 0;
        font-size: 0;
    }

    .top-bar {
        height: 50px;
    }

    .camera-area{
        height: 400px;
    }

    .scanner-container {
        height: 550px;
        width: 350px;
    }

    .button-container {
        top: calc(100px + 340px - 30px); /* Alinhando o botão entre a faixa e a câmera */
    }

    .button {
        width: 80px;
        height: 80px;
        font-size: 2.8rem;
    }

    .message {
        margin-top: 55px;
        font-size: 0.9rem;
    }

    .scanner-container h4 {
        font-size: 15px;
    }

    .btn-add-form {
        width: 310px;
        height: 60px;
        font-size: 1rem;
    }

    .btn-add-back {
        width: 100%;
        height: 60px;
        font-size: 1rem;
    }

    .container-box {
        width: 350px;
      }
    
    .list-container-admin {
       width: 312px;
    }

    .list-container {
        width: 312px;
     }

    .list-container-transf {
        width: 312px;
    }
}

