body {
	background-color: #f0f2f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	overflow-x: hidden;
	padding-top: 40px;
}

.float-nav-lang .lang-popup button {
    display: block;
    width: 100%;
    padding: 8px;
    border: none;
    background: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}
.float-nav-lang .lang-popup button:hover {
    background: #f0f0f0;
}
.title-container {
	max-width: 95%;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 30px;
}

h1 {
	font-size: 1.5rem;
}

.container {
	max-width: 600px;
	background: #ffffff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	animation: fadeIn 0.5s ease;
}

.alert-message {
	display: none;
	margin-top: 20px;
	color: red;
}

.alert-message i {
	margin-right: 5px;
}

#submitBtn {
	background: linear-gradient(45deg, #007AFF, #5856d6);
	border: none;
	padding: 14px 32px;
	font-weight: 500;
	font-size: 15px;
	border-radius: 12px;
	color: white;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2);
	max-width: 600px;
	width: 90%;
	margin: 0 auto 20px;
	display: block;
}

#submitBtn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

#submitBtn:active {
	transform: translateY(1px);
}

#submitBtn i {
	margin-right: 8px;
	font-size: 16px;
}

.device-info-line {
	opacity: 0;
	transition: opacity 0.5s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		 opacity: 1;
	}
}

@media (max-width: 576px) {
	.title-container {
		max-width: 95%;
	}

	.container {
		max-width: 95%;
		padding: 15px;
	}

	h1 {
		font-size: 1.2rem;
	}
}

.copyright {
	text-align: center;
	margin-top: 30px;
	font-size: 0.8rem;
	color: #6c757d;
	padding: 10px 0;
}

.title-container i {
	font-size: 1.8rem;
	vertical-align: middle;
}

.copy-btn {
	width: 48%;
	margin-top: 25px;
}

.btn-container {
	display: none;
}

.small-text {
	font-size: 0.9rem;
}

.bold-text {
	font-weight: bold;
}

/*添加主屏幕CSS开始*/

.bubble-container {
	display: none;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 15px 20px;
	border-radius: 10px;
	z-index: 1000;
	max-width: 280px;
	width: 90%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	/*text-align: center;*/
}

.bubble-container.show-bubble {
	display: block;
	opacity: 1;
}

.close-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	background: none;
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	padding: 0 5px;
}

.bubble-content {
	margin: 0;
	line-height: 1.5;
}

/* 修改无感提示弹窗样式 */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    min-width: 200px;
    max-width: 90%;
    text-align: center;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: normal;
}

.toast-message.show {
    opacity: 1;
    visibility: visible;
}

/* 操作按钮组样式 */
.action-buttons-container {
    padding: 15px !important;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    color: #1c1e21;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.action-btn:hover {
    background: #f5f6f7;
    color: #007AFF;
    border-color: #007AFF;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,123,255,0.3);
}

.action-btn i {
    margin-right: 6px;
    font-size: 14px;
}

/* 适配移动端 */
@media (max-width: 576px) {
    .action-buttons {
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .action-btn i {
        font-size: 13px;
    }
}

/* 输入框带复制按钮的样式 */
.input-with-copy {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-copy .form-control {
    padding-right: 40px;
}

.copy-icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: color 0.2s ease;
}

.copy-icon:hover {
    color: #007bff;
}

.copy-icon:active {
    transform: scale(0.95);
}

/* 输入框样式优化 */
.form-control {
    border: 1px solid #e4e6eb;
    padding: 12px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #007AFF;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

/* 添加新的样式 */
.subtitle {
    color: #65676b;
    font-size: 0.9rem;
    margin-top: 5px;
}

.device-info {
    margin-bottom: 20px;
}

.info-header {
    font-size: 16px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e6eb;
}

.guide-section {
    h5 {
        color: #1c1e21;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        
        i {
            color: #007AFF;
            margin-right: 8px;
        }
    }
}

/* 响应式优化 */
@media (max-width: 576px) {
    .container {
        padding: 20px;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1 1 calc(33.33% - 10px);
        min-width: 100px;
    }
}

/* 适配小屏幕设备 */
@media screen and (max-width: 375px) {
    .bubble-container {
        width: auto;
        min-width: 180px;
        max-width: 260px;
        padding: 10px 30px 10px 10px;
        font-size: 13px;
    }
    
    .close-btn {
        width: 20px;
        height: 20px;
        font-size: 14px;
        top: 6px;
        right: 6px;
    }
    
    .bubble-arrow {
        margin-top: 6px;
        font-size: 12px;
    }
}

/* 修改 FAQ 水平布局样式 */
.faq-wrapper {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 20px auto;
}

.faq-wrapper .container {
    flex: 1;
    margin: 0;
    min-width: 0;
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
}

/* 确保内容不会溢出容器 */
.faq-wrapper .guide-section {
    height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 在移动设备上改为垂直布局 */
@media (max-width: 768px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 12px;
    }
    
    .faq-wrapper .container {
        width: 100%;
        max-width: 100%;
    }
}

/* 确保容器样式一致 */
.faq-wrapper .container {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
    .toast-message {
        min-width: 180px;
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* 悬浮导航样式 */
.float-nav {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #007AFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

.float-nav-btn i {
    font-size: 20px;
}

.float-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
    color: white;
    text-decoration: none;
}

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

/* 移动端适配 */
@media (max-width: 576px) {
    .float-nav {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }
    
    .float-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .float-nav-btn i {
        font-size: 18px;
    }
}

/* 二维码浮动按钮样式 */
.float-nav-qr {
    position: relative;
}

.qr-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: none;
    width: 150px;
    text-align: center;
}

.qr-popup p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #666;
}

.float-nav-qr:hover .qr-popup {
    display: block;
}

/* 只在PC端显示 */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}

/* 二维码容器样式 */
.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code img {
    display: block;
    max-width: 100%;
}

/* 深色模式支持 */
[data-theme="dark"] .qr-popup {
    background: #2d2d2d;
}

[data-theme="dark"] .qr-popup p {
    color: #b0b3b8;
}