/* 内容上方按钮导航 - 优化位置 */
.content-nav-buttons {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 15px auto;
    padding: 0 15px;
}

.top-nav-buttons {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 15px auto;
    padding: 0 15px;
}

.nav-buttons-container {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-button {
    flex: 1;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 6px;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.nav-button.active {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.nav-button.active:hover {
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.nav-button .nav-icon {
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-buttons-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-button {
        min-height: 45px;
        font-size: 13px;
    }
}

/* 调整顶部栏间距 */
.lime-header {
    padding: 8px 0 !important;
    margin-bottom: 5px !important;
}

/* 调整主内容区域 - 减少顶部间距 */
.lime-body {
    margin-top: 0 !important;
    padding-top: 5px !important;
}

.lime-sidebar {
    display: none !important;
}

/* 调整容器间距 */
.lime-container {
    margin-top: 0 !important;
}

/* 调整页面整体布局 */
.page-wrapper {
    margin-top: 0 !important;
}

/* 调整导航栏高度和对齐 */
.navbar {
    min-height: 50px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* 调整导航栏内边距 */
.navbar-nav .nav-link {
    padding: 8px 12px !important;
}

/* 调整Logo和用户信息对齐 */
.navbar-brand {
    margin-left: 15px;
}

.navbar-collapse {
    margin-right: 15px;
}

/* 确保导航栏内容与下方菜单栏对齐 */
.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}

/* 调整导航栏整体布局 */
.navbar-expand-lg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-button {
        max-width: none;
    }
}

/* 开发文档页面科技感样式 */
.open-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
}

.open-page .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.open-page .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px 15px 0 0 !important;
    border: none;
    padding: 20px;
}

.open-page .card-title {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* 标题样式优化 */
.open-page h6 {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px !important;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

/* 表格样式优化 */
.open-page .table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.open-page .table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.open-page .table tbody td {
    padding: 12px 15px;
    border-color: #e9ecef;
    vertical-align: middle;
}

.open-page .table-hover tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* 代码块样式 */
.open-page code {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.open-page .bg-light code {
    background: #2c3e50 !important;
    color: #ecf0f1 !important;
}

/* 徽章样式 */
.open-page .badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 状态码表格特殊样式 */
.open-page .table-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.open-page .table-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.open-page .table-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.open-page .table-primary {
    background: linear-gradient(135deg, #cce7ff 0%, #b3d9ff 100%);
}

/* 链接样式 */
.open-page a.text-primary {
    color: #3498db !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.open-page a.text-primary:hover {
    color: #2980b9 !important;
    text-decoration: underline;
}

/* 接口查询页面科技感样式 */
.getapi-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
}

.getapi-page .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.getapi-page .card-body {
    padding: 30px;
}

.getapi-page .card-title {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.getapi-page p {
    color: #5a6c7d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.getapi-page code {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
    margin: 0 5px;
}

/* 按钮样式优化 */
.getapi-page .btn {
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.getapi-page .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.getapi-page .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.getapi-page .btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.getapi-page .btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.getapi-page .btn-block {
    width: 100%;
    display: block;
}

/* 接口信息卡片特殊样式 */
.getapi-page .card:nth-child(2) {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.getapi-page .card:nth-child(2) .card-title {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.getapi-page .card:nth-child(2) code {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .getapi-page .card-body {
        padding: 20px;
    }
    
    .getapi-page .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .getapi-page p {
        font-size: 1rem;
    }
}

/* 首页科技感样式 */
.index-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
}

.index-page .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.index-page .card-body {
    padding: 30px;
}

.index-page .card-title {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.index-page input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.index-page input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.index-page .btn {
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.index-page .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.index-page .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* 购买套餐页面科技感样式 */
.vip-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
}

.vip-page .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.vip-page .card-body {
    padding: 30px;
}

.vip-page .card-title {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-page .bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    border: none;
    border-radius: 15px;
}

.vip-page h3 {
    color: #2c3e50;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 会员套餐样式 */
.vip-page .pricing {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vip-page .pricing:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.vip-page .pricing h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.vip-page .pricing h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 10px 0;
}

.vip-page .pricing span {
    color: #7f8c8d;
    text-decoration: line-through;
}

.vip-page .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 10px;
    margin: 10px 0;
}

.vip-page .btn {
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 25px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vip-page .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.vip-page .btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.vip-page .btn-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.vip-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 二维码样式 */
.vip-page #qr {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 复制按钮样式 */
.btn-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 5px 12px;
    font-size: 0.9rem;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-copy:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.btn-copy:active {
    transform: translateY(0);
}

.getapi-page code {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .index-page .card-body,
    .vip-page .card-body {
        padding: 20px;
    }
    
    .index-page .btn,
    .vip-page .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .vip-page .pricing {
        padding: 15px;
    }
    
    .btn-copy {
        padding: 4px 8px;
        font-size: 0.8rem;
        margin-left: 5px;
    }
}