/* 
--azul
escuro: #334172
claro: #7fc8e9
regular: #66b2cc

--cinza
regular: #3E6C84
*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}
/* range1 */
.custom-range1{
    width: 70%;
    cursor: "pointer"
}
 
/* range */ 

.custom-range {
    width: 80%;
}

.custom-range::-moz-range-track {
    height: 1px
}

.custom-range::-moz-range-thumb {
    /* background-color: #4EBE00; */
    background-color: #67AE3E;
    height: 1.2em; 
    width: 1.2em;
}

.custom-range::-webkit-slider-runnable-track {
    height: 1px;
    position: relative;
}

.custom-range::-webkit-slider-thumb {
    background-color: #67AE3E;
    height: 1.2em;
    width: 1.2em;
    position: absolute;
    top: -5px;
}


.custom-p {
    display: block;
}

.custom-button { 
    height: 1em;
    width: 5.5em;
    line-height: 1em;
    padding: 0 0;
    border: none;
    color: #7fc8e9;
    font-size: 1.3em;
}

.no-margin {
    margin-bottom: 0 !important;
}

.custom-input {
    border: none;
    border-bottom: 1px solid #000;
    width: 7em;
}

.custom-input:focus {
    border: none;
}

.custom-info {
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: #fff;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
    transition: all 0.2s ease;
}

.custom-info:hover {
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(23, 162, 184, 0.4);
}

.custom-infoL {
    border-radius: 50%;
    padding: 0 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75em;
    background-color: #3E6C84;
    color: #fff;
}

.custom-infoL:hover {
    cursor: pointer;
}

.custom-info-flex {
    border-radius: 50%;
    padding: 0 5px;
    /* position: absolute; */
    /* top: 10px;
    right: 10px; */
    font-size: 0.75em;
    background-color: #3E6C84;
    color: #fff;
}

.custom-info-flex:hover {
    cursor: pointer;
}

.selfie-info {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 5px;
}

.custom-select {
    text-align: center;
    text-transform: capitalize;
}

.custom-select option {
    text-transform: capitalize;
}

.custom-select:first-child {
    width: 95%;
}

.custom-table {
    padding: 0 0 !important;
    border: 1px solid #000 !important; 
}

.custom-table-status tr:nth-child(2n) {
    padding-bottom: 15px !important;
}

.c-table-borderless td {
    border-top: none !important;
}

.c-table-bordered td, .c-table-bordered th {
    border: 1px solid #000 !important;
}

.c-table td, .c-table th {
    padding: 0 0 !important;
}

.result-table td:last-child {
    width: 40% !important;
}

.is-valid {
    background: none !important;
}

.drop-box img {
    width: 2em;
    height: 2em;
}

.drop-box {
    margin: 0 auto;
    padding: 0;
    position: relative;
    border: none;
}

.drop-box:hover {
    cursor: pointer;
}

.drop-box:focus {
    border-color: #17a2b8;
}

.drop-box .box {
    border: 2px dashed #17a2b8;
    border-radius: 8px;
    margin: 0;
    height: 80px;
    background: #f8fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.drop-box .box:hover {
    background: #e8f4f8;
    border-color: #138496;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.15);
}

.drop-box .span-del {
    line-height: 80px;
    color: #dc3545;
    font-weight: 600;
    font-size: 12px;
}

/* ─── Dropzone da tela Ofertas Extraidas (escopado) ──────────────────────────
   Pontilhado maior: ocupa toda a largura (texto cabe em uma linha) e mais alto. */
.extrator-ofertas-dropzone .drop-box {
    width: 100% !important;
    max-width: 396px !important;
    flex: 0 0 100% !important;
}

.extrator-ofertas-dropzone .drop-box .box {
    height: 150px;
    border-width: 2px;
    border-radius: 10px;
    padding: 0 18px;
    flex-direction: column;
}

.extrator-ofertas-dropzone .drop-box .box span {
    font-size: 1em !important;
    white-space: nowrap;
}

.extrator-ofertas-dropzone .drop-box .custom-image {
    width: 3.10em;
    height: 3.10em;
}

/* Icone do arquivo ja carregado (preview) menor */
.extrator-ofertas-dropzone .drop-box img[alt="Preview"] {
    width: 52px !important;
    height: auto !important;
    max-height: 64px;
}

/* Extrator de Ofertas — modo responsivo: compacta tudo (cards, dropzone, espaçamentos)
   pra a tela inteira, banner incluso, caber sem exigir rolagem. */
@media (max-width: 480px) {
    /* Cards de Convênio: cabem lado a lado (INSS + SIAPE), logo ainda legível */
    .extrator-convenio-card {
        width: 118px !important;
        padding: 8px 8px 7px !important;
        gap: 4px !important;
    }

    .extrator-convenio-card-logo-chip {
        width: 86px !important;
        height: 58px !important;
    }

    .extrator-convenio-card-logo {
        width: 72px !important;
        height: 49px !important;
    }

    .extrator-convenio-card-label {
        font-size: 10.5px !important;
    }

    .extrator-convenio-card-check {
        width: 15px !important;
        height: 15px !important;
        top: 7px !important;
        right: 7px !important;
    }

    .extrator-convenio-card-check-icon {
        font-size: 10px !important;
    }

    /* Componente de arrastar (Dropzone): mais baixo e compacto */
    .extrator-ofertas-dropzone .drop-box {
        max-width: 100% !important;
    }

    .extrator-ofertas-dropzone .drop-box .box {
        height: 95px !important;
        padding: 0 10px !important;
    }

    .extrator-ofertas-dropzone .drop-box .custom-image {
        width: 2.3em !important;
        height: 2.3em !important;
        margin: 2px auto !important;
    }

    .extrator-ofertas-dropzone .drop-box .box span {
        font-size: 0.78em !important;
    }

    /* Espaçamentos gerais e texto — comprime o bloco todo pra sobrar altura pro banner */
    .extrator-ofertas-banner-row {
        gap: 12px !important;
        justify-content: center !important;
    }

    .extrator-ofertas-title-block {
        margin-bottom: 20px !important;
    }

    .extrator-ofertas-title-text {
        font-size: 22px !important;
        gap: 8px !important;
    }

    .extrator-ofertas-title-icon-chip {
        width: 32px !important;
        height: 32px !important;
        border-radius: 9px !important;
    }

    .extrator-ofertas-title-icon {
        font-size: 17px !important;
    }

    .extrator-ofertas-subtitle {
        font-size: 11px !important;
        margin-top: 4px !important;
    }

    .extrator-ofertas-convenio-label {
        font-size: 9.5px !important;
    }

    /* Convênio → Dropzone: mais respiro entre as duas seções */
    .extrator-ofertas-convenio-section {
        margin-bottom: 22px !important;
    }

    .extrator-ofertas-hint-text {
        font-size: 11px !important;
        margin-top: 4px !important;
    }

    /* Banner: menos padding/raio pra ocupar menos altura, imagem já reduz junto (largura menor) */
    .extrator-ofertas-banner-col {
        max-width: 260px !important;
    }

    .extrator-ofertas-banner-frame {
        padding: 8px !important;
        border-radius: 12px !important;
    }
}

.img-button {
    position: absolute;
    left: 5px;
    text-align: center;
    z-index: 1000;
    font-size: 1em;
    border-radius: 15px;
    background-color: #fff;
    opacity: 0.5;
    height: 1.5em;
    width: 1.5em;
}

@media (min-width: 800px) {
    fieldset {
        height: 620px;
    }

    fieldset .form {
        height: 450px;
        position: relative;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    .form:hover {
        overflow-y: auto;
    }

    form {
        height: 660px;
    }
}

@media (max-width: 700px) {
    .buttons {
        margin: 0 auto;
    }

    .display-4 {
        font-size: 1.6em;
    }
    
    .simulator {
        margin: none;
    }
    
    .custom-info {
        font-size: 0.7em;
        padding: 0 0.35em;
        position: absolute;
        top: 10px;
        right: -10px;
        margin-left: 1em;
    }
    
    .custom-p {
        position: relative;
        margin-bottom: 5px;
    }
    
    .card {
        border: none;
    }
    
    .custom-select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        text-overflow: '';
    }

    .custom-title-section {
        font-size: 1.2em;
    }

    .custom-status h5 {
        font-size: 0.88em;
    }

    .custom-status h6 {
        font-size: 0.77em;
    }
    
    .c-table td, .c-table th {
        padding: 0 0;
    }
    
    .c-table td:last-child {
        width: 60%;
    }
    
    .c-table .custom-td {
        padding: 0.5em 1em;
    }

    .drop-box {
        margin-bottom: 2px !important;
    }

    .drop-box .box {
        height: 70px;
    }

    .drop-box .span-del {
        line-height: 70px;
    }

    .custom-image {
        margin: 0 auto !important;
    }

    .detailed-td {
        font-size: 0.7em
    }

    .selfie-info {
        position: relative;
        top: -2px;
        right: 0;
        margin-left: 5px;
    }

    .custom-font{
        color: #3E6C84
    }
}
