/* 为所有输入框定义样式 */
input[type="text"], input[type="password"] {
    width: 100%; /* 设置输入框宽度为100% */
    padding: 10px; /* 添加内边距 */
    margin: 8px 0; /* 添加外边距 */
    display: inline-block; /* 使元素以行内块方式显示 */
    border: 1px solid #ccc; /* 边框设置 */
    box-sizing: border-box; /* 盒模型设置 */
}

/* 为按钮定义样式 */
input[type="submit"] {
    background-color: #4CAF50; /* 按钮背景颜色 */
    color: white; /* 文字颜色 */
    padding: 14px 20px; /* 内边距 */
    margin: 8px 0; /* 外边距 */
    border: none; /* 无边框 */
    cursor: pointer; /* 鼠标悬停时显示指针 */
    width: 100%; /* 宽度 */
}

/* 当鼠标悬停在按钮上时添加的样式 */
input[type="submit"]:hover {
    opacity: 0.8; /* 透明度 */
}

/* 添加一些内边距到容器中 */
.form-container {
    padding: 20px; /* 内边距 */
    background-color: #f2f2f2; /* 背景颜色 */
}

/* 设置标签的样式 */
label {
    margin-bottom: 10px; /* 下外边距 */
    display: block; /* 显示为块级元素 */
    color: #333; /* 文字颜色 */
}


.regform
{
    border:1px solid #cbc4c4;
    padding:20px;
}