﻿@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
}
body, h1, h2, h3, h4, h5, h6, table, ul, ol, dl, input, textarea, select, form, fieldset, legend, dt, dd, a {
    margin: 0;
    padding: 0;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
i, em {
    font-style: normal;
}
h1, h2, h3, b, strong {
    font-weight: 100;
}
img {
    border: 0;
}
input {
    outline: none;
}
.clear:after {
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    clear: both;
}
body, html, div, dl, dt, dd, ul, li, ol, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, th, td, a, img, span {
    font-size: 12px;
}
.fn-left {
    float: left;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: "Microsoft Yahei, SimHei, tahoma, arial, Hiragino Sans GB, SimSun, sans-serif";
}

.ui-container {
    width: 100%;
    height: 100%;
}

.ui-bg {
    width: 100%;
    position: relative;
    display: block;
    z-index: -100;
}

.ui-qrcode {
    width: 2.7rem;
    height: 2.7rem;
    position: absolute;
    top: 9.68rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0.1rem 0.05rem 0.1rem 0.1rem;
}

.ui-qrcode > img {
    width: 2.7rem;
}

@media screen and (min-width: 768px) {
    .ui-qrcode {
        top: 9.98rem;
    }
}

@media screen and (min-width: 1024px) {
    .ui-qrcode {
        width: 3.7rem;
        height: 3.7rem;
        top: 13.25rem;
    }
    .ui-qrcode > img {
        width: 3.7rem;
    }
}

/* 按钮容器样式 */
.button-container {
    display: flex;
    justify-content: space-between; /* 均匀分布按钮 */
    align-items: center;
    padding: 10px;
    flex-wrap: nowrap; /* 不换行 */
}

/* 按钮样式 */
.button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 8px; /* 进一步减小按钮内边距 */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px; /* 缩小字体 */
    margin: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1; /* 平均分配宽度 */
    max-width: 22%; /* 调整最大宽度，确保按钮在一行 */
    min-width: 22%; /* 确保每个按钮占用足够宽度 */
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 文字过长时显示省略号 */
}

.button:hover {
    background-color: #0056b3; /* 鼠标悬停时按钮颜色 */
}

/* 模态弹窗背景样式 */
.modal {
    display: none; /* 隐藏模态窗口 */
    position: fixed; /* 固定位置 */
    z-index: 1000; /* 确保模态窗口在顶部 */
    left: 0;
    top: 0;
    width: 100%; /* 全宽 */
    height: 100%; /* 全高 */
    overflow: auto; /* 允许滚动 */
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
}

/* 模态弹窗内容样式 */
.modal-content {
    background-color: #ffffff; /* 纯白色背景 */
    margin: 10% auto; /* 10% 从顶部偏移 */
    padding: 20px;
    border-radius: 10px; /* 圆角边框 */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* 盒阴影，提升视觉效果 */
    width: 70%; /* 宽度 */
    max-width: 600px; /* 最大宽度，确保在大屏幕上不显得太宽 */
    font-family: 'Arial', sans-serif; /* 字体设置 */
    color: #333333; /* 深灰色字体，舒适的对比度 */
    line-height: 1.6; /* 行高，提升可读性 */
}

/* 关闭按钮样式 */
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    margin-right: -10px;
    margin-top: -10px;
}

.close:hover,
.close:focus {
    color: #ff0000; /* 关闭按钮悬停时为红色 */
    text-decoration: none;
    cursor: pointer;
}

/* 优化按钮样式（如果有按钮） */
.modal-content button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: #0056b3; /* 鼠标悬停时按钮颜色 */
}
