/* CSS para travar a tela e escurecer o fundo */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    /* Fundo semi-transparente  */
    z-index: 9999;
    opacity: 0.9;
    /* Garante que fique acima de tudo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-top: 15px;
    height: 12px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #3498db;
    border-radius: 10px;
    transition: width 0.2s ease-in-out;
}


/*
.btn-combo {
    display: inline-flex;
    align-items: left;
    justify-content: left;
    gap: 8px;
    background: linear-gradient(180deg, #0099ff 0%, #0066ff 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.btn-combo:hover, 
.btn-combo:focus {
    background: linear-gradient(180deg, #0088ee 0%, #0055ee 100%);
    color: #ffffff;
}

.btn-combo i {
    transition: transform 0.3s ease;
}

.btn-combo:focus i,
.btn-combo[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* */
.btn-combo {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    justify-content: left;
    background-color: #0d6efd;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding-left: 40px !important;
    padding-right: 15px !important;
    font-weight: bold;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px 20px;
    transition: background-image 0.2s ease, transform 0.2s ease;
}

.btn-combo:hover{
    outline: none;
     appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #e7f1ff;
    color: #0c1546;
    border:#0c1546;
    border-radius: 8px;
    padding-left: 40px !important;
    padding-right: 15px !important;
    font-weight: bold;
    cursor: pointer;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffeee' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px 20px;
    transition: background-image 0.2s ease, transform 0.2s ease;
}


.btn-upload {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-upload:hover {
    background-color: #0056b3;
}

#fileToUploadUp {
    display: none;
}

.labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #555;
}

.piscar {
    animation: pulse 0.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(1.03);
    }
}








.balao-left {
    position: relative;

    top: 0px;
    left: 20px;

    width: 100%;
    padding: 10px;
    min-height: min-content;
    border-color: #200101;
    background: #ff9ca3;
    color: #200101;
    border-radius: 10px;
    /* border-top-left-radius: 0px; /* */
    box-sizing: border-box;
}

/* ponta superior esquerda */
.balao-left::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -20px;
    width: 0;
    height: 0;
    border-top: 2px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 21px solid #ff9ca3;
}

.balao-right {
    position: relative;

    top: 0px;
    right: 20px;

    width: 100%;
    padding: 10px;
    min-height: min-content;
    border-color: #011f06;
    background: #97b397;
    color: #011f06;
    border-radius: 10px;
    box-sizing: border-box;
}

/* ponta inferior direita */
.balao-right::before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 2px solid transparent;
    border-left: 21px solid #97b397;
}