:root {
    --primary-color: #07c160;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --active-color: #e6f7ef;
    --highlight-color: #fff9c4;
    --logo: #40a7ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf1 100%);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 顶部导航栏样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--logo);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-copyright {
    background-color: #2f4056;
    margin-top: 20px;
}

.head_H1 {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.mgb10 {
    margin-bottom: 10px !important;
}

.mgb5 {
    padding: 10px !important;
}


.tool-name {
    color: #ffb800;
}

.tool-doc {
    font-size: 16px;

}

.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #ccc; /* 虚线边框 */
    border-radius: 10px;
    min-height: 200px; /* 最小高度 */
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.upload-container input[type="file"] {
    display: none; /* 隐藏默认的文件选择控件 */
}

.upload-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.upload-button:hover {
    background-color: #0056b3;
}

.tool-right {
    float: right;
    margin-top: 10px;
    background: #FFF;
    padding: 5px;
}

.panel {
    border: 2px solid #ffb800;
    /* border-radius: 10px; */
    padding: 5px;
}

.down-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.bei_blue {
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px #57bbe3;
    padding: 5px;
    height: 150px;
    background-color: #FFF;
}

/* 搜索区域容器 */
.search-container {
    padding: 20px 0;
}

/* 搜索框容器 */
.search-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 搜索输入框样式 */
.search-input {
    height: 50px;
    border-radius: 25px;
    padding: 0 20px 0 45px;
    font-size: 16px;
    border: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 搜索图标样式 */
.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

/* 搜索按钮样式 */
.search-btn {
    height: 50px;
    border-radius: 25px;
    padding: 0 30px;
    font-size: 16px;
    background-color: #1E9FFF;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #0090E7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* 热门搜索标签 */
.hot-tags {
    margin-top: 15px;
    text-align: center;
}

.hot-tags span {
    color: #666;
    margin-right: 10px;
}

.hot-tags a {
    display: inline-block;
    margin: 0 8px 8px 0;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.hot-tags a:hover {
    color: #1E9FFF;
    background-color: white;
    transform: scale(1.05);
}

.mianfei {
    position: absolute;
    width: 37px;
    height: 20px;
    line-height: 20px;
    background-color: rgb(58, 205, 65);
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-family: 微软雅黑;
    text-align: center;
    margin-left: 10px;
    margin-top: 5px;
    border-radius: 2px;
}
.tooldescription{
    margin-top: 20px;
    background-color: #ffffff;
    padding: 10px 10px 10px 10px;
    border-radius: 12px
}
.startbutton{
    text-align: center;
}
.bei_red {
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px #fdb4b4;
    padding: 5px;
    height: 150px;
    background-color: #FFF;
}

.bei_green {
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px #47f500;
    padding: 5px;
    height: 150px;
    background-color: #FFF;
}
/*单页右侧格式*/
.touxiang-style{
background-color: #FFFFFF;padding:10px;border-radius: .25rem;box-shadow: 0px 0px 13px -2px #cacccb;margin-top: 30px;
}
.right_biaoti{
padding: 10px;
}
.tag-style{
     background-color: #ffffff;margin-top:10px;border-radius: .25rem;box-shadow: 0px 0px 13px -2px #fdfdfd;padding: 5px;
}
/* 一行显示的统计模块样式 */
.help-stats {
    color: #5dcf30;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: -20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* 文字与数字间距 */
    flex-wrap: wrap; /* 移动端自动换行兼容 */
}
.stats-title {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
}
.stats-number {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 1px;
}
.stats-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-left: 8px;
}

.ttitle {
    line-height: 30px;
    padding: 5px;
    font-weight: bold;
}
.xcontent{
    overflow: hidden;
    height: 90px;
}

/* 导航栏固定到顶部 */
.navbar {
    position: fixed; /* 固定定位 */
    top: 0; /* 距离顶部0 */
    left: 0;
    width: 100%; /* 宽度100% */
    background-color: #333;
    overflow: hidden;
    z-index: 999; /* 确保导航栏在最上层 */
}

/* 导航链接样式 */
.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 4px 26px;
    text-decoration: none;
    font-size: 20px;
}

/* 悬停效果 */
.navbar a:hover {
    background-color: #ddd;
    color: black;
}


/* =========================
   公众号提取
   ========================= */
.gzhhide {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 0 20px #d0d0d0;
}

.gzhhide .gzhtitle {
    font-size: 17px;
    font-weight: 700;
    color: #6c80a7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gzhhide .gzhtitle i {
    font-style: normal;
}

.gzhhide .gzhtitle .fa {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 35px;
}

.gzhhide .gzhcode {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -50px;
    width: 80px;
    height: 80px;
}

.gzh-content {
    padding: 20px 90px 15px 0;
    font-size: 14px;
    color: #777;
}

.gzhbox {
    padding: 0;
}

.gzhbox input {
    width: 45%;
    border: none;
    color: #737373;
    font-size: 13px;
    height: 35px;
    line-height: 35px;
    background: #f2f2f2;
    border-radius: 4px;
    outline: none;
    float: left;
    padding: 0 10px;
}

.gzhbox button {
    width: 20%;
    margin-left: 15%;
    border: none;
    background: #3b8cff;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gzhbox button:hover {
    background: #2a6edc;
    color: #fff;
}


/* 响应式调整 */
@media (max-width: 768px) {
    .bei_blue {
        border-radius: 10px;
        box-shadow: 0px 0px 10px 5px #57bbe3;
        padding: 5px;
        height: auto;
    }

    .bei_red {
        border-radius: 10px;
        box-shadow: 0px 0px 10px 5px #fdb4b4;
        padding: 5px;
        height: auto;
    }

    .bei_green {
        border-radius: 10px;
        box-shadow: 0px 0px 10px 5px #47f500;
        padding: 5px;
        height: auto;
    }

    .search-container {
        padding: 20px 0;
    }

    .search-input {
        height: 44px;
        font-size: 14px;
    }

    .search-btn {
        height: 44px;
        padding: 0 20px;
        font-size: 14px;
    }

    /* 增加移动端热门标签与输入框的距离 */
    .hot-tags {
        margin-top: 15px !important;
    }

    /* 移动端标签样式优化 */
    .hot-tags a {
        padding: 2px 8px;
        font-size: 13px;
        margin: 5px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }
      /* 原有样式保留，新增 gzhhide 移动端专属样式 */
    .gzhhide {
        padding: 15px !important;
        position: relative;
        margin: 10px 0 !important;
        box-sizing: border-box;
        /* 新增：限制最小高度，防止内容溢出 */
        min-height: auto !important;
        /* 新增：清除浮动，避免高度塌陷 */
        overflow: hidden;
    }

    /* 核心：重置二维码的绝对定位，解决高度异常 */
    .gzhhide .gzhcode {
        position: static !important; /* 取消绝对定位，回归文档流 */
        width: 80px !important;     /* 移动端二维码尺寸 */
        height: 80px !important;
        margin: 0 auto 15px auto !important; /* 居中 + 底部间距，避免盖住文字 */
        display: block !important;  /* 块级元素，方便居中 */
        float: none !important;     /* 取消右浮动 */
    }

    /* 优化标题，取消单行省略，避免文字溢出 */
    .gzhhide .gzhtitle {
        font-size: 15px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        white-space: normal !important; /* 取消单行省略 */
        overflow: visible !important;   /* 显示全部文字 */
        text-overflow: unset !important;
    }

    /* 优化说明文字，取消右侧内边距 */
    .gzhhide .gzh-content {
        padding: 0 !important;       /* 删掉右侧padding，避免内容挤压 */
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    /* 输入框+按钮容器，竖排布局 */
    .gzhhide .gzhbox {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;        /* 输入框和按钮间距 */
        padding: 0 10px !important;
    }

    /* 输入框占满宽度 */
    .gzhhide .gzhbox input {
        width: 100% !important;
        height: 40px !important;
        float: none !important;      /* 取消左浮动 */
        padding: 0 15px !important;
    }

    /* 按钮占满宽度 */
    .gzhhide .gzhbox button {
        width: 100% !important;
        margin-left: 0 !important;   /* 取消左侧margin */
        height: 40px !important;
        font-size: 15px !important;
    }
}