body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/*a {
    text-decoration: none;
    color: inherit;
}*/

/* 通用样式 */
* {
    box-sizing: border-box;
}

/* 个人中心页面样式 */
.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    overflow: hidden;
    transition: transform 0.3s;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar:hover {
    transform: scale(1.1);
}

.user-name {
    margin-left: 15px;
    font-size: 18px;
    color: #333;
    transition: color 0.3s;
}

.user-name:hover {
    color: #4CAF50;
}

.modules {
    text-align: center;
}

.module {
    display: inline-block;
    width: 45%;
    margin: 5%;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
}

.module:hover {
    transform: translateY(-5px);
}

/* 登录页面样式 */


/* 注册页面样式 */
.register-form {
    width: 80%;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="date"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus,
.register-form input[type="date"]:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px #4CAF50;
}

.register-form select {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.register-form select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px #4CAF50;
}

.register-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-form input[type="submit"]:hover {
    background-color: #45a049;
}

/* 个人资料页面样式 */
.personal-info-form {
    width: 80%;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.personal-info-form input[type="text"],
.personal-info-form input[type="date"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.personal-info-form input[type="text"]:focus,
.personal-info-form input[type="date"]:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px #4CAF50;
}

.personal-info-form select {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.personal-info-form select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px #4CAF50;
}

.personal-info-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.personal-info-form input[type="submit"]:hover {
    background-color: #45a049;
}

.delete-link {
    color: red;
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s, text-decoration 0.3s;
}

.delete-link:hover {
    color: #ff5555;
    text-decoration: underline;
}

.logout-link {
    color: blue;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s, text-decoration 0.3s;
}

.logout-link:hover {
    color: #5555ff;
    text-decoration: underline;
}

/* 设置页面样式 */
.settings-container {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.switch-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 15px;
    transition: background-color 0.3s ease-in-out;
}

.switch::after {
    content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: white;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease-in-out;
}

.switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input[type="checkbox"]:checked +.switch::after {
    transform: translateX(24px);
}

.switch input[type="checkbox"]:checked +.switch {
    background-color: #4CAF50;
}

/* 设置页面开关动画 */
.switch input[type="checkbox"]:checked +.switch::after {
    animation: slideRight 0.3s ease-in-out;
}

.switch input[type="checkbox"]:not(:checked) +.switch::after {
    animation: slideLeft 0.3s ease-in-out;
}

@keyframes slideRight {
    0% {
        transform: translateX(1px);
    }
    100% {
        transform: translateX(24px);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(24px);
    }
    100% {
        transform: translateX(1px);
    }
}

.terms-modal,
.privacy-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.terms-modal h2,
.privacy-modal h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
    transition: color 0.3s;
}

.terms-modal h2:hover,
.privacy-modal h2:hover {
    color: #4CAF50;
}

.terms-modal p,
.privacy-modal p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    transition: color 0.3s;
}

.terms-modal p:hover,
.privacy-modal p:hover {
    color: #45a049;
}

.terms-modal button,
.privacy-modal button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.terms-modal button:hover,
.privacy-modal button:hover {
    background-color: #45a049;
}

/* 修改后的 #modifyModalContent */
#modifyModalContent {
    background-color: white;
    width: 80%;
    margin: 10px auto;
    padding: 20px;
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

#modifyModalContent:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-nav img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.bottom-nav img:hover {
    transform: scale(1.1);
}

/* 各种伪类样式 */
/*a:hover:before {*/
    /*content: "⇨ ";*/
    /*margin-right: 5px;*/
/*}*/

input[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

select option:disabled {
    color: #999;
}

/* 媒体查询 */
@media screen and (max-width: 768px) {
   .user-info {
        flex-direction: column;
        align-items: flex-start;
    }

   .avatar {
        margin-bottom: 10px;
    }

   .module {
        width: 90%;
    }

   .login-form,
   .register-form,
   .personal-info-form {
        width: 90%;
    }
}

/* 更多样式填充 */
/* 标题样式 */
h1 {
    font-size: 24px;
    color: #333;
    margin: 20px 0;
}

h2 {
    font-size: 20px;
    color: #444;
    margin: 15px 0;
}

h3 {
    font-size: 18px;
    color: #555;
    margin: 10px 0;
}

/* 段落样式 */
p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 列表样式 */
ul,
ol {
    font-size: 14px;
    color: #666;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul li,
ol li {
    margin-bottom: 5px;
}

/* 链接悬停样式 */
/*a:hover {*/
    /*text-decoration: underline;*/
    /*color: #4CAF50;*/
/*}*/

/* 按钮按下样式 */
input[type="submit"]:active,
.button:active {
    transform: translateY(1px);
}

/* 表单标签样式 */
label {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 5px;
}

/* 表单错误样式 */
input.error,
select.error {
    border-color: #ff5555;
    box-shadow: 0 0 5px #ff5555;
}

/* 提示信息样式 */
.help-text {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
    color: #666;
}

table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* 阴影效果 */
.shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 圆角效果 */
.rounded {
    border-radius: 5px;
}

/* 鼠标指针样式 */
.pointer {
    cursor: pointer;
}

/* 背景渐变 */
.gradient-bg {
    background: linear-gradient(to bottom, #fff, #f5f5f5);
}

/* 动画延迟 */
.delay-1s {
    animation-delay: 1s;
}

.delay-2s {
    animation-delay: 2s;
}

/* 更多动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animation {
    animation: fadeIn 2s ease-in-out;
}

/* 颜色主题 */
.color-theme-blue {
    background-color: #3498db;
    color: white;
}

.color-theme-green {
    background-color: #2ecc71;
    color: white;
}

.color-theme-purple {
    background-color: #9b59b6;
    color: white;
}

/* 按钮变体 */
.button-primary {
    background-color: #4CAF50;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #45a049;
}

.button-secondary {
    background-color: #f39c12;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-secondary:hover {
    background-color: #e67e22;
}

.button-danger {
    background-color: #e74c3c;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-danger:hover {
    background-color: #c0392b;
}

/* 输入框变体 */
.input-bordered {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.input-bordered:focus {
    border-color: #4CAF50;
}

.input-rounded {
    border-radius: 20px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

.input-rounded:focus {
    border-color: #2ecc71;
}

/* 文本装饰 */
.text-underline {
    text-decoration: underline;
}

.text-strikethrough {
    text-decoration: line-through;
}

.text-italic {
    font-style: italic;
}

.text-bold {
    font-weight: bold;
}

/* 边距和填充 */
.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

/* 定位 */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

/* 浮动 */
.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 透明度 */
.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

/* 尺寸 */
.width-50 {
    width: 50%;
}

.width-75 {
    width: 75%;
}

.height-50 {
    height: 50px;
}

.height-100 {
    height: 100px;
}

/* 边框 */
.border-solid {
    border-style: solid;
}

.border-dashed {
    border-style: dashed;
}

.border-dotted {
    border-style: dotted;
}

.border-thick {
    border-width: 3px;
}

.border-thin {
    border-width: 1px;
}

/* 背景图像 */
.background-image(url('image.jpg')) {
    background-size: cover;
    background-position: center;
}

/* 过渡效果 */
.transition-fast {
    transition: all 0.2s;
}

.transition-slow {
    transition: all 0.5s;
}

/* 响应式布局 */
@media screen and (max-width: 600px) {
   .mobile-hidden {
        display: none;
    }
}

@media screen and (min-width: 601px) {
   .desktop-hidden {
        display: none;
    }
}

/* 文本对齐 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* 列表样式 */
.list-disc {
    list-style-type: disc;
}

.list-circle {
    list-style-type: circle;
}

.list-square {
    list-style-type: square;
}

.list-none {
    list-style-type: none;
}

/* 鼠标悬停效果 */
.hover-scale-up {
    transition: transform 0.3s;
}

.hover-scale-up:hover {
    transform: scale(1.1);
}

.hover-color-change {
    transition: color 0.3s;
}

.hover-color-change:hover {
    color: #4CAF50;
}

/* 阴影效果 */
.shadow-small {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.shadow-medium {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.shadow-large {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* 字体变体 */
.font-size-12 {
    font-size: 12px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-20 {
    font-size: 20px;
}

.font-family-sans-serif {
    font-family: Arial, sans-serif;
}

.font-family-serif {
    font-family: Georgia, serif;
}

.font-family-monospace {
    font-family: monospace;
}

/* 行高 */
.line-height-15 {
    line-height: 1.5;
}

.line-height-18 {
    line-height: 1.8;
}

.line-height-20 {
    line-height: 2;
}

/* 文本截断 */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 溢出处理 */
.overflow-hidden {
    overflow: hidden;
}

.overflow-scroll {
    overflow: scroll;
}

.overflow-auto {
    overflow: auto;
}

/* 渐变背景 */
.gradient-horizontal {
    background: linear-gradient(to right, #4CAF50, #2ecc71);
}

.gradient-vertical {
    background: linear-gradient(to bottom, #4CAF50, #2ecc71);
}

/* 动画关键帧 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animation-spin {
    animation: spin 2s linear infinite;
}

/* 弹性布局 */
.flex-container {
    display: flex;
}

.flex-direction-row {
    flex-direction: row;
}

.flex-direction-column {
    flex-direction: column;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-space-between {
    justify-content: space-between;
}

.justify-content-space-around {
    justify-content: space-around;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.align-items-center {
    align-items: center;
}

.align-items-baseline {
    align-items: baseline;
}

/* 网格布局 */
.grid-container {
    display: grid;
}

.grid-template-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-template-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-template-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-gap-10 {
    grid-gap: 10px;
}

.grid-gap-20 {
    grid-gap: 20px;
}

/* 变换 */
.transform-scale-up {
    transform: scale(1.2);
}

.transform-scale-down {
    transform: scale(0.8);
}

.transform-rotate-90 {
    transform: rotate(90deg);
}

.transform-rotate-180 {
    transform: rotate(180deg);
}

.transform-rotate-270 {
    transform: rotate(270deg);
}

/* 过渡效果组合 */
.transition-combo {
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

/* 悬停效果组合 */
.hover-combo:hover {
    background-color: #4CAF50;
    color: white;
    transform: scale(1.1);
}

/* 伪类选择器扩展 */
a::after {
    content: " »";
    margin-left: 5px;
}

input[type="text"]:placeholder-shown +.help-text {
    display: block;
}

/* 媒体查询扩展 */
@media screen and (min-width: 900px) {
   .large-screen-only {
        display: block;
    }
}

@media screen and (max-width: 400px) {
   .small-screen-only {
        display: block;
    }
}

/* 响应式图像 */
img.responsive {
    max-width: 100%;
    height: auto;
}

/* 响应式文本 */
@media screen and (max-width: 768px) {
   .responsive-font-size {
        font-size: 14px;
    }
}

/* 更多装饰效果 */
.decoration-underline-dashed {
    text-decoration: underline dashed;
}

.decoration-overline {
    text-decoration: overline;
}

.decoration-linethrough-dotted {
    text-decoration: line-through dotted;
}

/* 边框圆角变体 */
.border-radius-small {
    border-radius: 3px;
}

.border-radius-medium {
    border-radius: 8px;
}

.border-radius-large {
    border-radius: 15px;
}

/* 文本阴影 */
.text-shadow-small {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.text-shadow-medium {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-large {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

/* 背景重复 */
.background-repeat-no-repeat {
    background-repeat: no-repeat;
}

.background-repeat-repeat-x {
    background-repeat: repeat-x;
}

.background-repeat-repeat-y {
    background-repeat: repeat-y;
}

/* 定位变体 */
.position-fixed-top-left {
    position: fixed;
    top: 0;
    left: 0;
}

.position-fixed-bottom-right {
    position: fixed;
    bottom: 0;
    right: 0;
}

/* 浮动变体 */
.float-left-small {
    float: left;
    margin-right: 5px;
}

.float-right-small {
    float: right;
    margin-left: 5px;
}

/* 透明度变体 */
.opacity-25 {
    opacity: 0.25;
}

.opacity-80 {
    opacity: 0.8;
}

/* 尺寸变体 */
.width-25 {
    width: 25%;
}

.width-80 {
    width: 80%;
}

.height-25 {
    height: 25px;
}

.height-75 {
    height: 75px;
}

/* 边框变体 */
.border-color-red {
    border-color: #e74c3c;
}

.border-color-blue {
    border-color: #3498db;
}

.border-color-green {
    border-color: #2ecc71;
}

/* 背景图像变体 */
.background-image-landscape(url('landscape.jpg')) {
    background-size: cover;
    background-position: center;
}

.background-image-portrait(url('portrait.jpg')) {
    background-size: cover;
    background-position: center;
}

/* 过渡效果变体 */
.transition-super-fast {
    transition: all 0.1s;
}

.transition-super-slow {
    transition: all 1s;
}

/* 响应式布局变体 */
@media screen and (max-width: 500px) {
   .extra-small-screen-only {
        display: block;
    }
}

@media screen and (min-width: 1200px) {
   .extra-large-screen-only {
        display: block;
    }
}

/* 文本对齐变体 */
.text-justify {
    text-align: justify;
}

/* 列表样式变体 */
.list-arrow {
    list-style-type: none;
}

.list-arrow li::before {
    content: "→ ";
}

/* 鼠标悬停效果变体 */
.hover-scale-down {
    transition: transform 0.3s;
}

.hover-scale-down:hover {
    transform: scale(0.9);
}

.hover-opacity-change {
    transition: opacity 0.3s;
}

.hover-opacity-change:hover {
    opacity: 0.8;
}

/* 阴影效果变体 */
.shadow-extra-small {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-extra-large {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

/* 字体变体 */
.font-size-10 {
    font-size: 10px;
}

.font-size-22 {
    font-size: 22px;
}

.font-family-cursive {
    font-family: cursive;
}

/* 行高变体 */
.line-height-12 {
    line-height: 1.2;
}

.line-height-22 {
    line-height: 2.2;
}

/* 文本截断变体 */
.text-truncate-long {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* 溢出处理变体 */
.overflow-visible {
    overflow: visible;
}

/* 渐变背景变体 */
.gradient-diagonal {
    background: linear-gradient(to bottom right, #4CAF50, #2ecc71);
}

/* 动画关键帧变体 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.animation-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 弹性布局变体 */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.align-content-start {
    align-content: flex-start;
}

.align-content-end {
    align-content: flex-end;
}

.align-content-center {
    align-content: center;
}

.align-content-space-between {
    align-content: space-between;
}

.align-content-space-around {
    align-content: space-around;
}

/* 网格布局变体 */
.grid-template-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-template-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-gap-5 {
    grid-gap: 5
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 个人中心页面样式 */
.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    margin-left: 15px;
    font-size: 18px;
    color: #333;
}

.modules {
    text-align: center;
}

.module {
    display: inline-block;
    width: 45%;
    margin: 5%;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
}

.module:hover {
    transform: translateY(-5px);
}

/* 登录页面样式 */
.login-form {
    width: 80%;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
}

.login-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form input[type="submit"]:hover {
    background-color: #45a049;
}

/* 注册页面样式 */
.register-form {
    width: 80%;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="date"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus,
.register-form input[type="date"]:focus {
    border-color: #4CAF50;
    outline: none;
}

.register-form select {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.register-form select:focus {
    border-color: #4CAF50;
    outline: none;
}

.register-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-form input[type="submit"]:hover {
    background-color: #45a049;
}

/* 个人资料页面样式 */
.personal-info-form {
    width: 80%;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.personal-info-form input[type="text"],
.personal-info-form input[type="date"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.personal-info-form input[type="text"]:focus,
.personal-info-form input[type="date"]:focus {
    border-color: #4CAF50;
    outline: none;
}

.personal-info-form select {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.personal-info-form select:focus {
    border-color: #4CAF50;
    outline: none;
}

.personal-info-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.personal-info-form input[type="submit"]:hover {
    background-color: #45a049;
}

.delete-link {
    color: red;
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s;
}

.delete-link:hover {
    color: #ff5555;
}

.logout-link {
    color: blue;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s;
}

.logout-link:hover {
    color: #5555ff;
}

/* 设置页面样式 */
.settings-container {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.switch-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 15px;
    transition: background-color 0.3s ease-in-out;
}

.switch::after {
    content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: white;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease-in-out;
}

.switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input[type="checkbox"]:checked +.switch::after {
    transform: translateX(24px);
}

.switch input[type="checkbox"]:checked +.switch {
    background-color: #4CAF50;
}

/* 设置页面开关动画 */
@keyframes switchOn {
    0% {
        background-color: #ccc;
    }
    100% {
        background-color: #4CAF50;
    }
}

@keyframes switchOff {
    0% {
        background-color: #4CAF50;
    }
    100% {
        background-color: #ccc;
    }
}

@keyframes sliderMoveRight {
    0% {
        transform: translateX(1px);
    }
    100% {
        transform: translateX(24px);
    }
}

@keyframes sliderMoveLeft {
    0% {
        transform: translateX(24px);
    }
    100% {
        transform: translateX(1px);
    }
}

.switch input[type="checkbox"]:checked +.switch {
    animation: switchOn 0.3s ease-in-out;
}

.switch input[type="checkbox"]:not(:checked) +.switch {
    animation: switchOff 0.3s ease-in-out;
}

.switch input[type="checkbox"]:checked +.switch::after {
    animation: sliderMoveRight 0.3s ease-in-out;
}

.switch input[type="checkbox"]:not(:checked) +.switch::after {
    animation: sliderMoveLeft 0.3s ease-in-out;
}

.terms-modal,
.privacy-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.terms-modal h2,
.privacy-modal h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.terms-modal p,
.privacy-modal p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.terms-modal button,
.privacy-modal button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.terms-modal button:hover,
.privacy-modal button:hover {
    background-color: #45a049;
}

/* 修改后的 #modifyModalContent */
#modifyModalContent {
    background-color: white;
    width: 80%;
    margin: 10px auto;
    padding: 20px;
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

#modifyModalContent:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-nav img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.bottom-nav img:hover {
    transform: scale(1.1);
}


