@keyframes beat {

    0%,
    50%,
    100% {
        transform: scale(1, 1);
    }

    30%,
    80% {
        transform: scale(0.92, 0.95);
    }
}

html,
body {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/*           Desing Header           */
#header {
    width: 100%;
    height: 35px;
    background-color: #005fa2;
    display: flex;
    position: fixed;
    z-index: 50;
}

.esri-ui-bottom-left.esri-ui-corner {
    display: none;
}

#content-header {
    width: 50%;
    margin-top: 0;
    padding: 0.2% 0.5%;
    height: 100%;
    display: flex;
}

#content-text {
    width: 100%;
    height: 100%;
    text-align: left;
    margin-left: 1%;

}

#content-img {
    width: 30px;
    height: auto;
    border-color: white;
    border-style: solid;
    border-width: 0.1em;
}

#content-text h4 {
    color: white;
    margin-top: 0%;
    /*text-shadow: 1px 2px #333333;*/
}

/*          DESING SESSION         */


#session {
    width: 100%;
    height: 100%;
    position: absolute;
}

#content-session {
    height: 100%;
    width: 100%;
    display: flex;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
}

#map {
    width: 100%;
    height: 100%;
    display: flex;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

#viewDiv {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

#loading {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 60%;
    margin-right: 50%;
}

/*           DESING BUSCADOR          */

#content-brow {
    /*width: 18%;
    margin-left: 51%;*/
    height: 61%;
    position: fixed;
    margin-top: 3%;
    background-color: white;
    border-radius: 5px;
    border: #005fa2 solid 1px;
    padding: 0.1%;
}

#content-brow #inter-header {

    height: 5%;

}

#browsers2 {
    width: 30px;
    height: 30px;
    padding: 0;
    float: left;
    background: white;
}

#input {
    width: 91%;
    float: left;
    font-size: 0.8em;
}

.btn_captura {
    width: 25%;
    padding: 1%;
    border-radius: 0px;
    font-size: 14px;
    margin: 0 !important;
    border: 2px solid #005fa2;
}

#buscador {
    margin-left: 8px;
    border-radius: 3px;
    border: white solid 2px;
    margin-top: 1%;
    position: fixed;
    background-color: white;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;

}

#widget-search {
    width: 100%;
    height: auto;
    border: black solid 1px;
    border-radius: 3px;

}

#inter-header {
    padding: 1%;
    color: #005fa2;
    display: flex;
}

#content-header {
    text-align: left;
    width: 90%;
}

#content-header h6 {
    font-size: 0.8em;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

#contet-icons {
    width: 10%;
}

.text-busqueda {
    position: relative;
    animation: 5s ease 2s infinite beat;
}

/*       DESING TABS       */


#content-tabs {
    width: 90%;
    margin: 0 5%;
    border-radius: 3px;
    text-align: left;

}

#content-btn-tabs {
    width: 100%;
    height: 100%;
}

#content-btn-tabs-content {
    width: 100%;
    display: flex;
}

#content-btn-tabs-content button {
    height: auto;
    width: 49%;
    margin: auto;

}


#content-content {
    margin-top: 3%;
    width: 100%;
    height: auto;
}

.divs {
    width: 100%;
    height: auto;
    border-radius: 3px;
    margin-top: 3%;
    padding: 1%;
}

.divs select {
    font-size: 0.8em;
    width: 100%;
    height: 30px;
    margin-bottom: 1%;
}

.btn-primary {
    font-size: 0.8em;
    margin-top: 3%;
    background-color: #005FD9;
}

.btn-success,
.btn-secondary,
.btn-danger {
    font-size: 0.8em;
    margin-top: 3%;
}

#add_manual {
    width: 44%;
    margin: 10px auto;
}

/*         DESING DATA EXTRA        */

#data-extra {
    height: 50%;
    padding: 1%;
    text-align: left;
    margin: -2% 5%;
}

#data-extra p {
    font-size: 0.9em;
}

.data-content {
    border-top: #9c9c9c solid 1px;
    border-bottom: #9c9c9c solid 1px;
    border-left: #9c9c9c solid 1px;
    border-right: #9c9c9c solid 1px;
    width: 100%;
    display: flex;
}

.data-content1 {
    border-top: gray solid 1px;
}

.data-content p,
.data-content label {
    background-color: #005fa2;
    height: 100%;
    padding: 1%;
    color: #fff;
    border: #fff;
    font-size: 0.9em;
}

.data-content input,
.data-content select {
    font-size: 0.95em;
}

.data-content p3 {
    width: 75%;
    height: 100%;
    padding: 1%;
    color: black;
    font-size: 0.8em;
    overflow: auto;
}

.data-content #localidad,
#region {
    font-size: 0.8em;
}

.data-content select {
    width: 75%;
}

.data-content input {
    width: 75%;
    height: 100%;
    padding: 1%;
    color: black;
    background-color: aliceblue;
}

.data-content select {
    width: 75%;
    padding: 1%;
    color: black;
    background-color: aliceblue;
}

#depto3,
#idBlock3,
#sitio3,
#aHabi {
    border-width: 1px !important;
    border-style: inset !important;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133)) !important;
    border-image: initial !important;
    background-color: aliceblue;
    width: 100%;
}

.ts-control {
    line-height: 13px;
}

/*.ts-control {
    padding: 5.5px 0 !important;
}*/

.plugin-clear_button.form-select .clear-button,
.plugin-clear_button.single .clear-button {
    right: max(var(--ts-pr-caret), 18px);
    color: orange;
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
    color: orange;
    margin-left: 0.5px;
}

.select-tom .ts-control {
    background-color: aliceblue;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .1rem center;
    background-size: 12px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 0.93em !important;
}

#casa,
#number,
#idBlock3,
#casa3,
#number3 {
    width: 100%;
    height: 100%;
    padding: 1%;
    color: black;
}

/* Campo Número editable: afordancia visual de edición */
#number3 {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    line-height: 1.2;
    border: 1px solid #b9c4d4;
    border-radius: 6px;
    padding: 4px 28px 4px 8px;
    cursor: text;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f69b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Aviso inline (no modal) cuando el número editado difiere del geocodificado */
.aviso-numero {
    margin: 8px 5% 0;
    padding: 8px 10px;
    border: 1px solid #ffe08a;
    border-left: 4px solid #f0ad4e;
    border-radius: 6px;
    background-color: #fff8e6;
    color: #7a5b00;
    font-size: 0.78em;
    line-height: 1.3;
    text-align: left;
}

/* Cargador del botón Confirmar mientras se resuelven sus dependencias */
#confirm-loader {
    margin-bottom: 6px;
    color: #005fa2;
}

#number3:hover {
    border-color: #0f69b4;
}

#number3:focus {
    outline: none;
    border-color: #0f69b4;
    box-shadow: 0 0 0 0.2rem rgba(15, 105, 180, 0.25);
}

#number3:read-only {
    background-color: #e9ecef;
    cursor: default;
    background-image: none;
}

#number3.is-valid {
    border-color: #2e8b57;
}

#number3.is-invalid {
    border-color: #dc3545;
}

#localidad {
    font-size: 0.8em;
}

.bicolor {
    position: relative;
    min-height: 1px
}

.bicolor span {
    display: block;
    float: left;
    height: 100%
}

.bicolor span.azul {
    background: #0f69b4;
    width: 46%
}

.bicolor span.rojo {
    background: #eb3646;
    width: 54%
}

#btn-confirm-clean {
    height: 80px;
}


/*EXTRA*/


#combobox {
    width: 100%;
    padding: 5px;
    height: auto;
    border: #005fa2 solid 1px;
    border-radius: 3px;
    margin-bottom: 5%;
    overflow: auto;
    margin-top: 0;
    background-color: white;
}

#combobox button {
    text-decoration: none;
    border: none;
    background-color: none;
}

#stelaShow {
    margin-top: -2%;
    width: 25%;
    position: fixed;
    background: transparent;
}

/* Input con icono de editar en la misma línea */
.input-with-icon {
    display: flex;
    align-items: center;
    padding: 0;
    background-color: white;
    width: 100%;
}

.input-with-icon input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
    background-color: transparent;
}

.input-with-icon .icon-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.input-with-icon .icon-edit:hover {
    background-color: #f5f5f5;
}

.input-with-icon .icon-edit svg,
.input-with-icon .icon-edit i {
    width: 18px;
    height: 18px;
    color: #005fa2;
}

/* Variante con foco */
.input-with-icon:focus-within {
    border-color: #005fa2;
    box-shadow: 0 0 0 2px rgba(0, 95, 162, 0.1);
}

/* Variante deshabilitada */
.input-with-icon.disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.input-with-icon.disabled input {
    cursor: not-allowed;
    color: #999;
}

.input-with-icon.disabled .icon-edit {
    cursor: not-allowed;
    opacity: 0.5;
}

/* .esri-ui-corner {
    margin-left: 95.5% !important;
} */