.tool-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-header h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.tool-header p {
    color: #666;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-generate,
.btn {
    background: #07C160;  /* 使用微信绿色 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.btn-generate:hover,
.btn:hover {
    background: #06AE56;
}

.result-area {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.result-area pre,
.result-area p {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    font-family: monospace;
}

.copy-btn {
    margin-top: 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn:hover {
    background: #e9ecef;
}

/* 高级链接生成器特有样式 */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #666;
    transition: all 0.3s;
}

.tab:hover {
    color: #07C160;
}

.tab.active {
    border-bottom: 2px solid #07C160;
    color: #07C160;
    font-weight: bold;
} 

 /* 主TAB样式 */
.main-tabs {
    display: flex;
    margin: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    background-color: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    background-color: #f8f9fa;
    color: #666;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-right: 1px solid #e9ecef;
    position: relative;
}

.main-tab:last-child {
    border-right: none;
}

.main-tab.active {
    background-color: #1890ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(24,144,255,0.3);
}

.main-tab:hover:not(.active) {
    background-color: #e9ecef;
    color: #333;
}

.main-tab-content {
    background-color: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 5px;
}

.vip-badge {
    font-size: 12px;
    margin-left: 5px;
    animation: pulse 2s infinite;
}
    .login-container {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .qrcode-container {
        margin: 20px auto;
        width: 200px;
        height: 200px;
    }
    .qrcode-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .login-status {
        margin-top: 15px;
        font-size: 16px;
        color: #666;
    }
    .loading {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(0,0,0,0.1);
        border-radius: 50%;
        border-top-color: #3498db;
        animation: spin 1s ease-in-out infinite;
        vertical-align: middle;
        margin-right: 10px;
    }
    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    .user-info-container {
        background-color: #f5f5f5;
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        position: relative;
    }
    .user-info-container h3 {
        margin-top: 0;
        color: #333;
    }
    .user-info-container p {
        margin: 5px 0;
        color: #666;
    }
    .logout-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 12px;
        background-color: #ff4d4f;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .logout-btn:hover {
        background-color: #ff7875;
    }
    .refresh-btn {
        position: absolute;
        top: 10px;
        right: 90px;  /* 为注销按钮留出空间 */
        padding: 4px 8px;
        font-size: 12px;
        background-color: #1890ff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .refresh-btn:hover {
        background-color: #40a9ff;
    }
    .feature-link-box {
        margin: 15px 0;
        padding: 12px 20px;
        background: #f0f7ff;
        border: 1px solid #d0e3ff;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .feature-link-box:hover {
        background: #e6f1ff;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .feature-link-box a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1890ff;
        text-decoration: none;
        font-size: 15px;
        gap: 8px;
    }

    .feature-icon {
        font-style: normal;
    }

    .feature-text {
        font-weight: 500;
    }

    .arrow-icon {
        font-style: normal;
        transition: transform 0.3s ease;
    }

    .feature-link-box:hover .arrow-icon {
        transform: translateX(3px);
    }

    .non-vip-notice {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        margin: 20px 0;
        overflow: hidden;
    }

    .notice-header {
        background: #1890ff;
        color: white;
        padding: 20px;
        text-align: center;
    }

    .notice-header h2 {
        color: white !important;
        margin: 0 0 10px 0;
        font-size: 24px;
    }

    .notice-header p {
        color: rgba(255,255,255,0.9) !important;
        margin: 0;
    }

    .notice-content {
        padding: 30px 20px;
        text-align: center;
    }

    .notice-image {
        margin: 20px auto;
        max-width: 200px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .notice-refresh-btn {
        display: inline-flex;
        align-items: center;
        background: #1890ff;
        color: white;
        padding: 10px 20px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        font-size: 15px;
        margin: 15px 0;
        transition: all 0.3s ease;
    }

    .notice-refresh-btn:hover {
        background: #40a9ff;
        transform: translateY(-1px);
    }

    .notice-refresh-btn i {
        margin-right: 8px;
    }

    .notice-step {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin: 15px 0;
    }

    .help-section {
        /* margin-top: 40px; */
        /* padding: 20px; */
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .help-title {
        font-size: 22px;
        color: #333;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eaeaea;
    }
    
    .help-card {
        background-color: white;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .help-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .help-card-title {
        font-size: 18px;
        color: #1890ff;
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .help-card-description {
        color: #666;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .help-link {
        display: inline-flex;
        align-items: center;
        color: #1890ff;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    
    .help-link:hover {
        color: #40a9ff;
    }
    
    .help-link .arrow-icon {
        margin-left: 5px;
        transition: transform 0.2s ease;
    }
    
    .help-link:hover .arrow-icon {
        transform: translateX(3px);
    }
    
    .image-hosting-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 15px;
        margin-top: 15px;
    }
    
    .image-hosting-item {
        background-color: #f5f5f5;
        padding: 12px 15px;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
    }
    
    .image-hosting-name {
        font-weight: 500;
        color: #333;
        margin-bottom: 5px;
    }
    
    .image-hosting-link {
        color: #1890ff;
        text-decoration: none;
        word-break: break-all;
        font-size: 14px;
        transition: color 0.2s ease;
    }
    
    .image-hosting-link:hover {
        color: #40a9ff;
        text-decoration: underline;
    }

    /* 添加加载模态框样式 */
    .loading-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }
    
    .loading-modal.active {
        display: flex;
    }
    
    .loading-modal-content {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .loading-modal-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 15px;
    }
    
    .loading-modal-text {
        color: #333;
        font-size: 16px;
        margin-top: 10px;
    }

    .red-dot {
        color: #ff4d4f;
        font-size: 12px;
        margin-left: 4px;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% {
            opacity: 1;
        }
        50% {
            opacity: 0.5;
        }
        100% {
            opacity: 1;
        }
    }
    a{
        color:#1989fa
    }

    /* 永久会员专享区域样式 */
.vip-forever-section {
    margin-top: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.vip-forever-header {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    position: relative;
}

.vip-forever-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,215,0,0.2);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.3);
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.vip-forever-badge::before {
    content: '👑';
    margin-right: 6px;
}

.vip-forever-header h2 {
    color: white !important;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.vip-forever-content {
    background: white;
    padding: 30px 20px;
    min-height: 200px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.vip-forever-locked {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
}

.vip-forever-locked h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 20px;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}