* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	background: url('img/back2.jpg') no-repeat center center fixed;
	background-size: cover;
	position: relative; 
	display: flex;
	justify-content: center;
	padding: 20px;
}

body::before {
	content: "";
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(255, 255, 255, 0.7); 
	z-index: 0;
} 
.copyright {
    position: fixed;
    text-align: center;
    z-index: 20;
    bottom: 20px;
    left: 0;
    width: 100vw;
    font-size: 0.8em;
    color: #444;
}
.copyright img {
    width: 64px;
    vertical-align: -4px;
}
.main-content {
	padding-top: 20px;
	z-index: 10;
	color: #444;
}
a.in-h2 {
	color: inherit;
	text-decoration: none;
}
div#hide {
	position: fixed;
	right: 20px;
	top: 50%;
	background: rgb(221 221 221 / 30%);
	border-radius: 50%;
	width: 100px;
	height: 100px;
	z-index: 10;
}
.count {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 40;
    background: linear-gradient(145deg, #6a11cb 0%, #2575fc 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 0.9em;
    padding: 2px 4px;
}
p.group-button {
    font-size: 0.9em;
    margin-top: 20px;
}
.button-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	justify-items: center;
	width: 100%;
	max-width: 400px;
	z-index: 10;
}

.floor-button {
	background: linear-gradient(145deg, #6a11cb 0%, #2575fc 100%);
	color: white;
	border: #fff, solid, 1px;
	padding: 25px 15px;
	font-size: 16px;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/*--- три кнопки, закреплённые внизу экрана ---*/
.button-container-bottom {
	position: fixed;
	bottom: 0;         /* Прижать к низу экрана */
	left: 0;
	width: 100%;       /* Растянуть на всю ширину */
	background: #fff;  /* Фон для кнопок (можешь убрать/поменять) */

	display: flex;
	justify-content: center; /* Центрируем кнопки по горизонтали */
	gap: 2px;               /* Отступы между кнопками */
	padding: 10px 0;
	box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Немного теней для "подвала" */
	z-index: 1000;           /* Чтобы перекрыть любые другие элементы */
}

.button-container-bottom button {
	padding: 10px 20px;
	font-size: 16px;
	width: 30%;
}
#connect {
	display: none; 
	position: fixed;
	bottom: 100px;
	z-index: 1000;
	width: 20%;
	filter: hue-rotate(90deg) opacity(0.8);
}

/*----------------------------------------------*/

h1 {
	text-align: center;
	color: #333;
	width: 100%;
	z-index: 10;
}
h2 {
	text-align: center;
}
p.t-sek {
	text-align: center;
	font-size: 0.8em;
}

.applicat-container {
	position: relative;
	margin: 10px 0;
	padding: 8px 12px;
	background: white;
	border: #999, solid, 1px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.26);
	font-size: 18px;
	color: #222;
}
	input[type="checkbox"] {
		margin-left: 10px;
		width: 26px;
		height: 26px;
		accent-color: #0000cd;
		vertical-align: -6px;
	}
	input[type="checkbox"]:checked p {
	  background-color: #4CAF50;
	  color: white;
	}
	.applicat-container p, .form-complit p { margin: 4px 0; }
	.applicat-container p.order {
		float: left;
		font-size: 0.8em;
		background: #3958ee;
		color: white;
		padding: 3px 10px;
		border-radius: 4px;
	}

	.applicat-container p.date-time {
		/*font-weight: bold;*/
		padding-bottom: 5px;
		text-align: right;
		color: mediumblue;
	}

	.applicat-container p.balans {
		padding: 5px 0;
		font-style: italic;
	}

	.applicat-container span.gray {
		font-weight: bold;
		color: forestgreen;
		font-size: 1.1em;
	}

	.applicat-container span.red {
		font-weight: bold;
		color: crimson;
		font-size: 1.1em;
	}

	.applicat-container p.vid,
	.form-complit p.vid {
		font-weight: bold;
	}

	.applicat-container p.note,
	.form-complit p.note {
		font-size: 0.9em;
	}

	.applicat-container p.phone {
		padding: 4px 10px 0;
		text-align: right;
	}

	.applicat-container a {
		color: #007bff;
		text-decoration: none;
		font-size: 1.14em;
	}
	.active {
	  background-color: #faf0e6; 
	}

	button#to_order {
		display: none;
		position: fixed;
		bottom: 110px;
		right: 4px;
		z-index: 20;
		min-width: 100px;
		padding: 7px 6px;
	}
	.applicat-container p.phone {
		padding-right: unset;
	}
	span.roll-unroll {
		margin-left: 16px;
		padding: 0 2px 0 0px;
		transform: scaleX(2);
		display: inline-block;
	}
	.button-container-applicat {
		padding-top: 10px;
		text-align: right;
		display: none;
	}
	.hand-red {
		float: left;
		margin-right: 20px;
		width: 70px;
		height: 70px;
		background-image: url('img/hand_red.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}
	.complit-green {
		float: left;
		margin-right: 20px;
		width: 60px;
		height: 60px;
		background-image: url('img/ok.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}


.form-complit button,
.button-container-applicat button.floor-button {
	min-width: 100px;
	padding: 7px 6px;
}

/*--- если нет контента -----------------------------------------*/
.rem-container {
	/*height: 40px;
	background: aqua;*/
	position: relative;
	margin-top: 40px;
}
.ia1 {
	position: absolute;
	top: 10px;
    left: 20px;
    width: 190px;
	height: 270px;
	background-image: url('img/ia_1.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	z-index: 9999;
}
.rem, .rem2, .rem-alert1, .rem-alert2, .rem3 {
	position: absolute;
	top: 208px;
	left: 110px;
	width: 200px;
	height: 60px;
	z-index: 9999;
	background: #fefea4;
	border: #222, solid, 1px;
	border-radius: 50%;
	box-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #111;
	font-size: 24px;
}

/* --- форма закрытия заявки ----*/
.overflow {
	display: none;
	position: fixed;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	max-height: -webkit-fill-available;
	background: rgb(128 128 128 / 60%);
	z-index: 20;
}
.form-complit {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: fit-content;
	z-index: 20;
	background-color: #f9f9f9;
	border: #777, solid 1px;
	box-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
}
	.form-complit p.title {
		color: white;
		background-color: #191970;
		margin: unset;
		padding: 10px 9px 10px 20px;
		margin-bottom: 10px;
		font-size: 1.2em;
	}
	.form-complit p.title span { font-weight: bold; }
	.form-complit span.close {
		float: right;
		cursor: pointer;
		line-height: 22px;
		font-size: 1.4em;
	}
	.wrap-inf {
		padding: 0px 20px 10px;
	}
	.wrap-elements {
		padding: 0 20px 16px;
		display: flex;
		flex-direction: column;
		row-gap: 10px;
		align-items: flex-end;
	}
	.wrap-option, .wrap-textbox {
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		gap: 6px;
		width: 100%;
	}
	.wrap-option {
		display: flex;
		justify-content: flex-end;
		align-items: flex-start;
	}
	.wrap-option p {
	}
	text {
		color: #333;
		font-style: italic;
	}
	.norm {
		font-style: initial;
		color: initial;
		text-decoration: underline;
	}
	.wrap-option span {
		display: inline-block;
		color: white;
		background: linear-gradient(145deg, #6a11cb 0%, #2575fc 100%);
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
		padding: 3px 1px;
		transform: scaleX(1.8);
		font-size: 0.8em;
		margin-left: 14px;
	}

	ul.trouble-dict {
		display: none;
		position: absolute;
		top: -30px;
		right: -7px;
		background-color: white;
		font-size: 1.05em;
		color: #444;
		padding: 0;
		border: #777, solid, 1px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
		z-index: 10;
	}
	ul.trouble-dict li {
		color: black;
		font-style: normal;
		list-style-type: none;
		padding: 4px 16px 4px 8px;
	}
	ul.trouble-dict li:first-child { padding-top: 6px; }
	ul.trouble-dict li:last-child { padding-bottom: 6px; }
	li.color1 { background: #e0ffff; }
	li.color2 { background: #fafad2; }
	li.color3 { background: #ffdead; }
	li.ul { border-bottom: #777 solid 1px; }

	ul.trouble-dict li:active {
		background-color: blue;
		color: white;
	}

	textarea {
		width: 100%;
		border: #777, solid, 1px;
	}
	.clear {
		width: 30px;
		height: 30px;
		background-image: url('img/delete3.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}


.alert {
	display: none;
    position: fixed;
    bottom: 60px;
    z-index: 30;
    width: 100vw;
    /*border: #666 solid 1px;*/
}

/*---------------------------------------------------------------*/

@media (max-width: 480px) {
	.button-container-bottom,
	.button-container {
		grid-template-columns: 1fr;
	}
	
	.button-container-bottom button,
	.floor-button {
		padding: 16px 16px;
		font-size: 24px;
	}
}
@media (max-width: 440px) {
	.button-container-bottom,
	.button-container {
		grid-template-columns: 1fr;
	}
	
	.button-container-bottom button,
	.floor-button {
		padding: 10px 16px;
		font-size: 16px;
	}
}
@media (max-width: 360px) {
	.button-container-bottom,
	.button-container {
		grid-template-columns: 1fr;
	}
	
	.button-container-bottom button,
	.floor-button {
		padding: 10px 16px;
		font-size: 16px;
	}
}
