#deep-select-button, #sector-select-button, #crop-button, #draw-polygon-button2, #draw-polygon-button{
	margin-left: 8px !important;
}

#layer-switcher{
	top: 155px !important;	
	/*background: #45a049 !important;*/
	max-width:450px !important;
	left: 10px !important;
	/*right: 0px !important;*/
	padding: 4px !important;
	border-radius: 0px !important;
}

#ls-toggle{	
    width: 150px !important;
    background: #026406 !important;
    padding: 10px 10px !important;
    color: white !important;
    height: 45px !important;
	max-width:45px !important;
}

input.process-date {
    width: 110px;
}

.process-table{
transform-origin: top left; /* Определяем точку отсчета для масштабирования */
}

td select, input {
	color:black !important;
}

/*
.ol-zoom.ol-unselectable.ol-control {
  top: 20px;
}
*/

.ol-control button {
  height: 1.14em;
  width: 1.14em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
textarea#text{
	width: 350px !important;
}

#crop-button {
	display:none;
}

/* ───── базовый контейнер ───── */
.basemap-switcher{
  position:absolute;
  bottom:30px; left:10px;
  display:flex; gap:6px;
  padding:6px 2px 0px 4px;
  background:rgba(255,255,255,.9);
  border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,.3);
  z-index:1000;
  width:72px;  height:72px;          /* свернуто */
  overflow:hidden;                   /* скрываем лишнее */
  transition:width .2s,height .2s;
}

/* ───── раскрытое состояние ───── */
  .basemap-switcher.open        { width:auto; }         /* desktop */
@media (pointer:coarse){                                /* мобильные */
  .basemap-switcher             { flex-direction:column-reverse; }
  .basemap-switcher.open        { height:auto; width:72px; }
}

/* ───── миниатюры ───── */
.basemap-thumb{
  flex:0 0 60px;                 /* сами картинки чуть меньше 72 px */
  width:60px; height:60px;
  background-size:cover;
  background-position:center;
  border:2px solid transparent;
  border-radius:4px;
  cursor:pointer;
  margin-left: 3px;
}

.basemap-thumb:hover  { border-color:#888; }
.basemap-thumb.active { border-color:#0078d7; }

/* в свернутом виде показываем только активную миниатюру */
.basemap-switcher.collapsed .basemap-thumb:not(.active){ display:none; }

/***************************************************************************/
#submit-button.disabled {
    background: #bfbfbf !important;
    border-color: #bfbfbf !important;
    color: #666 !important;
    pointer-events: none;          /* не кликается */
}
#submit-button.disabled:hover {
    background: #bfbfbf !important;   /* убираем ховер-эффект */
}

button.disabled {
    background: #bfbfbf !important;
    border-color: #bfbfbf !important;
    color: #666 !important;
    pointer-events: none;          /* клики и hover отключены */
}

#draw-polygon-button2 .fa-user{	
	margin-top: 0px !important;
    margin-bottom: 4px !important;
	font-weight: 900 !important;
}

button#draw-polygon-button2 {
	padding: 3px 15px 10px 15px;
}

.wrap {
	display:none;
	width:98vw;
}

.table-container {
    height: auto;
}

.wrap {
	position: absolute !important;
    margin: 0 !important;
	padding: 10px 20px 0 20px;
    z-index: 1001;
    bottom: 0;
    background-color: white;
}
button.tab-button.active {	
	border-bottom: 1px solid #f0f0f1;
    background: #f0f0f1;
    color: #000;
}

div#uta-tabs-content {
    /*overflow-y: scroll;*/
	height: 33vh;
}

.tab-content {
	margin-top: 0px !important;
}

button.tab-button {
    background-color: #fff;
    color: #3c434a;
	border: 1px solid #c3c4c7;
    border-bottom: none;
}

button.tab-button:focus, button.tab-button:hover {
    background-color: #fff;
    color: #3c434a;
	outline-color: unset !important;
}

table.process-table{
	font-size: 15px;
	text-align: center;
}

#zoom-in, #zoom-out, #reset-view {
	display: none;
}
/*
div#toolbar, div#icon-bar {
	width: 350px;
}
*/
input#search-input, ul#suggestions-list {
	font-size: 15px;
	width: 328px !important;
	height: auto;
}

div#coords-panel, div#projection-panel, div#zoom-display {
	font-size: 15px;
	font-family: Noto Sans, sans-serif;
}

.ol-attribution.ol-unselectable.ol-control.ol-uncollapsible {
	/*display: none;*/
}

body, main#wp--skip-link--target{
	/*overflow: hidden;*/
	}


#map {
	width: 100vw; height: 93vh; overflow: hidden;
}

#zoom-display {
	position: absolute; bottom: -1px; right: 350px; background: rgba(255, 255, 255, 0.7); z-index: 1;
}

#projection-panel {
	position: absolute; bottom: -1px; right: 250px; background: rgba(255, 255, 255, 0.7); z-index: 1; 
}

#coords-panel {
	position: absolute; bottom: -1px; right: 50px; background: rgba(255, 255, 255, 0.7); z-index: 1;
}

#bottom-panel {
	position: absolute; bottom: -1px; width:100vw; height:24px; z-index: 1;
	background-color: #fff;
    -webkit-box-shadow: 3px 0 6px #0000001f, 4px 0 8px #0000003d;
    -moz-box-shadow: 3px 0 6px #0000001f, 4px 0 8px #0000003d;
    box-shadow: 3px 0 6px #0000001f, 4px 0 8px #0000003d;
}

#attribute-display strong {
    font-weight: 500; font-size: 15px;
}

#attribute-display ul{
	margin: 0px !important
}

#attribute-display #zl_topo_type, #ad-info-block {
	font-weight: 300; font-size: 15px;
}


#attribute-display {
	line-height: 1.2;
}

select, input {
	border-radius: 0px !important;
	/*width: 275px; am adaugat latime*/
}

select#zl_topo_type {
	width: 260px; height: 30px !important;margin-left:23px;padding-left: 5px;
}

input#benificiar {
	width: 222px; height: 32px !important;
}

input#beneficiar:disabled, select#zl_topo_type:disabled, input#scopul:disabled, input#zl_adresa:disabled, #zl_nr_registr:disabled, #company:disabled, #executant:disabled, #zl_topo_descr:disabled, input#zl_id:disabled {
	border-color: rgb(220 220 222 / 0%); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0%);
}

input#company {
	width: 260px; height: 30px !important;
}

input#zl_adresa {
	width: 260px; margin-left: 22px;
}
input#executant {
	width: 260px; *margin-left: 2px;
}
input#zl_nr_registr {
	width: 260px; margin-left: 5px;
}	
input#zl_topo_descr {
	width: 260px; margin-left: 6px;
}
input#zl_topo_type {
	width: 290px;
}
input#beneficiar {
	width: 260px;margin-left: 4px;	
}
input#scopul {
	width: 260px;margin-left: 38px;
}

#attribute-display ul input:disabled, #attribute-display ul select:disabled {
	color: rgb(44 51 56);
}

#suggestions-list li {
	margin-bottom: 0px !important; line-height: 1.2;
}

#suggestions-list li:hover {
	margin-bottom: 0px !important; line-height: 1.2; background-color: #49b054;
}

/*///////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////*/
/* Общие стили для кнопок */
button {
    background-color: #026406;
    color: white;
    padding: 10px 10px;
   /* margin-top: 5px;
	margin-left: 15px;*/
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Стили для панели управления */
#toolbar {
    position: absolute;
    top: 100px;
    left: 50px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px;
    border-radius: 0px;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*adaug responsive-display
@media(max-width: 500px){
	#toolbar{
		top:150px;
		
	}
} */

#icon-bar {
    position: absolute;
	display: flex;
	justify-content: space-evenly;
    top: 100px;
    left: 400px;
    background: rgba(255, 255, 255, 0.0);
    /*padding: 10px;*/
    border-radius: 0px;
    z-index: 1;	
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}
/*pentru versiunea mobila*/
@media (max-width: 500px) {
    #icon-bar {
        position: absolute;
        display: flex;
        justify-content: space-evenly; /* sau flex-start dacă vrei la stânga */
        top: 155px;
        left: 70px;
        background: rgba(255, 255, 255, 0.0);
        border-radius: 0px;
        z-index: 1;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    }
}
#icon-bar button {
    height: 50px;
    width: 50px;
}

#draw-polygon-button, #draw-polygon-button {
	color: white;
	font-size: 25px;
}

#toolbar div {
    //margin-bottom: 10px;
}

#icon-bar div {
    margin-bottom: 10px;
}

/* Стили для формы атрибутов */
#attribute-display {
    position: absolute;
    top: 155px;
    right: 20px;
    background: rgba(255, 255, 255, 1);
    padding: 10px;
   /* border-radius: 8px;*/
    max-width: 350px;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 70vh;
	width: 350px;
}

#attribute-display h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

/* Стили для списка атрибутов */
.attribute-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.attribute-list .attribute-item {
    margin-bottom: 15px;
}

.attribute-list label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.attribute-list input[type="text"],
.attribute-list input[type="number"],
.attribute-list select {
    width: 100%;
    padding: 18px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.attribute-list input[type="checkbox"] {
    margin-left: 5px;
}

.attribute-list input:focus,
.attribute-list select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 4px #4CAF50;
}

/* Стили для панели кнопок управления */
/* Подсветка строки по статусу */
tr.status-row--respins > td {
  background-color: #fee2e2;   /* светло-красный */
  border-left: 1px solid #ccc;
}
tr.status-row--ok > td {
  background-color: #dcfce7;   /* светло-зелёный */
  border-left: 1px solid #ccc;
}

#attribute-controls {
    position: absolute;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    border-radius: 8px;
    z-index: 0;
	width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Скрыто по умолчанию */
}

#attribute-controls button {
    display: block;
    margin: 10px 0;
    /*padding: 10px 15px;*/
    font-size: 14px;
    color: #ffffff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#attribute-controls button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* Кнопка "Отмена" */
#attribute-controls #cancel-button, #cancell-all-button {
    background-color: #ff2626;
}

#attribute-controls #cancel-button:hover, #cancell-all-button {
    background-color: #ff2626;
}

/* Кнопка "Сохранить все изменения" */
#save-all-button {
    background-color: #2196F3;
}

#save-all-button:hover {
    background-color: #1976D2;
}

/* Стили для блока ad-info */
#ad-info-block {
    margin-top: 20px;
    padding: 10px;
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid #ddd;
    border-radius: 5px;
}

#ad-info-block h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#ad-info-block p,
#ad-info-block .ad-info-item {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

#ad-info-block a {
    color: #007bff;
    text-decoration: none;
}

#ad-info-block a:hover {
    text-decoration: underline;
}

/* Стиль для попапа */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Общий стиль для вкладок */
#uta-tabs {
    display: flex;
    /*margin-bottom: 10px;*/
}

.tab {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    margin-right: 5px;
}

.tab:hover {
    background-color: #ddd;
}

.tab.active {
    background-color: #4CAF50;
    color: white;
}

/* Стиль для содержимого вкладок */
.tab-content {
	overflow: scroll;
	height: 33vh;
    display: none;
    /*padding: 20px;*/
    border: 1px solid #ccc;
    margin-top: 20px;
}

/* Стиль для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.close {
    font-size: 30px;
    cursor: pointer;
}

.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.invisible {
display:none;
}

/* Стили кастомного виджета */
        .custom-zoom-widget {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: white;
            border: 1px solid #ccc;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
		
.zoom-display {
            margin-top: 10px;
            font-size: 14px;
            font-weight: bold;
        }

/* Стили для кнопки загрузки */
.upload-btn {
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.upload-btn:hover {
    background-color: #0056b3;
}

/* Стили для прогресс-бара */
.progress-container {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 100px;
    height: 10px;
}

.progress-percentage {
    font-size: 12px;
    color: #333;
}
.fisier-url {
	display:none;
}