:root {
	--modPwd_primary-color: #1a73e8;
	--modPwd_background-color: #e6f3ff;
	--modPwd_shadow-color: rgba(0, 0, 0, 0.1);
	--modPwd_error-color: #ff3860;
	--modPwd_success-color: #23d160;
	--modPwd_header-color: #0d4ea6;
}

#page_modPwd{
	margin: 0;
	padding: 0 0 66px 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: linear-gradient(135deg, var(--modPwd_background-color) 0%, #cce3ff 100%);
	color: #333;
	width: 100%;
}

.modPwd_container {
	width: 100%;
	margin: 0 auto;
	padding: 0 15px;
}

@media (min-width: 769px) {
	.modPwd_content {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.modPwd_form {
		width: 100%;
		margin: 0 auto;
	}
}

.modPwd_form {
	background-color: white;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 5px 15px var(--modPwd_shadow-color);
	margin-top: 20px;
	transform: translateY(0);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(26, 115, 232, 0.1);
	position: relative;
	overflow: hidden;
}

.modPwd_form:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	background: linear-gradient(to bottom, var(--modPwd_primary-color), #6aabff);
}

.modPwd_form:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px var(--modPwd_shadow-color);
}

.modPwd_input-group {
	margin-bottom: 20px;
	position: relative;
}

.modPwd_input-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #666;
	font-weight: 500;
	position: relative;
	padding-left: 5px;
}

.modPwd_input-group label:before {
	content: '';
	position: absolute;
	left: -2px;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 14px;
	background-color: var(--modPwd_primary-color);
	opacity: 0.7;
	border-radius: 3px;
}

.modPwd_input-field {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
	background-color: #f9fbff;
}

.modPwd_input-field:focus {
	border-color: var(--modPwd_primary-color);
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
	outline: none;
	background-color: #fff;
}

.modPwd_password-toggle {
	position: absolute;
	right: 15px;
	top: 41px;
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
}

.modPwd_submit-btn {
	width: 100%;
	padding: 15px;
	background: linear-gradient(135deg, var(--modPwd_primary-color) 0%, #0d62d0 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(26, 115, 232, 0.2);
	position: relative;
	overflow: hidden;
}

.modPwd_submit-btn:hover {
	box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
	transform: translateY(-2px);
}

.modPwd_submit-btn:active {
	transform: scale(0.98);
	box-shadow: 0 2px 5px rgba(26, 115, 232, 0.2);
}

.modPwd_submit-btn:before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: all 0.5s ease;
}

.modPwd_submit-btn:hover:before {
	left: 100%;
}

.modPwd_message {
	margin-top: 15px;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	display: none;
}

.modPwd_error {
	background-color: rgba(255, 56, 96, 0.1);
	color: var(--modPwd_error-color);
	border: 1px solid var(--modPwd_error-color);
}

.modPwd_success {
	background-color: rgba(35, 209, 96, 0.1);
	color: var(--modPwd_success-color);
	border: 1px solid var(--modPwd_success-color);
}

/* 密码强度指示器 */
.modPwd_strength-meter {
	height: 4px;
	width: 100%;
	background-color: #eee;
	margin-top: 10px;
	border-radius: 2px;
	overflow: hidden;
	display: none;
}

.modPwd_strength-meter-bar {
	height: 100%;
	width: 0;
	transition: width 0.3s ease, background-color 0.3s ease;
}

/* 特效 - 所有屏幕尺寸 */
.modPwd_form {
	animation: modPwd_slideUp 0.5s ease;
}

.modPwd_input-group {
	animation: modPwd_fadeIn 0.5s ease;
	animation-fill-mode: both;
}

.modPwd_input-group:nth-child(1) {
	animation-delay: 0.1s;
}

.modPwd_input-group:nth-child(2) {
	animation-delay: 0.2s;
}

.modPwd_input-group:nth-child(3) {
	animation-delay: 0.3s;
}

.modPwd_submit-btn {
	animation: modPwd_fadeIn 0.5s ease;
	animation-delay: 0.4s;
	animation-fill-mode: both;
}

/* 手机端特殊特效 */
@media (max-width: 768px) {
	.modPwd_input-field:focus {
		transform: translateY(-2px);
	}
}

/* 动画 */
@keyframes modPwd_slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes modPwd_fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* 加载动画 */
.modPwd_loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: modPwd_spin 1s ease-in-out infinite;
	margin-right: 10px;
	display: none;
}

@keyframes modPwd_spin {
	to {
		transform: rotate(360deg);
	}
}