/* 基础样式重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题样式 */
h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00b935;
    text-align: center;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #00b935;
    transition: color 0.3s ease;
    flex-grow: 1;
    margin: 0 10px;
    word-break: break-all;
}

a:hover {
    color: #2aae67;
    text-decoration: underline;
}
h1{
	color: #00b935;
}
/* 列表样式 */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    padding: 15px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}

li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fafafa;
}

li span {
    display: inline-block;
    min-width: 120px;
    font-weight: 600;
    color: #2c3e50;
    margin-right: 20px;
    text-align: right;
}

/* 复制按钮样式 */
.copy-btn {
    background-color: #00b935;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #2aae67;
}

.copy-btn.copied {
    background-color: #27ae60;
}

/* 二维码按钮样式 */
.qr-btn {
    background-color: #9b59b6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8px;
    white-space: nowrap;
    position: relative;
}

.qr-btn:hover {
    background-color: #8e44ad;
}

/* 二维码弹出框样式 */
.qr-popup {
    position: absolute;
    left: 100%; 
    top: 50%;
    transform: translateY(-50%); 
    background: white;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    display: none;
    margin-left: 10px;
}

.qr-btn:hover .qr-popup {
    display: block;
}

.qr-code {
    width: 120px;
    height: 120px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 8px;
}

.pagination button {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #00b935;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination button:hover {
    background-color: #00b935;
    color: white;
    border-color: #00b935;
}

.pagination button.active {
    background-color: #00b935;
    color: white;
    border-color: #00b935;
    font-weight: bold;
}

.copyright {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}
.copyright a{
	color:#7f8c8d;
	margin:0 5px!important;
}
.copyright a:hover{
	color:#00b935;
}

/* 响应式设计 */
@media (max-width: 768px) {
    li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    
    li span {
        min-width: auto;
        text-align: left;
        margin-right: 0;
        margin-bottom: 8px;
        display: block;
    }
    
    a {
        margin: 0 0 10px 0;
    }
    
    .copy-btn {
        align-self: flex-end;
    }
    
    .pagination button {
        padding: 6px 12px;
        font-size: 13px;
    }
}
