*{
	margin: 0%;
	padding: 0%;
	box-sizing:border-box;
}

body{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: azure;
	font-weight: normal; /* 添加这行，恢复正常字体粗细 */
	       
	            padding: 20px;
	            min-height: 100vh;
	            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	        
}

header,footer{
	flex: 1;
	display: flex;
	padding: 1rem;
}

content{
	flex: 1;
	padding: 1rem;
}

@media(max-width=768px){
	.main-content{
		flex-direction:column;
	}
}
.sidebar{
		width: 100%;/*侧边栏宽度变成100%*/
		margin-bottom: 1rem;
	}
}
/*下列为搜索框与文本同行*/
/*容器使用flex布局，确保子元素在同一行*/
.search-container{
	display:flex;
	align-items:center;/*垂直居中对齐*/
	gap:0.625rem;/*为子元素添加间隔*/
	}
	
	/*搜索框基本样式*/
	.search-input{
		padding:8px 12px;
		border: 1px solid ;
		border-radius: 4px;
		flex-grow:1;/*搜索框填充剩余空间*/
	}
	
	/*文本标签样式*/
	.search-label{
		white-space:nowrap;/*防止文本换行*/
	}
.imgfh{
	height:60px;
	width:60px;
	margin-top: 5%;
	margin-left:2%;
}
.imgfh:hover{
	    transform: scale(1.1);
}

.sjhdl{
	margin-top: 30%;
	margin-left: 25px;
	font-family:楷体;
	font-size: 25px;
	font-weight: normal; /* 确保正常粗细 */
}

/*注册提示*/
.ts{
	margin-top: 10px;
	font-family:楷体;
	margin-left: 20px;
	font-weight: normal; /* 确保正常粗细 */
}

/* 搜索框下划线样式 */
.search-input {
  border: none;
  border-bottom: 1px solid #ccc; 
  padding: 6px 0;
  width: 70%;
  background: transparent;
  margin-top: 20px;
  margin-left: 20px;
}

/*遇见问题*/
.yjwt{
	text-decoration: none;
	color: black;
	float: right;
	margin-top: 10%;
	font-size: 15px;
	font-family:楷体;
	font-weight: normal; /* 确保正常粗细 */
}

.获取验证码{
	margin: 0 auto; /*居中显示*/
	margin-top:5%;
	height: 40px;
	width:100%;
	font-family:楷体;
	font-size: 20px;
	background-color:#00B39B;
	color: white;
	margin: 0 auto; /*居中显示*/
	margin-top: 30px;
	border: none; /*取消边框*/
	font-weight: normal; /* 确保正常粗细 */
	
}
.获取验证码:hover{
	    transform: scale(1.1);
}

.juzhong{
		margin: 0 auto; /*居中显示*/
		margin-top:5%;
		height: 40px;
		width: 80%;
}

/*手机错误*/
.error{
	color: red;
	display: none;/*初始不显示*/
	margin-top: 5px;
}

/*清除浮动的影响*/
.clearfix:::after{
	content:"";
	display:table;
	clear:#666;
}

.mmdl{
	text-decoration: none;
	color: black;
	float:left;
	padding-top: 20px;
	padding-left: 15px;
	font-family: 楷体;
	font-weight: normal; /* 确保正常粗细 */
}

.手机号不可用？{
	text-decoration: none;
	color: black;
	float:right;
	padding-top:20px;
	padding-right: 10px;
	font-family: 楷体;
	font-size: 30;
	font-weight: normal; /* 确保正常粗细 */
}

/* 添加其他登录方式和微信图标的固定样式 */
.other-login {
    text-align: center;
    margin-top: 100px;
    padding: 0 20px;
}

.other-login-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
	margin-top: 50px;
    font-weight: normal;
	margin: 0 auto;
}

.wechat-login {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.wechat-login:hover{
	    transform: scale(1.1);
}

.wechat-icon {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

/* 添加到denglu.css文件末尾 */

/* 问题弹窗样式 */
.login-modal {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.login-modal[style*="display: block"] {
    transform: translateY(0);
}

.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay[style*="display: block"] {
    opacity: 1;
}

/* 确保弹窗选项有良好的触摸反馈 */
.login-option:active {
    background-color: #f5f5f5;
}

/* 响应式调整 */
@media (max-height: 600px) {
    .login-modal {
        padding: 15px;
    }
    
    .login-option {
        padding: 15px 10px;
    }
}