﻿<style>
    /* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
        /* 退出登录按钮的样式 */
      .logout-container {
            position: absolute;
            top: 80px; /* 调整 top 值来控制与导航栏的距离 */
            right: 20px;
        }
      .logout-container a {
            background-color: #007BFF;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 20px;
            text-decoration: none;
        }

/* 将页面布局设置为网格布局，分为行和列的分布 */
.page-wrapper {
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

/* 主要内容容器放在第一行，自动占据剩余空间 */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 50px; /* 添加底部外边距，确保内容不会被版权信息遮挡 */
}

/* 版权信息放在第二行，固定在底部 */
.footer-copyright {
    grid-row: 2;
    grid-column: 1;
    background-color: #f8f9fa;
    padding: 10px;
    border-top: 1px solid #ccc;
    position: fixed; /* 确保版权信息固定在页面底部 */
    bottom: 0; /* 固定在页面底部 */
    left: 0; /* 左对齐 */
    right: 0; /* 右对齐 */
    z-index: 10000; /* 确保版权信息在最上层 */
    width: 100%; /* 确保宽度占满整个页面 */
}

.footer-copyright p {
    margin: 0;
}

.footer-copyright a {
    margin-left: 10px;
}

/* 导航栏样式 */
.navbar {
    background-color: #333;
    overflow: hidden;
}

.navbar ul {
    list-style-type: None;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.navbar li {
    float: left;
}

.navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* 导航栏中图片的大小 */
.logo-img {
    width: 320px;
    height: 156px;
}

/* h1 标签的文本 */
h1 {
    word-break: keep-all;
    white-space: nowrap;
}

/* 当屏幕宽度小于600px时，设置h1 标签的字体大小 */
@media screen and (max-width: 600px) {
    h1 {
        font-size: 18px;
    }
}

/* body为flex布局，占据整页高度 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* 容器样式 */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 内容部分样式，通过flex-grow自动填充剩余空间 */
.main-content {
    flex-grow: 1;
}

/* 按钮选择PropertyParams的样式 */
.input-wrapper {
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
}

/* 容器样式 */
.input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    margin-bottom: 20px;
    min-height: 40px;
}

.input-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* 按钮样式 */
.input-container button {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 120px;
    height: 50px;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.input-container button:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.input-container button.icon:before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
}

.input-container button:active {
    background-color: #0056b3;
    transform: scale(0.98);
    transition: transform 0.1s ease, background-color 0.1s ease;
}

.input-container button.button-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* 选择框样式 */
.checkbox-container {
    margin-bottom: 20px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* 图片容器样式 */
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* 图片样式 */
.image-item {
    width: calc(25% - 10px);
    margin-bottom: 10px;
}

img {
    width: 100%;
    height: auto;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    pointer-events: auto;
}

.modal-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    pointer-events: auto;
    cursor: pointer;
}

.prev-next-buttons {
    pointer-events: auto;
}

.close-button {
    pointer-events: auto;
    cursor: pointer;
}

/* 模态框内容样式 */
.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
}

/* 模态框关闭按钮样式 */
.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* 按钮样式 */
.STYLE1 {
    color: #FFFFFF
}

/* 屏幕宽度小于600px时，设置图片的样式 */
@media (max-width: 600px) {
   .image-item {
        width: calc(50% - 10px);
    }
}

/* 屏幕宽度小于400px时，设置图片的样式 */
@media (max-width: 400px) {
   .image-item {
        width: 100%;
    }
}

/* 模态框按钮样式 */
.prev-next-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    border-radius: 50%;
}

/* 模态框按钮样式 */
.prev-button {
    left: 15px;
}

/* 模态框按钮样式 */
.next-button {
    right: 15px;
}

/* 模态框图片样式 */
.modal-image-container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 模态框图片样式 */
.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
}

/* 图片标签样式 */
.image-item.index-label {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}
.footer {
    position: fixed; /* 确保版权信息固定在页面底部 */
    bottom: 0; /* 固定在页面底部 */
    left: 0; /* 左对齐 */
    right: 0; /* 右对齐 */
    text-align: center;
    color: #888;
    font-size: 15px;
    z-index: 10000; /* 确保版权信息在最上层 */
    width: 100%; /* 确保宽度占满整个页面 */
}
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.loading-container img {
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    display: block; /* 确保图片以块级元素显示 */
    margin: 0 auto; /* 居中显示 */
}

.loading-container.error img {
    width: 100px;
    height: 100px;
    animation: shake 0.5s ease-in-out infinite;
    display: block; /* 确保图片以块级元素显示 */
    margin: 0 auto; /* 居中显示 */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
   .watermark {
            position: fixed; /* 水印元素固定在页面上，不随页面滚动而移动 */
            color: rgba(0, 0, 0); /* 设置水印文字颜色为黑色，根据项目需要调整 */
            font-size: 20px; /* 设置水印文字大小，根据项目需要调整 */
            pointer-events: none; /* 使水印元素不响应鼠标事件，不影响用户操作 */
            z-index: 9999; /* 设置水印元素的 z-index，使其显示在页面最上层，避免被其他元素覆盖 */
            opacity: 0.3; /* 设置水印元素的透明度，使其与页面内容和谐共存 */
            transform: rotate(-45deg); /* 旋转水印元素，使其以 -45 度角显示，通常用于装饰或版权标识 */
        }
    </style>