html {
	height:100%
}

/* 蓝色现代风格登录页面 */
body.signin {
	height:auto;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	overflow: hidden;
	position: relative;
}

/* 背景动画效果 */
.bg-animation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0;
}

.bg-animation li {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.2);
	animation: animate 25s linear infinite;
	bottom: -150px;
	border-radius: 50%;
}

.bg-animation li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.bg-animation li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.bg-animation li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.bg-animation li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.bg-animation li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.bg-animation li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.bg-animation li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.bg-animation li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.bg-animation li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.bg-animation li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animate {
	0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; }
	100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; }
}

.signinpanel {
	width:420px;
	margin:10% auto 0;
	color:rgba(255,255,255,.95);
	position: relative;
	z-index: 1;
}

.signinpanel .logopanel {
	float:none;
	width:auto;
	padding:0;
	background:0 0
}

.signinpanel .signin-info ul {
	list-style:none;
	padding:0;
	margin:20px 0
}

/* 登录卡片样式 */
.login-box {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 登录头部 */
.login-header {
	text-align: center;
	margin-bottom: 35px;
}

.login-header h2 {
	color: #667eea;
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 10px;
	margin-top: 0;
}

.login-header p {
	color: #999;
	font-size: 14px;
	margin: 0;
}

/* 表单样式 */
.signinpanel .form-group {
	margin-bottom: 25px;
	position: relative;
}

.signinpanel .form-group i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #667eea;
	font-size: 18px;
	z-index: 10;
}

.signinpanel .form-control {
	display:block;
	height: 50px;
	padding: 12px 15px 12px 45px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #f8f9fa;
	margin-top: 0;
}

.signinpanel .form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
	background: #fff;
	outline: none;
}

.signinpanel .form-control::placeholder {
	color: #aaa;
}

.signinpanel .uname {
	background:#f8f9fa;
	color:#333
}

.signinpanel .pword {
	background:#f8f9fa;
	color:#333
}

.signinpanel .code {
    background: #f8f9fa;
    color:#333;
    margin:0;
}

/* 验证码行 */
.captcha-row {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.captcha-row .form-group {
	flex: 1;
	margin-bottom: 0;
}

.captcha-img {
	height: 50px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid #e0e0e0;
}

.captcha-img:hover {
	border-color: #667eea;
	transform: scale(1.05);
}

.signinpanel .btn {
	margin-top:0;
	width: 100%;
	height: 50px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 10px;
	color: white;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.signinpanel .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
	color: white;
}

.signinpanel .btn:active {
	transform: translateY(0);
}

.signup-footer {
	border-top:solid 1px rgba(255,255,255,.3);
	margin:20px 0;
	padding-top:15px
}

@media screen and (max-width:768px) {
	.signinpanel {
		margin:0 auto;
		width:380px!important;
		padding:20px
	}
	
	.login-box {
		padding: 30px 20px;
	}
	
	.login-header h2 {
		font-size: 24px;
	}
	
	.signinpanel form {
		margin-top:20px
	}
	
	.signup-footer {
		margin-bottom:10px
	}
	
	.signup-footer .pull-left {
		float:none!important;
		text-align:center
	}
	
	.signinpanel .signin-info ul {
		display:none
	}
}

@media screen and (max-width:320px) {
	.signinpanel {
		margin:0 20px;
		width:auto
	}
}

/* 登录界面check样式 */
.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    display: inline-block;
}

.checkbox-custom input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 3px;
}

.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #bbb;
    background: #fff;
}

.checkbox-custom input[type="checkbox"]:checked +label:after {
    position: absolute;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    top: 42%;
    left: 3px;
    margin-top: -5px;
    font-size: 11px;
    line-height: 1;
    width: 16px;
    height: 16px;
    color: #333;
}

.checkbox-custom label {
    cursor: pointer;
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: 0;
    text-align: left;
    color: #666;
    font-size: 14px;
}

.remember-me {
    margin-bottom: 25px;
}

.form-control, .form-control:focus, .has-error .form-control:focus,  .has-success .form-control:focus, .has-warning .form-control:focus,  .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus,  .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle,  .panel, .popover, .progress, .progress-bar {
    box-shadow: none;
}

body .layer-ext-moon-msg[type="dialog"]{
    min-width: 100px !important;
}

body .layer-ext-moon-msg { 
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
}

body .layer-ext-moon-msg .layui-layer-content{ 
    padding: 12px 25px;
    text-align: center;
}

/* Copyright 信息样式 */
.login-copyright {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.6;
    z-index: 1;
}

.login-copyright p {
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.login-copyright a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.login-copyright a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

@media screen and (max-width:768px) {
    .login-copyright {
        bottom: 20px;
        padding: 15px 0;
        font-size: 11px;
    }
    
    .login-copyright p {
        white-space: normal;
        word-break: break-all;
        padding: 0 10px;
    }
}