@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

body {
    background-color: #000000;
    font-family: "Roboto Flex", sans-serif;
    color: #ffffff;
    font-size: 18px;
}

img {
    width: 200px;
    max-width: 80%;
    margin-bottom: 40px;
}

.pin-container,
.formulario-colaborador .pin-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.pin-container input {
    width: 60px;
    height: 60px;
    font-size: 24px;
    text-align: center;
    border: none;
    border-radius: 10px;
    background-color: #222222;
    color: white;
}

.formulario-colaborador .pin-container input,
.formulario-inserir .pin-container input {
    width: 100%;
}

.avatar-colaborador {
    background-color: #aaa;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: relative;
    display: inline-flex;
}

.avatar-colaborador img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    /* object-fit: cover; */
}

.pin-container input:focus {
    outline: 2px solid #0055ff;
}

.menu-button {
    align-items: center;
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 18px;
    cursor: pointer;
    justify-content: left;
    transition: background-color 0.3s ease;
}

.menu-button:hover {
    opacity: 0.9;
}

.menu-icon {
    font-size: 24px;
}

.submenu {
    display: none;
    flex-direction: column;
    margin-left: 40px;
    margin-right: 40px;
}

.submenu a {
    background-color: #222222;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 5px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.submenu a:hover {
    background-color: #444;
}

/* Cor por botão */
.projeto {
    background-color: #007bff;
}

.colaborador {
    background-color: #28a745;
}

.cargo {
    background-color: #42a85a;
}

.job {
    background-color: #ff9800;
}

.veiculo {
    background-color: #9c27b0;
}

.uso-veiculo {
    background-color: #00bcd4;
}

.produto-servico {
    background-color: #e91e63;
}

.relatorio {
    background-color: #607d8b;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

label:not(.form-check-label) {
    display: block;
    margin-top: 15px;
}

textarea {
    resize: vertical;
}

.image-upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.image-box {
    position: relative;
}

.image-box img {
    width: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #333;
}

.remove-btn {
    position: absolute;
    top: -15px;
    right: 0px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    margin: 0;
    padding: 7px 14px;
}

.image-actions {
    margin-top: 10px;
}

button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #0055ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #003ecc;
}

#image-input {
    display: none;
}

.form-control {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    background-color: #222222;
    color: white;
}

input.form-control::placeholder {
    color: #ffffff;
}

label.error {
    color: rgba(220, 53, 69, 1) !important;
}

.table {
    --bs-table-color: #ffffff;
    --bs-table-bg: #222222222;
    --bs-table-striped-bg: #444444;
    --bs-table-striped-color: #ffffff;
}

.image-actions {
    margin-top: 10px;
}

.form-select {
    background-color: #222222;
    color: #ffffff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff;
    background-color: #222222;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    padding-top: 0;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0;
    border-radius: 0;
}

.select2-container--default .select2-selection--single {
    background-color: #222222;
    border: 1px solid #222222;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
    background-color: #222222;
}

.select2-dropdown {
    background-color: #222222;
    border: 1px solid #222222;
    color: #ffffff;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: #444444;
    color: #ffffff;
}

.form-filtro-job .select2-container .select2-selection--single {
    height: 45px;
}

.form-filtro-job .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
    background-color: #222222;
}

.form-filtro-job .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 8px;
}

.form-filtro-job .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 42px;
}

.form-filtro-job .select2-container--default .select2-selection--single .select2-selection__clear {
    padding-top: 13px;
    line-height: 1;
}
