body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4 !important; /* 强制应用 */
            color: #333;
        }
h2 {
            text-align: center;
            margin-top: 20px;
        }
                .download-link a {
    color: white; /* 将 .download-link 类中的 <a> 标签文本颜色设为白色 */
}
/* 默认样式 */
form, .usage-tips, .result {
    max-width: 400px;
    margin: 20px auto; /* 将左右边距都设置为 auto */
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* 在手机端设置左右边距为 10px */
@media (max-width: 768px) {
    form, .usage-tips, .result {
        margin-left: 10px;
        margin-right: 10px;
    }
}

        label {
            display: block;
            margin-bottom: 10px;
            font-weight: bold;
        }
        input[type="text"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            border: 2px solid #007BFF;
            user-scalable: no; /* 禁止放大 */
        }
        
        input[type="text"], textarea {
    font-size: 16px; /* 修复iOS上的输入框放大问题 */
    -webkit-text-size-adjust: 100%; /* 修复iOS上的输入框放大问题 */
}


button[type="submit"] {
    width: 100%;
    padding: 13px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    button[type="submit"] .icon {
        width: 1em; /* Match the font size */
        height: 1em; /* Match the font size */
        margin-right: 5px; /* Adjust spacing between icon and text */
        vertical-align: middle; /* Align icon vertically */
        margin-top: -0.1em; /* Adjust this value as needed for perfect alignment */
    }

        button[type="submit"]:hover {
            background-color: #0056b3;
        }
        .result {
            max-width: 400px;
            margin: 20px auto;
            padding: 15px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        @media (max-width: 768px) {
            form, .result {
                margin-left: 10px;
                margin-right: 10px;
            }
        }

        .result a {
            color: #ffffff;
            text-decoration: none;
        }
        
        .usage-tips {
            background-color: #f6fcff;
            border: solid 1px #b3def4;
            color: #f48a6e;
            padding: 5px 7px;
            border-radius: 3px;
            font-size: 13px;
            line-height: 24px;
            text-shadow: 0 0 1px rgba(114, 106, 86, 0.3);
            max-height: 160px;
            overflow-y: auto;

        }

/* 默认样式 */
.layui-card-header {
    height: 42px;
    line-height: 42px;
    padding: 0 10px; /* 左右边距修改为 10px */
    border-bottom: 1px solid #f6f6f6;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
}
.layui-card {
max-width: 400px;
    margin: 20px auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}
@media (max-width: 768px) {
    form, .layui-card, .container {
        margin-left: 10px;
        margin-right: 10px;
    }
}
}
.layui-card-body {
    padding: 10px 15px;
    line-height: 24px;
}

.layui-card-body[pad15] {
    padding: 15px;
}

.layui-card-body[pad20] {
    padding: 20px;
}

.layui-card-body .layui-table {
    margin: 5px 0;
}

/* 在手机端设置左右边距为 10px */
@media (max-width: 768px) {
    .layui-card-header {
        padding: 0 10px;
    }
    .layui-card-body {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.layui-badge-rim {
    height: 18px;
    line-height: 18px;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    color:#666
}
.layui-badge-rim {
    border-color:#eee
}
    .layui-badge-rim {
    position: relative;
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
    background-color: #FF5722;
    color: #fff;
    border-radius:2px
}



.layui-badge-rim {
    height: 18px;
    line-height: 18px;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    color:#666
}

.container {
    max-width: 400px;
    margin: 20px auto;

    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    form, .container {
        margin-left: 10px;
        margin-right: 10px;
    }
}
.item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.icon img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 20%; /* 将四角变成圆形 */
}

.content {
    flex-grow: 1;
}
.title {
    font-weight: bold;
    margin-bottom: 5px;
}
.description {
    font-size: 13px;
    color: #666;
}
.action button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.action button:hover {
    background-color: #0056b3;
}
.download-video {
    display: inline-block;
            padding: 10px 20px;
            margin: 5px;
            background-color: #3ec8ff;
            color: white; /* 修改链接文本颜色为白色 */
            text-decoration: none;
            border-radius: 5px;
            font-size: 16px;
            position: relative;
            font-weight: bold; /* 加粗 */
            
}
.download-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #3ec8ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    position: relative;
    font-weight: bold;
}

.download-link:after {
    content: attr(data-number);
    display: inline-block;
    margin-left: 10px;
    background-color: white;
    color: #6CBAD9;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
}



.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* 设置间距 */
}

.thumbnail {
    text-align: center;
    width: calc(33.33% - 10px); /* 三个一行 */
}

.thumbnail img {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

        
        .tips_tishi {
            font-size: 11px;
            color: #f48a6e;
            margin: 15px auto 0;    
            text-align: center;
            font-weight: bold;
            
        }

.logo-container {
    text-align: center; /* Centers the logo horizontally */
    margin-bottom: 10px; /* Adds some space below the logo */
}

.logo {
    max-width: 100px; /* Adjust the size of the logo as needed */
    height: auto;
    margin-top: 10px;
}

.titie {
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
    
}



.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    text-align: center;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

    
    /*缩略图*/


.tittle-wenan {
    font-size: 15px; /* 设置字体大小 */
    color: #eaa2a2; /* 字体颜色 */
    margin-bottom: 10px; /* 下边距 */
    font-weight: bold; /* 加粗 */
    text-align: left; /* 靠左对齐 */
    padding: 5px; /* 内边距 */
    background-color: #fff0f0; /* 背景颜色 */
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    transition: color 0.3s; /* 过渡效果 */
}

.copy-icon {
    margin-left: 10px; 
    cursor: pointer; 
    display: inline-block; 
    font-size: 18px; 
    vertical-align: middle; 
}


.tittle-wenan:hover {
    color: #007bff; /* 悬停时改变颜色 */
}


.download-link {
    display: block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

/* Modal styles */
.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.8);
    backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 550px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}



.thumbnail {
    cursor: pointer; /* 鼠标悬停变为手形 */
}

.cover_img {
    max-width: 100%;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 阴影效果 */
    transition: transform 0.2s; /* 动画效果 */
     margin-bottom: 10px; /* 下边距设置为10px */
}

/*获取验证码*/

.password-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* 调整间距 */
}

.password-container label {
    margin-right: 10px; /* 标签和输入框之间的间距 */
    font-weight: bold;
    color: #333;
}

.password-container input {
    padding: 10px;
    border: 2px solid #007BFF; /* 边框颜色 */
    border-radius: 5px; /* 圆角 */
    outline: none;
    transition: border-color 0.3s;
    width: 240px; /* 控制输入框宽度 */
    font-size: 16px; /* 设置字体大小 */
    touch-action: manipulation; /* 禁用放大效果 */
}


.password-container input:focus {
    border-color: #0056b3; /* 聚焦时的边框颜色 */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 聚焦时的阴影效果 */
}

.get-verification-code {
    color: #007BFF; /* 链接颜色 */
    text-decoration: none; /* 去掉下划线 */
    margin-left: 10px;
    transition: color 0.3s;
}

.get-verification-code:hover {
    color: #0056b3; /* 悬停时的颜色 */
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}


/*video*/
.video-player {
    width: 100%;
    height: auto;
    margin-top: 10px;
    display: none; /* 初始隐藏 */
}
.cover-container {
    position: relative;
    display: inline-block;
}
.cover_img {
    width: 100%;
    height: auto;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
}
.header {
    display: flex;
    align-items: center;
    background-color: #4285f4;
    padding: 10px;
    color: white;
    border-radius: 1px;
    position: relative; /* 为下拉菜单定位 */
}

.icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.menu-toggle {
    margin-left: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #4285f4;
    color: white;
    padding: 0 10px;
    border-radius: 8px;
    margin-top: 5px;
    position: absolute; /* 改为绝对定位 */
    left: 0; /* 对齐到左侧 */
}
.dropdown-menu.show {
    max-height: 200px; 
    padding: 10px; 
}
.dropdown-menu a {
    color: white;
    text-decoration: none;
}

.dropdown-menu a:hover {
    text-decoration: underline;
}