@import url('/tpls/css/fontello.css');
.scales_block {
	left: 10px;
	position: relative;
	width: 100%;
	height: 700px;
	overflow-x: auto;
    overflow-y: hidden;
}
.bars {
	display: inline-block;
}
.no_data {
	position: relative;
	width: 100%;
	height: 700px;
	text-align: center;
	color: #888;
	font-size: 18px;
	padding-top: 300px;
}
.weight, .temp, .temp2, .hum, .bat {
	background: #333;
	position: absolute;
	bottom: 0;
	width: 16px;
}
.weight span {
  display: none;
  width: 170px;
  background: #fff;
  color: #222;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: fixed;
  z-index: 9;
  right: 2%;
  top: 120px;
}
/* [крестик]: кнопка закрытия инфо-панели */
.weight span .close_info {
  position: absolute;
  top: 2px;
  right: 6px;
  cursor: pointer;
  font-style: normal;
  font-family: fontello;
  font-size: 12px;
  line-height: 1;
  color: #999;
}
.weight span .close_info:before { content: "\e80e"; }
.weight span .close_info:hover { color: #d90000; }
/*.weight:hover span {
  visibility: visible;
}*/
.temp, .hum, .temp2 {
	width: 9px;
	border: 0;
}
.hum {
	background: #00b359;
	left: 10px;
}
.bat {
	background: none;
	width: 16px;
	border-top: 3px solid;
	border-bottom: 3px solid;
}
.temp {
	background: #0086b3;
	left: 2px;
}
.temp2 {
	background: #ffc926;
	left: 6px;
}

.day_change {
	background: #ff0080 !important;
}

.setka_div {
	position: absolute;
	width: inherit;
	height: 1px;
	font-weight: bold;
	z-index: 1;
	border-bottom: 1px solid #777;
}
.kg {
	position: absolute;
	border-color: #ff0080;
	color: #ff0080;
}


.content {
	width: 95%;
}
.field {
	float: left;
    margin-right: 10px;
}

.right_scale div {
	font-weight: bold;
	position: absolute;
}
.right_scale {

}
.alert {
	color: #ff265c;
}
.context-menu {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.54);
    background-color: white;
}
.cm-select {
	background-color: #8c008c !important;
}
.context-menu ul {
    padding: 0;
    margin: 0;
}
.context-menu ul li {
    cursor: pointer;
    list-style: none;
    padding: 10px 12px;
    margin: 0;
    border-bottom: 1px solid #777;
}
.context-menu ul li:last-child {
    border-bottom: 1px solid transparent;
}
.context-menu ul li:hover {
    background-color: #ccc;
}

.sel_bar{
	background: #0080ff !important;
}

.info .sun,
.info .rain,
.info .dull,
.info .remove
 {
	position: absolute;
	left: 1px;
	top: -17px;
	font-family: fontello;
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	text-decoration: inherit;
}
.info .sun {color: #ffc926;}
.info .sun:before {content: "\e884";}
.info .rain {color: #0080ff;}
.info .rain:before {content: "\e882";}
.info .dull {color: #999999;}
.info .dull:before {content: "\e86a";}
.info .remove {color: #d90000;}
.info .remove:before {content: "\e80e";}

.green {
	border-color:#00b359;
}
.yellow {
	border-color:#ffc926;
}
.red {
	border-color:#d90000;
}

/* ===== Auth Panel (Top Bar) ===== */
.auth-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 0px 40px;
    height: 36px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* ===== Auth Panel (Landing) ===== */
.auth {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.auth-lng {
    display: flex;
    gap: 6px;
}

.auth-lng a {
    color: #555555;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.auth-lng a:hover {
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.05);
}

.auth-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-btns a {
    color: #444444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-btns a:hover {
    color: #1a1a2e;
}

.auth-enter a {
    color: #1a1a2e;
    font-weight: 700;
}

.auth-enter a:hover {
    color: #4a90d9;
}

.auth-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0 4px;
}

.auth-logged {
    display: flex;
    align-items: center;
    gap: 4px;
}

.auth-logged a {
    color: #444444;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-logged a:hover {
    color: #1a1a2e;
}

.auth-exit {
    opacity: 0.5;
}

.auth-exit:hover {
    opacity: 1;
}

.auth-userinfo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-hi {
    color: #444444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-hi:hover {
    color: #1a1a2e;
}

.auth-small {
    display: flex;
    align-items: center;
}

.auth-small .auth-ico {
    color: #444444;
    font-size: 18px;
}

.auth-full {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #444444;
    font-size: 13px;
    font-weight: 500;
}

/* ===== Auth Popup (Landing) ===== */
.auth-popup-fade {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.auth-popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* ===== Auth Form — оформление блока в стиле лендинга (инпуты — системные) ===== */
.auth-form-block {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 155px;
    padding: 28px 25px 24px;
    background: #F6F6F1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(26, 26, 46, 0.28);
    font-family: 'Montserrat', sans-serif;
}

/* Обнуляем системные отступы внутреннего fieldset, чтобы карточка была ровной */
.auth-form-block fieldset {
    margin: 0;
    padding: 0 !important;
}

.auth-form-block fieldset::after {
    content: "";
    display: table;
    clear: both;
}

/* Ссылка восстановления пароля в стиле лендинга */
.auth-form-block .forgot-passw {
    clear: both;
    padding: 4px 0 0;
    font-size: 12px;
    text-align: right;
}

.auth-form-block .forgot-passw a {
    color: #4a90d9;
    transition: color 0.3s;
}

.auth-form-block .forgot-passw a:hover {
    color: #1a1a2e;
}

/* ===== Auth Panel Responsive ===== */
@media (max-width: 1024px) {
    .auth-panel {
        padding: 6px 20px;
        gap: 10px;
    }
    
    .auth-lng a {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .auth-full {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-lng {
        display: none;
    }
    
    .auth-btns a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .auth-panel {
        padding: 4px 12px;
    }
    
    .auth-userinfo .auth-full {
        display: none;
    }
    
    .auth-logged a {
        font-size: 11px;
    }
}

/* [чат]: значок чата — сплошной тёмно-бежевый фон, белая иконка (без градиентов и свечений) */
#chat-widget .chat-toggle {
	background: #b08968;
	color: #fff;
}
#chat-widget .chat-toggle:hover {
	color: #fff;
}