.upload-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Define um máximo de 4 colunas */
    gap: 20px;
}

.upload-box {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.3s;
    padding: 20px;
    gap: 20px;
}

.upload-box:hover {
    border-color: #666;
}

.file-input {
    display: none;
}

.upload-label {
    text-align: center;
    color: #666;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.upload-icon {
    display: flex;
    flex-direction: column;
    border: 1px solid #0076c0;
    padding: 10px;
    border-radius: 7px;
    align-items: center;
    background: #fff;
}

.cloud-icon {
    font-size: 40px;
    color: #666;
    margin-bottom: 10px;
}

.texto-upload {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.foto-pneu img {
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.file-info {
    display: flex;
    flex-direction: column;
}

.upload {
    color: #0076c0;
    font-size: 12px;
}

.upload-icon img {
    filter: invert(61%) sepia(94%) saturate(7459%) hue-rotate(186deg) brightness(94%) contrast(107%);
}

div:where(.swal2-icon) {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 2.5em auto .6em;
    border: none!important;
    border-radius: 0%!important;
    border-color: none!important;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none;
}


/**Form**/
.form-control {
    width: 100%;
    border: 2px solid #d3d3d3!important;
    border-radius: 8px!important;
    padding: .5rem 1rem;
    transition: all .3s;
}

button.btn-green {
    background-color: #21a746;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 10px;
}

button.btn-green:hover {
    background-color: #1b8b3b;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 10px;
}

button.percurso {
    color: white;
    border: 0!important;
    background-color: #a6a6a6;
    height: 43px;
    border-radius: 10px;
}

button.percurso:hover {
    color: white;
    border: 0!important;
    background-color: #8b8b8b;
    height: 43px;
    border-radius: 10px;
}


button.percurso.active {
    color: white;
    border: 0;
    background-color: #007bff;
}

.custom-file-upload .input-group {
    display: flex;
    align-items: center;
}

.upload-icon-nf {
    background-color: #28a745;
    color: white;
    padding: 12px 12px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.upload-icon-nf:hover {
    background-color: #1b8b3b;
    color: white;
    padding: 12px 12px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.upload-icon-nf i {
    font-size: 18px;
}

.filename-display {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #ced4da;
    border-radius: 0 10px 10px 0!important;
}

input[type="file"] {
    display: none;
}

/**Loading**/

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, 0.8);
    display: inherit;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }