/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.5;
}

/* 通用容器 */
.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 0px 10px 20px;
}

/* 通用按钮样式 */
.btn-primary {
    display: block;
    width: 100%;
    padding: 14px 0;
    background-color: #1677ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 14px 0;
    background-color: #ffffff;
    color: #1677ff;
    border: 1px solid #1677ff;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

/* 输入框样式 */
.input-item {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #f5f7fa;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #333333;
}

.input-item::placeholder {
    color: #999999;
}

/* 标题样式 */
.page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 40px 0 30px;
}

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

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #666666;
    line-height: 1.5rem;
}


.nav-item.active {
    color: #1677ff;
}
.icon-shouye,.icon-wode
{
    font-size: 28px !important;
}

/* 分类标签组 */
.tag-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.tag-item {
    padding: 10px 0;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tag-item:hover {
            border-color: #007bff;
            background-color: #f0f8ff;
        }

        .tag-item.active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }
/* 文本框 */
.textarea-item {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 16px;
    color: #333333;
    resize: none;
}

.textarea-item::placeholder {
    color: #999999;
}

/* 图片占位框 */
.img-placeholder {
    width: 110px;
    height: 110px;
    background-color: #f5f7fa;
    border: 1px dashed #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* 音频播放器 */
.audio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: #f5f7fa;
    border-radius: 24px;
    margin-bottom: 20px;
}

.audio-time {
    font-size: 14px;
    color: #666666;
}

.audio-progress {
    flex: 1;
    height: 4px;
    background-color: #d9d9d9;
    border-radius: 2px;
}

.audio-volume {
    width: 20px;
    height: 20px;
}

/* 视频播放器占位 */
.video-placeholder {
    width: 100%;
    height: 200px;
    background-color: #333333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 10px;
}

/* 成功提示 */
.success-tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    border: 6px solid #52c41a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-icon::after {
    content: "✓";
    font-size: 50px;
    color: #52c41a;
}

.success-text {
    font-size: 20px;
    color: #333333;
    line-height: 1.8;
}

/* 列表项 */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.list-title {
    font-size: 16px;
    color: #333333;
    display: flex;
    align-items: center;
}

.list-status {
    font-size: 14px;
    color: #666666;
    display: flex;
    align-items: center;
}

.list-status.success {
    color: #52c41a;
}

.list-status.fail {
    color: #ff4d4f;
}

/* 提示文本 */
.tip-text {
    font-size: 14px;
    color: #999999;
    text-align: center;
    margin: 20px 0;
}

/* 红色提示文本 */
.red-tip {
    color: #ff4d4f;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin: 1px 0 16px 0;
}
/* 通用输入控件样式 */
input, textarea {
    font-size: 16px;
    color: #333333;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 12px;
    outline: none;
    transition: border-color 0.3s ease;
}

/* 焦点状态 */
input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 占位符样式 */
input::placeholder, textarea::placeholder {
    color: #999999;
    opacity: 1;
}

/* 语言切换按钮 */
.lang-switch {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1000;
    padding: 3px 16px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.lang-switch:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-switch:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-switch {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 面包屑下拉菜单样式 */
.lang-breadcrumb {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1000;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-breadcrumb-text {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    color: #1890ff;
    font-weight: 500;
}

.lang-breadcrumb-text:hover {
    background: #e6f7ff;
}

.lang-breadcrumb-text .arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.lang-breadcrumb.open .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
}

.lang-breadcrumb.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 10px 16px;
    color: #333;
    transition: background 0.2s;
    white-space: nowrap;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    color: #1890ff;
    font-weight: 500;
}

.lang-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 4px 0;
}

.guide-option {
    color: #666;
    font-size: 13px;
}

.guide-option:hover {
    color: #1890ff;
}