/* ===== твои исходные стили (без изменений) ===== */
* { margin: 0; padding: 0; }

body {
	text-align: center;
	min-width: 600px;
}

#wrapper {
	display: inline-block;
	width: 400px;
}

#send {
	width: 150px;
    height: 40px;
	margin-top: 10px;
}

input[type=text], input[type=password] {
	display: inline-block;
    margin: 10px;
    width: 301px;
    padding: 8px;
    font-size: 16px;
}

#imgItems {
	background: url(../imgs/20220731190417.jpg) no-repeat;
	background-size: 100%;
	height: 183px;
	margin: 20px 0px;
}

#imgLoad {
	background: url(../imgs/imgLoad.gif) no-repeat;
	background-size: 100%;
	height: 40px;
	width: 40px;
	margin: 10px auto 0px;
}

#sendForm {
	margin: auto;
    border: 1px solid;
    border-radius: 8px;
    padding: 30px;
    background-color: #F5FFFA;
	width: 336px;
}

#sendForm p {
	font: italic bold 18px arial,sans-serif;
    color: navy;
    text-align: left;
}

#instruction {
	margin: 20px 0px;
	background-color: yellow;
	border-radius: 20px;
	padding: 30px 10px;
	word-wrap: break-word;
	font-size: 20px;
}

.hidden { display: none !important; }

.shIconBlock {
	position: absolute;
    right: 16px;
    top: 11px;
    bottom: 0;
    height: 40px;
}

.toggle-visibility {
	background: transparent !important;
  	border: none !important;
  	outline: none !important;
 	box-shadow: none !important;
 	padding: 0 !important;
	margin: 0 !important;
 	cursor: pointer !important;
	height: 38px;
	width: 20px;
}

/* ===== ДОБАВЛЕНО: глаз внутри login/password с полноценной кликабельной зоной справа ===== */

/* Обёртка вокруг input с глазом — сохраняем габариты как у обычного поля */
.t-eye-wrap {
	position: relative;
	display: inline-block;
	width: 320px;   /* ровно как input */
	margin: 10px;   /* тот же внешний отступ, что у input */
	vertical-align: top;
}

/* Сам input: на всю ширину обёртки + место под глаз справа */
.t-eye-wrap input {
	width: 100%;
	box-sizing: border-box;
	margin: 0;              /* чтобы не было двойного отступа */
	padding: 8px;
	padding-right: 36px;    /* ширина кликабельной зоны (см. ниже) */
	font-size: 16px;
}

/* Кнопка-глаз становится "overlay" и перекрывает всю правую часть поля,
   включая рамку: поэтому НИГДЕ в этой зоне не будет текстового курсора */
/* Кнопка-overlay на всю правую часть поля */
.t-eye-wrap .toggle-visibility {
	position: absolute;
	top: 0;
	right: 0px;          /* заходим на рамку справа */
	width: 38px;          /* ширина = padding-right + рамка */
	height: 100%;         /* от верха до низа инпута */
	display: flex;
	align-items: center;  /* центр по вертикали */
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	z-index: 2;
}

/* Иконки внутри — клики проходят к кнопке */
.t-eye-wrap .toggle-visibility svg {
	display: block;
	fill: #666;        /* более мягкий серый */
	pointer-events: none;
	transition: fill 0.2s ease; /* плавное изменение при hover */
}

.t-eye-wrap .toggle-visibility:hover svg {
	fill: #333;        /* чуть темнее при наведении */
}

/* Hover-подсветка круга вокруг иконки (визуально), при этом overlay остаётся прозрачным */
.t-eye-wrap .toggle-visibility:hover::before {
	content: "";
	position: absolute;
	width: 28px;
	height: 28px;
	right: 5px;             /* центрируем кружок относительно иконки */
	top: 50%;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(0,0,0,0.05);
	pointer-events: none;
}

/* Показываем по умолчанию "скрыто" (перечёркнутый глаз) */
.t-eye-wrap .toggle-visibility .t-show { display: none; }

/* Когда на кнопке есть .is-visible — показываем "открытый глаз" */
.t-eye-wrap .toggle-visibility.is-visible .t-hide { display: none; }
.t-eye-wrap .toggle-visibility.is-visible .t-show { display: block; }

/* Убираем встроенные кнопки-глаза/очистки во всех браузерах */

/* Internet Explorer / Edge (старый движок Trident) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* Edge (Chromium) */
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-reveal-button {
  display: none;
}

/* Safari / Chrome (WebKit/Blink) */
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-reveal {
  display: none;
}

/* Firefox пока не рисует встроенный глаз, ничего делать не надо */