* {
	margin: 0 auto;
	padding: 0;
	user-select: none;
	font-family: Montserrat;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 990;
	text-align: center;
	font-size: 1.5em;
}

label {
	color: #424F6A;
	text-align: center;
	font-family: Montserrat;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 155%;
}
.center-screen {
	display: flex;
	width: 100vw;
	height: 812px;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	overflow-x: hidden;
	background: #FBFBFB;
}
.main-container {
	display: flex;
	width: 100vw;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	margin-top: 16vh;
}
.history_btn {
	background-color: #fbfbfb;
	border-style: none;
	font-size: 18px;
	display: flex;
	align-self: flex-end;
	gap: 10px;
}
.location-frame {
	display: flex;
	width: 100vw;
	height: 80px;
	justify-content: center;
	align-items: center;
	position: fixed;
	border-radius: 0px 0px 16px 16px;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}
.location {
	display: flex;
	width: 120px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 12px;
	border: 1px solid #2F394E;
	background: #FFF;
}
.location-title {
	background-color: white;
	appearance: none;
	border: none;
	outline: none;
	color: #2F394E;
	font-family: Montserrat;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.036px;
}
.bottom-nav {
	overflow: hidden;
	position: fixed;
	bottom: 0;
	display: flex;
	width: 100vw;
	height: 80px;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
	border-radius: 16px 16px 0px 0px;
	background: #FFF;
	box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.25);
}
.nav {
	color: #2F394E;
	font-family: Montserrat;
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: 0.036px;
	text-decoration: none;
}
.data-frame {
	width: 360px;
	height: auto;
	flex-shrink: 0;
	display: flex;
	justify-content: space-between;
}
.input-text {
	display: flex;
	width: 150px;
	height: 40px;
	align-items: center;
	text-indent: 10px;
	flex-shrink: 0;
	border-radius: 12px;
	border: 1px solid #2F394E;
}
.history-cards {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.history-card{
	border: 1px solid #ccc;
	padding: 10px;
	width: 340px;
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
	margin: 10px;
}

.history-header{
	text-align: center;
	font-size: 18px;
	margin-bottom: 16px;
}

.task-info {
	text-align: center;
}

.history-data {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.history-info {
	margin-bottom: 16px;
	text-align: center;
	overflow-wrap: break-word;
}

.history-footer {
	margin-bottom: 16px;
	text-align: center;
}

.pagination {
	margin-bottom: 160px;
}

.well-info {
	font-size: 18px;
	font-weight: bold;
}

.well-number {
	font-weight: bold;
	margin: 0 5px;
	color: #2f394e;
}

.history-card p {

}

.date-value {
	margin: 0 5px;
	color: #2f394e;
	font-weight: bold;
}

.task-value {
	display: block;
	width: 100%;
	color: #2f394e;
	margin-top: 6px;
}

.note-value {
	display: block;
	width: 100%;
	color: #2f394e;
	margin-top: 6px;
}

.status-value {
	color: #2f394e;
	font-weight: bold;
}

.status-info {
	margin-bottom: 6px;
}

.qj-value {
	font-weight: bold;
	color: #2f394e;
}
.qn-value {
	font-weight: bold;
	color: #2f394e;
}
.obv-value {
	font-weight: bold;
	color: #2f394e;
}
.temp-value {
	font-weight: bold;
	color: #2f394e;
}



/* Оверлей для модального окна */
#editForm {
	margin-top: 20px;
}

.modal {
	display: none; /* Скрыто по умолчанию */
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background-color: #FFF;
	border: 1px solid #888;
	border-radius: 16px;
	width: 320px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	color: #424F6A;
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.55;
	position: relative;
}

/* Кнопка закрытия модального окна */
.modal-content .close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 28px;
	font-weight: bold;
	color: #424F6A;
	cursor: pointer;
}

.modal-content .close:hover,
.modal-content .close:focus {
	color: #000;
}

/* Стили для формы внутри модального окна */
.modal-content form label {
	display: block;
	margin-bottom: 5px;
	text-align: left;
}

/* Контейнер для ряда */
.modal-content form .row {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

/* Если ряд должен занимать всю ширину */
.modal-content form .row.full {
	flex-direction: column;
}

/* Колонки внутри ряда */
.modal-content form .row .col {
	flex: 1;
}

/* Поля ввода и textarea */
.modal-content form input[type="text"],
.modal-content form textarea {
	width: 100%;
	padding: 8px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 5px;
	text-indent: 10px;
}

/* Настройка textarea */
.modal-content form textarea {
	resize: vertical;
	min-height: 80px;
}

/* Кнопка отправки формы */
.modal-content form button[type="submit"] {
	width: 100%;
	padding: 10px;
	background-color: #2f394e;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
}
.modal-content form button[type="submit"]:hover {
	background-color: #424f6a;
}
