/* WordPress标签生成器样式表 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

#main {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.subhead {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.subhead h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.subhead h2 span {
    font-size: 16px;
    color: #999;
    font-weight: normal;
}

.lead {
    font-size: 16px;
    color: #666;
}

.topnav {
    background: #f8f8f8;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.topnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topnav li {
    float: left;
}

.topnav li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.topnav li a:hover {
    background: #eee;
}

.topnav li.curr a {
    background: #4CAF50;
    color: white;
}

.dmk {
    width: 100%;
    border-collapse: collapse;
}

.dmk td {
    padding: 10px;
    border: 1px solid #eee;
}

#wpcodepy {
    width: 100%;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: Consolas, monospace;
    font-size: 14px;
}

#tishi {
    color: green;
    margin-top: 5px;
    min-height: 20px;
}

input[type="button"] {
    padding: 8px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

input[type="button"]:hover {
    background: #45a049;
}

/* 客服样式 */
.bsk_rightBar {
    position: fixed;
    right: 10px;
    bottom: 100px;
    z-index: 9999;
}

.kftit {
    background: #4CAF50;
    color: white;
    padding: 10px 5px;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.link_a {
    display: block;
    position: relative;
    margin-top: 1px;
    background: #f8f8f8;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.link_a img {
    max-width: 20px;
}

.link_a:hover {
    background: #eee;
}

.link_a.last {
    border-radius: 0 0 5px 5px;
}

.chis {
    display: none;
    position: absolute;
    left: -200px;
    top: 0;
    width: 180px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.link_a:hover .chis {
    display: block;
}

.ars {
    position: absolute;
    right: -10px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 10px solid white;
    border-bottom: 10px solid transparent;
}

.colv {
    padding: 10px;
}

.colv .tt {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.kful {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kful li {
    margin-bottom: 5px;
}

.kful li a {
    text-decoration: none;
    cursor: pointer;
}

.dialog {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    width: 300px;
}

.dialog h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.dialog p {
    line-height: 1.6;
}

.dialog span {
    font-weight: bold;
}

.dialog em {
    font-style: normal;
    color: #4CAF50;
}

.dialog img {
    display: block;
    margin: 10px auto;
}

.gbi {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #f5f5f5;
    color: #999;
    border-radius: 50%;
    cursor: pointer;
}

.gbi:hover {
    background: #eee;
    color: #666;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .topnav li {
        float: none;
        border-bottom: 1px solid #eee;
    }
    
    .topnav li:last-child {
        border-bottom: none;
    }
    
    .bsk_rightBar {
        display: none !important;
    }
} 