/*
CSS RESET
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License:  none (public domain)
 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

body {
	line-height: 1;
}

ol,ul {
	list-style: none;
}

blockquote,q {
	quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* Main CSS */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

body {
	font-family: sans-serif;
	background-color: #323B55;
}

#slick-login {
	width: 220px;
	height: 155px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -110px;
	margin-top: -75px;


}

#slick-login label {
	display: none;
}

.placeholder {
    color: #444;
}

#slick-login h1 {
	background-color: #292829;
	border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	color: #fff;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}
#slick-login input[type="text"],#slick-login input[type="password"],#slick-login input[type="email"]{
	width: 100%;
	height: 40px;
	positon: relative;
	margin-top: 7px;
	font-size: 14px;
	color: #444;
	outline: none;
	border: 1px solid rgba(0, 0, 0, .49);

	padding-left: 20px;
	
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	border-radius: 6px;

	background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
	background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
	background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
	background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
	background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);

	-webkit-box-shadow: inset 0px 2px 0px #d9d9d9;
	box-shadow: inset 0px 2px 0px #d9d9d9;

	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	-ms-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}

#slick-login input[type="text"]:focus,#slick-login input[type="password"]:focus,#slick-login input[type="email"]:focus {
	-webkit-box-shadow: inset 0px 2px 0px #a7a7a7;
	box-shadow: inset 0px 2px 0px #a7a7a7;
}

#slick-login input:first-child {
	margin-top: 0px;
}

#slick-login input[type="submit"] {
	width: 100%;
	height: 50px;
	margin-top: 7px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-shadow: 0px -1px 0px #5b6ddc;
	outline: none;
	border: 1px solid rgba(0, 0, 0, .49);

	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	border-radius: 6px;

	background-color: #5466da;
	background-image: -webkit-linear-gradient(bottom, #5466da 0%, #768ee4 100%);
	background-image: -moz-linear-gradient(bottom, #5466da 0%, #768ee4 100%);
	background-image: -o-linear-gradient(bottom, #5466da 0%, #768ee4 100%);
	background-image: -ms-linear-gradient(bottom, #5466da 0%, #768ee4 100%);
	background-image: linear-gradient(bottom, #5466da 0%, #768ee4 100%);
	
	-webkit-box-shadow: inset 0px 1px 0px #9ab1ec;
	box-shadow: inset 0px 1px 0px #9ab1ec;
	
	cursor: pointer;

	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	-ms-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}

#slick-login input[type="submit"]:hover {
	background-color: #5f73e9;
	background-image: -webkit-linear-gradient(bottom, #5f73e9 0%, #859bef 100%);
	background-image: -moz-linear-gradient(bottom, #5f73e9 0%, #859bef 100%);
	background-image: -o-linear-gradient(bottom, #5f73e9 0%, #859bef 100%);
	background-image: -ms-linear-gradient(bottom, #5f73e9 0%, #859bef 100%);
	background-image: linear-gradient(bottom, #5f73e9 0%, #859bef 100%);

	-webkit-box-shadow: inset 0px 1px 0px #aab9f4;
	box-shadow: inset 0px 1px 0px #aab9f4;
	margin-top: 10px;
}

#slick-login input[type="submit"]:active {
	background-color: #7588e1;
	background-image: -webkit-linear-gradient(bottom, #7588e1 0%, #7184df 100%);
	background-image: -moz-linear-gradient(bottom, #7588e1 0%, #7184df 100%);
	background-image: -o-linear-gradient(bottom, #7588e1 0%, #7184df 100%);
	background-image: -ms-linear-gradient(bottom, #7588e1 0%, #7184df 100%);
	background-image: linear-gradient(bottom, #7588e1 0%, #7184df 100%);

	-webkit-box-shadow: inset 0px 1px 0px #93a9e9;
	box-shadow: inset 0px 1px 0px #93a9e9;
}

/* Noeee aa?a vladmaxi, ii?ii oaaeeou */
.vladmaxi-top{
	line-height: 24px;
	font-size: 11px;
	background: #eee;
	text-transform: uppercase;
	z-index: 9999;
	position: fixed;
	top:0;
	left:0;
	width:100%;
	font-family: calibri;
	font-size: 13px;
	box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
	-webkit-animation: slideOut 0.5s ease-in-out 0.3s backwards;
}
@-webkit-keyframes slideOut{
	0%{top:-30px; opacity: 0;}
	100%{top:0px; opacity: 1;}
}

.vladmaxi-top a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #333;
	text-shadow: 0px 1px 1px #fff;
	display: block;
	float: left;
}
.vladmaxi-top a:hover{
	background: #fff;
}
.vladmaxi-top span.right{
	float: right;
}
.vladmaxi-top span.right a{
	float: left;
	display: block;
}

.error {
    color: white;
    text-align: center;
    font-family: lato;
    background: yellowgreen;
    display: inline-block;
    padding: 2px 10px;
}
.error {
    text-align: center;
    background: orangered;
}


.respasw {
  display: block;
  float: right;
  text-align: center;
  position: absolute;  
  top: 12em;
  left:3.5em;
}

.respasw a {
  font-size: 16px;
 color:#b5bdd4;
 font-weight: bold;  
}
.post-reset {
  display: block;
  float: right;
  text-align: center;
  position: absolute;  
  top: 7em;
  left:24em;
  font-size: 26px;
 color:#b5bdd4;
 font-weight: bold; 
}
.new-reset {
  display: block;
  float: right;
  text-align: center;
  position: absolute;  
  top: -2em;
  left:0em;
  font-size: 18px;
 color:#b5bdd4;
 font-weight: bold; 
}
p.success-resw,p.error-resw {
    display: block;
    float: right;
    position: absolute; 
    color: white;
    text-align: center;
    font-family: lato;
    font-size: 18px;
    background: yellowgreen;
     top: 8em;
     left:45em;
}
p.error-resw {
    text-align: center;
    background: orangered;
}

 .btnform {
    padding: 0.6em 0.6em; /* Поля по вертикали и горизонтали */
    background-color: transparent; /* Прозрачный цвет фона */
    font-size: 0.7em; /* Размер текста */
    text-transform: uppercase; /* Все буквы заглавные */
    color: #2196f3; /* Цвет текста */
    border: 2px solid #2196f3; /* Параметры рамки */
    border-radius: 0.8em; /* Радиус скругления */
    margin-top: 1rem; /* Отступ сверху */
    margin-bottom: 1rem; /* Отступ снизу */
    margin-right: 0rem; /* Отступ справа */
   }
    .btndel {
    padding: 0.5em 0.5em; /* Поля по вертикали и горизонтали */
    background-color: transparent; /* Прозрачный цвет фона */
    font-size: 0.7em; /* Размер текста */
    text-transform: uppercase; /* Все буквы заглавные */
    color: #2196f3; /* Цвет текста */
    border: 2px solid #F8020D; /* Параметры рамки */
    border-radius: 0.8em; /* Радиус скругления */
    margin-top: 1rem; /* Отступ сверху */
    margin-bottom: 1rem; /* Отступ снизу */
    margin-right: 0rem; /* Отступ справа */
   }
   .lk-form {
    padding: 0.5em 0.5em; /* Поля по вертикали и горизонтали */
    background-color: transparent; /* Прозрачный цвет фона */
    font-size: 1.0em; /* Размер текста */
    margin-bottom: 0.5rem; /* Отступ снизу */
    margin-right: 0.5rem; /* Отступ справа */
   }
   
 .fig {
    text-align: center; /* Выравнивание по центру */ 
   }
   
table {border: none;}

/* ===== ОСНОВНЫЕ СТИЛИ ХЕДЕРА ===== */
.header-main {
    background: linear-gradient(135deg, #2d3654 0%, #3a4568 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-radius: 25px;
    border-bottom: 1px solid #4a5678;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

/* ===== ЛОГОТИП ===== */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-letter {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-letter {
    transform: scale(1.1);
}

.logo-separator {
    color: #b8c2e0;
    margin: 0 2px;
}

/* ===== МЕНЮ ДЛЯ НЕАВТОРИЗОВАННЫХ ===== */
.auth-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.auth-link {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.auth-link.login {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-color: rgba(255,255,255,0.2);
}

.auth-link.login:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.auth-link.register {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.auth-link.register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

/* ===== МЕНЮ ДЛЯ АВТОРИЗОВАННЫХ ===== */
.user-menu-wrapper {
    position: relative;
}

/* Кнопка гамбургер */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 10px 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.menu-toggle.active {
    background: rgba(0, 198, 255, 0.2);
    border-color: #00c6ff;
}

.hamburger-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 20px;
}

.hamburger-line {
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-text {
    font-size: 0.9rem;
}

/* Выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: linear-gradient(145deg, #3a4568, #2d3654);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 1px solid #4a5678;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #3a4568;
    transform: rotate(45deg);
    border-left: 1px solid #4a5678;
    border-top: 1px solid #4a5678;
}

/* Заголовок меню */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 15px 15px 0 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.user-status {
    color: #00ff88;
    font-size: 0.8rem;
    font-weight: 500;
}

.close-menu {
    background: none;
    border: none;
    color: #b8c2e0;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: rgba(255,255,255,0.1);
    color: #00c6ff;
}

/* Список меню */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.menu-link:hover {
    background: rgba(255,255,255,0.08);
    color: #00c6ff;
    transform: translateX(5px);
}

.menu-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-text {
    flex: 1;
    font-weight: 500;
}

/* Особые ссылки */
.admin-link {
    color: #ffaa00;
}

.admin-link:hover {
    color: #ffcc00;
}

.logout-link {
    color: #ff6b6b;
}

.logout-link:hover {
    color: #ff5252;
}

.menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 5px 0;
}

/* Футер меню */
.menu-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.menu-version {
    color: #b8c2e0;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Оверлей */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .auth-menu {
        gap: 10px;
    }
    
    .auth-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        transform: translateX(100%);
    }
    
    .dropdown-menu.active {
        transform: translateX(0);
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .menu-toggle {
        padding: 8px 16px;
    }
    
    .menu-text {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .auth-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .dropdown-menu {
        width: 100%;
    }
}

/* Анимации */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-item {
    animation: slideInRight 0.3s ease-out;
}

.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7) { animation-delay: 0.35s; }



