body {
    background-image: url('../images/bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.container {
    background-color: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}

.container-consulta {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.container-consulta h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.table-responsive {
    width: 100%;
    overflow: auto;
}

.table-inventario {
    max-width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-start {
    display: flex;
    align-items: start;
    justify-content:space-around;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.w-100 {
    width: 100%;
}

input[type=checkbox] {
    cursor: pointer;
}

input[type=text]:read-only {
    background-color: #c5c5c5;
}

input[type=text],
input[type=email],
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

#filtroForm input[type="text"],
#filtroForm select {
    margin: 0px;
}

.ativo-pair {
    display: flex;
    gap: 10px;
}

.ativo-pair select,
.ativo-pair input {
    flex: 1;
}

button {
    padding: 10px 16px;
    background-color: #0A74DA;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cancel {
    background-color: #f2f2f2 !important;
    color: black !important;

    &:hover {
        background-color: #e0e0e0 !important;
    }
}

button:hover {
    background-color: #075ab3;
}

/* obrigatório nos campos */
.obrigatorio {
    color: red;
    font-weight: bold;
}

/* botão de salvar */
.form-submit {
    text-align: center;
}

/* informativo */
.info-tip {
    display: inline-block;
    cursor: pointer;
    color: #0A74DA;
    font-size: 20px;
    margin-left: 10px;
}

.info-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.info-modal .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: auto;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
}

/* modal geral */
.modal-mensagem {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

.modal-confirmacao {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-confirmacao .modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}



/* botão de redução de campos */
.remove-ativo-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 38px;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-left: 4px;
    padding: 0;
    transition: background-color 0.3s;
}

.remove-ativo-btn:hover {
    background-color: #c82333;
}

/* spinner */

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.info-image {
    max-width: 300px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;

    &:hover {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
        transition: transform 0.3s, box-shadow 0.3s;
    }
}

.bg-blue {
    background-color: #0A74DA;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.monitor-info {
    margin-bottom: 10px;
}

.text-red {
    color: rgb(189, 0, 0);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}