.axdzs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.axdzs-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.axdzs-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0069d9;
}

.axdzs-result {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    min-height: 200px;
}

.axdzs-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.axdzs-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* 小说列表样式 */
.novel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.novel-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.novel-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.novel-item-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.novel-item-header:hover {
    background: #f5f9ff;
}

.novel-index {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    margin-right: 12px;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
}

.novel-info {
    flex: 1;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.novel-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.novel-author {
    font-size: 13px;
    color: #666;
    margin: 0;
    margin-left: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.novel-item-content {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.novel-item.expanded .novel-item-content {
    display: block;
}

/* 箭头指示 */
.novel-item-header::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    transition: transform 0.3s;
}

.novel-item.expanded .novel-item-header::after {
    transform: translateY(-50%) rotate(180deg);
}

.novel-cover {
    float: left;
    margin-right: 15px;
    max-width: 100px;
    border-radius: 4px;
}

.novel-details {
    overflow: hidden;
}

.novel-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.novel-id {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.download-links {
    margin-top: 15px;
    clear: both;
}

.download-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
    font-size: 14px;
}

.download-btn:hover {
    background-color: #218838;
    color: #fff;
}

.download-url {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.download-url p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
}

.download-url input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
    margin-bottom: 10px;
}

.copy-btn {
    padding: 6px 12px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background: #5a6268;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .axdzs-container {
        padding: 10px;
    }
    
    .axdzs-title {
        font-size: 20px;
    }
    
    .axdzs-form {
        padding: 15px;
    }
    
    .btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .novel-item-header {
        padding: 10px;
    }
    
    .novel-index {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .novel-title {
        font-size: 16px;
    }
    
    .novel-cover {
        max-width: 80px;
        margin-right: 10px;
    }
    
    .download-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
}
